This is a migrated thread and some comments may be shown as answers.

Panel binding using a Dataset

0 Answers 55 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Nataraj
Top achievements
Rank 1
Nataraj asked on 09 Jul 2008, 10:45 AM
Hi,

I have an stored proc displaying the result as below:
Group        SubGroup    Details
--------      ----------     -------
Matches     Dupl             Dupli
Matches     Org              Rec
Matches     Org              Em
Reports      Pro              Merchant
Reports      Pro              Over
Reports      Pro              Life
Reports      Pro              Emp
Reports      Proced         Proh
Reports      Proced         Prohib

I have captured the result into a dataset and tried to bind this dataset to my panel like below:

reportCataloguePanel.DataSource = dataset1;

reportCataloguePanel.DataFieldID =

"Group";

reportCataloguePanel.DataFieldParentID =

"SubGroup";

reportCataloguePanel.DataBind();

A runtime error was thrown showing "These columns don't currently have unique values."


How can i bind this dataset result to my panel?

thanks,
Nataraj

No answers yet. Maybe you can help?

Tags
PanelBar
Asked by
Nataraj
Top achievements
Rank 1
Share this question
or