Pujit Sharma

Pujit Sharma

  • NA
  • 1
  • 2.3k

Retrieving data in matrix form from sql server 2005 database using asp.net and c#.net 3.5

Jun 20 2011 4:17 PM
I am working on a live project in Asp.net with c#. i want to retrive the data from sqlserver 2005 in a 12*15 matrix and after the calculating the sum of rows and colums is required.You can see the matrix form running at http://www.lhsugar.in/Stage3.aspx
for which i have write the code uploaded in matrix.cs file which is working fine with acess. but i have used so many labelin that matrix.i want to transfer the data to sqlserver and also want to reduce the code by using loops or other methods.......i have tried to conect it in the code commented and writen in green lines........
I want your help........
queries are working fine and connection string has been deleted for security reason.