Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have one textbox,button, and datalist.as soon as i write in textbox and click on add btn checkbox should be added in datalist.

i tried this way but it did not work
C#
CheckBox chk = new CheckBox();
       dtsites.Controls.Add(chk);


[edit]code block added[/edit]
Posted
Updated 8-Nov-12 22:21pm
v2
Comments
[no name] 9-Nov-12 13:49pm    
you need to do a databind on the dtsites

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900