View Single Post
  #2 (permalink)  
Old January 17th, 2005, 11:08 PM
rodmcleay rodmcleay is offline
Friend of Wrox
Points: 2,376, Level: 20
Points: 2,376, Level: 20 Points: 2,376, Level: 20 Points: 2,376, Level: 20
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , Australia.
Posts: 596
Thanks: 1
Thanked 3 Times in 3 Posts
Default

I still don't know why this is happening but I have found an UGLY solution.

Basially I had to pass back both the recordID and the ResourceID mentioned below as a constucted Command Argument (3-6) of the user control Datagrid.
Then split the cammand argument to get the record ID to update the database and the Resource ID to reset the local varaible.

Still very strange as this is not required when not used within a datagrid.

======================================
They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad.
======================================