Adding datagrid programmatically at a specific pos
Hi everyone,
I have a datagrid question again. I have to insert some datagrids in the page at run time.
I generate my DataSet and bind it to my datagrid and add it as:
datagrid.DataSource = testData.Tables[0];
datagrid.DataBind();
Page.Controls.Add(datagrid);
everything works fine, except the datagrid appears at top of table. Is there a way to have it at the bottom of the page lke after the longest control.
Thanks for any help you might give me.
Sincerely,
Pankaj
|