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.aspxfor 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.