• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

VB.NET dataadapter: On .Update(ds) all SP params are "default", but dataset reflects correctly

WannaFly

Platinum Member
I've been working on figuring this one out for a while, Figured i'd see if anyone here knows..

I dragged and dropped my connection and had it create stored procedures for all my SELECT, INSERT, UPDATE, DELETE commands for the dataadapter. I've verified the changes do exisit in the dataset prior to running .update(ds), but it fails and says:
Procedure 'IndicatorsUpdateCommand' expects parameter '@ClientID', which was not
supplied.

This is caused because in profiler i see the command being run is:
exec [IndicatorsUpdateCommand] @ClientID = default, @casenum = default, @date = default, @QID = default, @Answer = 1, @Original_id = default, @Original_Answer = default, @Original_ClientID = default, @Original_QID = default, @Original_casenum = default, @Original_date = default, @id = default

Everything is default except what changed (@answer), but it should have the values that are in the dataset.

Anyone know why it's doing this and/or howto fix it?
Thanks.
 
Back
Top