|
In the DataGrid's ItemDataBound event, first determine if it is the last row, and if so, replace the contents:
e.Row.Cells [0] .Text = n;
e.Row.Cells [1] .Text = '<asp: TextBox ID = "TextBox1" runat = "server" />';
e.Row.Cells [2] .Text = '<asp: TextBox ID = "TextBox2" runat = "server" />';
......... |
|