Author: codeaholic | Posted on: 7/2/2010 2:07:41 PM | Views : 827

 I have an SQL Datasource.  I'm manually setting values by setting their defaults and then calling the update command.  I could have sworn I have done this before without problems but it doesn't seem  to be working.  NOt sure why???
Protected Sub ChkOutButton_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ChkOutButton.Click 'ChkoutButton Checked OrderDetailDS.UpdateParameters.Item("Subtotal").DefaultValue = Lblsubtotal.Text.ToString OrderDetailDS.UpdateParameters.Item("Subsize").DefaultValue = Lblsubsize.Text.ToString OrderDetailDS.UpdateParameters.Item("Subweight").DefaultValue = Lblsubweight.Text.ToString OrderDetailDS.UpdateParameters.Item("SubShip").DefaultValue = Lblsubship.Text.ToString OrderDetailDS.UpdateParameters.Item("SubHand").DefaultValue = Lblsubhand.Text. ...

Go to the complete details ...