General information
Title:
Can not use ado.net
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only