label field will not update in database
control is :
<asp:Label ID="RiskRatingLabel" runat="server" Text='<%# Bind("RISKST_Description") %>' cssClass="RiskRatingLabel" ForeColor="Black" Font-Bold="true">
jquery updates the label via onchange events of other controls:
$('.RiskRatingLabel').text(RatedRiskText);
change is visible in page on certain events firing
controlparameter used in update statement:
<asp:ControlParameter Name="RiskRatingLabel" ControlID = "FormView1$RiskRatingLabel" PropertyName = "Text" Type="String" />
updatecommand = "update table set field1 = @value1, field2 = @value2, etc,...,
RiskRating = @RiskRatingLabel, etc...
This particular field as well as many other fields are Nullable,
all other fields are being updated except this one...
I can see the label value being updated on the page, yet it doesn't seem to pass through to the update command...
Any ideas?
control is :
<asp:Label ID="RiskRatingLabel" runat="server" Text='<%# Bind("RISKST_Description") %>' cssClass="RiskRatingLabel" ForeColor="Black" Font-Bold="true">
jquery updates the label via onchange events of other controls:
$('.RiskRatingLabel').text(RatedRiskText);
change is visible in page on certain events firing
controlparameter used in update statement:
<asp:ControlParameter Name="RiskRatingLabel" ControlID = "FormView1$RiskRatingLabel" PropertyName = "Text" Type="String" />
updatecommand = "update table set field1 = @value1, field2 = @value2, etc,...,
RiskRating = @RiskRatingLabel, etc...
This particular field as well as many other fields are Nullable,
all other fields are being updated except this one...
I can see the label value being updated on the page, yet it doesn't seem to pass through to the update command...
Any ideas?