By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,269 Members | 1,509 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,269 IT Pros & Developers. It's quick & easy.

ASPX page and System.DATA

P: n/a
HI,
i'm creating an ASPX page without code behind, including
some C# script. Trying to create a Dataset it gives me
the error that probably is missing a "using" or a
reference to a dll. How can I use the using System.Data
in a simple ASPX page?
Thank you
Fabrizio
Nov 15 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Fabrizio wrote:
HI,
i'm creating an ASPX page without code behind, including
some C# script. Trying to create a Dataset it gives me
the error that probably is missing a "using" or a
reference to a dll. How can I use the using System.Data
in a simple ASPX page?
Thank you
Fabrizio


Put this at the top of your page:

<%@ import namespace="System.Data"%>

Or you can fully qualify your variable declarations:

System.Data.DataSet data = new System.Data.DataSet();
Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.