Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can not use ado.net
Message
De
16/08/2001 06:25:47
Shailendra Kumar
Soccer International Limited
Jalandhar, Inde
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Can not use ado.net
Divers
Thread ID:
00544580
Message ID:
00544580
Vues:
46
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform