repeater to dataTable
I want to fill datatable with values from repeater. any ideas?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Gomathi GeethaPosted Feb 17, 2009, 7:21 AM
hi Sarath,
Thanks for ur reply.this code is to bind a datagrid. but i want to get the values from repeater and add it to a datatable.
sarath phaniPosted Feb 17, 2009, 7:05 AM
try this
DataGrid1.AutoGenerateColumns = true;
DataGrid1.DataSource = values;
DataGrid1.DataBind();