views:

164

answers:

2

I used to be able to double-click the work area of a dataset to create and load a code-behind page for it, where i could define some custom code to modify or extend the functionality.

I don't know if it's because I'm using VS 2008, but now that doesn't happen, and the only file "beneath" the xsd file is the xss code which is auto-generated and I don't want to touch.

how do I create that associated code-behind file for the dataset?

thanks!

A: 

Right click in the DataSet's design surface and select 'View Code' from the menu that appears.

Jay Riggs
I tried that, it brings up a large xml file, not the .cs codebehind file
Josh
A: 

it turns out this is only available if the dataset is in a separate class library.

lame.

Josh