I am getting a set of row in the dataset. I have to loop through it and show it on the page. I have added asp.net(web) table control on the page.
I am making the coulmns of the table as literal controls in the code behind. I am using vb.net as code behind.
My code is:
The above code does not show looping. That is happening fine.Code:' Generate rows and cells If j = 0 Then r = New TableRow 'Make a column State Dim c1 As TableCell = New TableCell c1.Controls.Add(New LiteralControl("State")) r.Cells.Add(c1) tblBreakOut.Rows.Add(r) End If
I just want to format the cell. I want 'State' to appear in bold. How to do that?




Reply With Quote