DataGrid

S

sardinka

I have an existing grid on my form.
On run time I am generating a new table
and I would like to move that grid into cell
in table.
How do I do this?
DataGrid1.DataSource = Data()
DataGrid1.DataBind()
GridSettings(DataGrid1)
Dim Table As New Table
Me.FindControl("Panel1").Controls.Add(Table)

Dim Row = New TableRow
Dim Cell = New TableCell
Cell.value = ???? '"ytwe4te"
Row.cells.add(Cell)
Table.Rows.Add(Row)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,043
Members
48,769
Latest member
Clifft

Latest Threads

Top