Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have an asp.net Atlas enabled 2.0 website that has a gridview control in it to bind results from a query I make.

The problem is that I'm tyring to bind it to a DataSet that has multiple DataTables with results in it. Only the first DataTable is bound so that:

 

myGridView.DataSource = myDataSet;
myGridView.DataBind();

 

is the functional equivalent of

 

myGridView.DataSource = myDataSet.Tables[0];
myGridView.DataBind();

 

Is there a way to bind all the tables? Or should I be looking at a better control for this.

I can dynamically add a new gridView for each Table but I want something a little more visually pleasing. Each of the Tables has different columns so there is only so much I can do I suppose.

Wanna-Be C# Superstar
Posted
Because they the tables have different fields, you will most likely need to have a DGV for each table.

~Nate�

___________________________________________

Please use the [vb]/[cs] tags on posted code.

Please post solutions you find somewhere else.

Follow me on Twitter here.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...