Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: System.Data namespace


Message #1 by "amod" <amod.kamble@r...> on Thu, 21 Sep 2000 00:08:00 +0100

I have written a Data access code in C# and was compiling it.

The following are the errors which occur.



error CS0234

The type or namespace name 'Data' doesnt exist in the class or namespace

'System'





I have been using both System.Data and System.Data.SQL namespaces in the

code.



I would appreciate help if someone else have come across this error and

its solution.



Amod

Message #2 by "Fredrik Normen" <fredrik.normen@s...> on Thu, 21 Sep 2000 12:54:26 +0100
When you compile you have to add all the references.

Like this:



csc .... /r:System.Data.dll myfile.cs



Check if you have add all of your references



/Fredrik Normen





Message #3 by Amod Kamble <Amod.Kamble@r...> on Thu, 21 Sep 2000 09:48:51 -0700
thanks Fredrik , i got it working..



Cheers



*****************************

amod kamble  |  rare medium  



4081  Redwood Avenue |  L A  |  C A  90066 

310 - 302 - 7240   x  520  voice | 302 - 7245  fax

amodk@r...  





-----Original Message-----

From: Fredrik Normen [mailto:fredrik.normen@s...]

Sent: Thursday, September 21, 2000 4:54 AM

To: ASP+

Subject: [aspx] Re: System.Data namespace





When you compile you have to add all the references.

Like this:



csc .... /r:System.Data.dll myfile.cs



Check if you have add all of your references



/Fredrik Normen







---


  Return to Index