Archive for November 4th, 2009

GridView and Updating A Row Manually


A couple of days ago I mentioned a project that I’ve been working on that is a bit out of the ordinary as far as gridviews go.  One of the issues I’ve had is that the edit template doesn’t map to the view template very well.

OK, it doesn’t map at all.

You see, the data that gets stored back to the database during the edit could go to two of four different tables.  But the view is generated from a stored procedure that gathers the information from those tables and makes the result look like it came from one table.

So how do you have the gridview update the database under these conditions?

Read the rest of this entry »