Repeater to dataTable
I want to fill datatable with values from repeater. any ideas?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
sarath phani13 reputationPosted Feb 17, 2009, 2:05 AM EST
try this
DataGrid1.AutoGenerateColumns = true;
DataGrid1.DataSource = values;
DataGrid1.DataBind();
Gomathi Geetha6 reputationPosted Feb 17, 2009, 2:21 AM EST
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.