i am working on a project that will allow me submit multiple selected value from checklistBox control to sql 2008 database.
i want users to fill the textBox,pick values from the dropdown and check boxes.... after hitting the button... it shoud submit into the database.
Thanks in advance
see below the html structure:
PolicyNumber |
|
Business |
onselectedindexchanged="DropDownList1_SelectedIndexChanged"> Select Item Private Commercial |
Type |
|
Product |
|
|
DataSourceID="SqlDataSource1" DataTextField="Product" DataValueField="Product" RepeatColumns="2" RepeatDirection="Horizontal" Width="450px"> ConnectionString="<%$ ConnectionStrings:MotorConnectionString %>" SelectCommand="SELECT * FROM [Product]"> |
|
Font-Size="Large" Height="45px" Width="150px" /> |
Vinodh NarayananPosted Dec 30, 2014, 11:09 AM
default.aspx
default.aspx.cs