Sir,
I have an one text box in that text box i am enterning integer value on the basis of interger gridview columns are created. My problem is in that columns i want to create dynamical dropdown with data..
Please help me
Dynamically gridview
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Ghazy11 pointsPosted Jan 16, 2013, 3:46 AM EST
krishna chaturvediRank #2,473 · 563 pointsPosted Jan 16, 2013, 7:06 PM EST
on rowdatabount-
goto columns and create- dropdownlist li=new dropdownlist();
li.id="";
get data into dataset or datatable
li.datasource=tablename;
li.datatextfield="field_name";
li.datavaluefield="field_name"
li.databind();
I hope it helps you .