Hi,
I am having trouble getting a simple table to work within ASP.NET/C#.
I have created a table within the design view of Web Matrix. It contains no data. I have also created a button, that when pressed fills the table with some data.
I have the following code:
HtmlTableRow row = new HtmlTableRow();
HtmlTableCell name_cell = new HtmlTableCell();
name_cell.Controls.Add(new LiteralControl("test"));
row.Cells.Add(name_cell);
Table1.Rows.Add(row);
However, when I attempt to run the file I get a blank page. I have tried following tutorials but I still can't seem to get this to work.
All help is appreciated.
...
Go to the complete details ...