views:

35

answers:

0

Hi there,

I'm working on a shopping cart in ASP.NET 3.5 in Visual Studio 2008, and I've defined the cart object using a typed datatable in my dataset file. This is great as I can setup and edit the table schema visually which is nice.

On the cart page I want to drop a gridview to show the contents of the cart datatable which is held in a session object. Obviously I can set up the schema of the gridview manually to match the columns in the datatable. However, since the schema is already defined, it would be great if I could tell Visual Studio at designtime to just automatically use the same schema. Anyone know if this is possible? Thanks....