Hai friends,
I am creating a website , for my institutions , where more than 5000 people were there...so i need to create properly.....
I am using many dynamically created tables in ASP.NET(vb language)..(vis ual studio .net 2003)
I have the following code , i have put sample color for cells or row but that was not attractive...
I need the help of good web designer , who to design the dynamicaly created tables... please just put the attractive font or color or row to the cells...so that it will be Beautiful....I need
it.. if it is useful... I will but the same for remaining dynamically created Tables...please help me...Any attractive table border....Dont worry about connection String or Sql data reader,..if u know any website , send me that also.....[/B]
Coding:-
Davidson...
Thanks in Advance...
I am creating a website , for my institutions , where more than 5000 people were there...so i need to create properly.....
I am using many dynamically created tables in ASP.NET(vb language)..(vis ual studio .net 2003)
I have the following code , i have put sample color for cells or row but that was not attractive...
I need the help of good web designer , who to design the dynamicaly created tables... please just put the attractive font or color or row to the cells...so that it will be Beautiful....I need
it.. if it is useful... I will but the same for remaining dynamically created Tables...please help me...Any attractive table border....Dont worry about connection String or Sql data reader,..if u know any website , send me that also.....[/B]
Coding:-
Code:
Dim row11 As New TableRow Dim celll1 As New TableCell Dim celll2 As New TableCell Dim celll3 As New TableCell Dim celll4 As New TableCell Dim celll5 As New TableCell Dim celll6 As New TableCell celll1.Text ="<font face=Arial size=5><b>" & "No" & "</font>" celll2.Text = "<font face=Arial size=5><b>" & "Name" & "</font>" celll3.Text = "<font face=Arial size=5><b>" & "Department" & "</font>" celll4.Text = "<font face=Arial size=5><b>" & "Role" & "</font>" row11.Cells.Add(celll1) row11.Cells.Add(celll3) row11.Cells.Add(celll4) row11.Cells.Add(celll5) tab.Rows.Add(row11) While rd.Read Dim row2 As New TableRow Dim cell1 As New TableCell Dim cell2 As New TableCell Dim cell3 As New TableCell Dim cell4 As New TableCell Dim cell5 As New TableCell cell1.Text = "<font face=Arial size=4><b>" & op & "<b></font>" op = op + 1 'cell1.BorderStyle = BorderStyle.Inset 'cell1.BorderWidth = Unit.Pixel(1) 'cell1.BackColor = Color.Gold cell2.ColumnSpan = 1 cell2.Text = "<font face=Arial size=4><b>" & rd(1) & "<b></font>" 'cell2.BorderStyle = BorderStyle.Inset 'cell2.BorderWidth = Unit.Pixel(1) cell2.ColumnSpan = 1 ' cell2.BackColor = Color.Gold cell3.Text = "<font face=Arial size=4><b>" & rd(2) & "<b></font>" 'cell2.BorderStyle = BorderStyle.Inset 'cell2.BorderWidth = Unit.Pixel(1) cell2.ColumnSpan = 1 cell4.Text = "<font face=Arial size=4><b>" & rd(3) & "<b></font>" 'cell2.BorderStyle = BorderStyle.Inset 'cell2.BorderWidth = Unit.Pixel(1) cell2.ColumnSpan = 1 row2.Cells.Add(cell1) row2.Cells.Add(cell2) row2.Cells.Add(cell3) row2.Cells.Add(cell4) tab.Rows.Add(row2) End While Panel1.Controls.Add(tab)
Thanks in Advance...
Comment