Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can not use ado.net
Message
From
16/08/2001 06:25:47
Shailendra Kumar
Soccer International Limited
Jalandhar, India
 
 
To
All
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Can not use ado.net
Miscellaneous
Thread ID:
00544580
Message ID:
00544580
Views:
48
Hi dude...


I am facing problrm while using ado.net it says:
--------------------------------------------------------
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30389: 'System.Data.SqlClient.SQL' is Private, and is not accessible in this context.

Source Error:



Line 18: MyConnection = New SqlConnection("server=(local);database=test;Trusted_Connection=yes")
Line 19: MyConnection.Open()
Line 20: sql="select * from employee"
Line 21: cmd=new SqlCommand(sql,MyConnection)
Line 22: cmd.execute(rd)
-------------------------------------------------------


Also my web server does not shows the appropiate erros on remote machines, though I have changed the config.web file ....


waiting ....

shail
Next
Reply
Map
View

Click here to load this message in the networking platform