Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binidng dataset created in VS.Net to a DataGrid control
Message
From
06/11/2002 16:51:04
 
 
To
06/11/2002 16:17:37
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00719524
Message ID:
00719592
Views:
16
Hi Bonnie,

Thanks for answering. Just one more question... How do I do that?

Aloha,

James

>James,
>
>Sounds like you haven't added the Reference to your DataSet under References in your Project.
>
>~~Bonnie
>
>>Hi All,
>>
>>I'm trying to get a DataGrid to show the result DataSet of a SQL query. I drop the SQLAdapter object onto my page and go through the configuration of the Connection and Adapter and that seems to be okay. I go about generating a DataSet from the Data item on VS.Net's menu and that seems to be okay. I adjust the DataSouce, DataMember and DataKeyField in the DataGrid and the grid assumes the columns from the DataSet... okay, fine. When I try to test run the page I get an error:
>>
>>
D:\My Webs\DataCraft\Schedule\Schedule.aspx.cs(28): The type or
>>namespace name 'MyDataSet' does not exist in the class or
>>namespace 'Schedule.Schedule' (are you missing an assembly reference?)
>>
>>
>>Apparently a line of code:
>>
>>
protected Schedule.MyDataSet myDataSet1;
>>
>>is created in the code-behind section that is causing the error.
>>
>>Does anyone have any idea what else I need to do to get this to work. It seems that what I've done so far should be very trivial in VS.Net.
>>
>>Aloha,
>>
>>James
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform