Dynamically load controls in datagrid
i have got a question for you when i click a button dynamically textbox and combobox should be added to the datagrid i should have a textbox in one col and a comobobox in another col and when i click the button a row should be added dynamically with a textbox and a combobox
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Lalit MRank #1,186 · 1.5K reputationPosted Jan 28, 2010, 8:49 PM EST
Dynamically add Textbox, Radio, Button in html Form using JavaScript function add(type) { //Create an input type dynamically. var element = document.createElement("input"); //Assign different attributes to the element. element.setAttribute("type", type); element.setAttribute("value", type); element.setAttribute("name", type); var foo = document.getElementById("fooBar"); //Append the element in page (in span). foo.appendChild(element); } Dynamically add element in form. Select the element and hit Add to add it in form. Button Textbox Radiopaul daniel189 reputationPosted Feb 1, 2010, 8:46 PM EST
http://codeasp.net/articles/adding-dynamic-rows-in-gridview-with-textboxes/67/asp-net