Posted on: 11/19/2013 9:42:23 PM | Views : 717

I am using the below code to add text from textboxes to a table in a SqlDataSource. However, every time I click the button all of the data passed in the table is NULL. I am asuming it is code on the client side that needs to be added?

When I add defaultvalue="Test", to the form parameter, "Test" will dispaly in the table. So it can pass default values, but no vlaues inputted by the user.
<script runat="server"> private void InsertShipper (object source, EventArgs e) { SqlDataSource1.Insert(); } </script> <asp:sqldatasource id="SqlDataSource1" runat="server" connectionstring="<%&# ...

Go to the complete details ...