Click here to Skip to main content
15,900,906 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
[Dependency]
        public ITaxItemMasterPayrollDB TaxItemMasterPayrollDB { private get; set; }

foreach (string item in list)
            {

                    TableRow row = new TableRow();
                    for (int j = 0; j < 1; j++) // Loop for Column
                    {
                        TableCell cell = new TableCell();

                        Label lbl = new Label();
                        lbl.Text = item; //hear Database table values how to get it? hear i am 
items are hoard coded. no need to that. 
                        cell.Controls.Add(lbl);
                        row.Cells.Add(cell);
                     }
              }
Posted
Updated 22-Jul-12 21:30pm
v2
Comments
Mohamed Mitwalli 23-Jul-12 4:33am    
Could you clarify more ?
Sandeep Mewara 23-Jul-12 12:39pm    
This is not a well framed question! We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific.
Use the "Improve question" link to edit your question and provide better information.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900