Hello Friends..am Mohammed riyash..final year BCA in Jamal
Mohamed College 2009. Trichy.
My doubt is while connecting SQL2005 Built in Database
withing the Visual Studio 2005 Framework.. I am getting the
error.. That " An Error occurred and it may be due to ,
under the default settings of the Server, the connection
cannot be established.." But the code works in MS Access
for me.. Both in VB.Net and C#.Net am getting the same
error.. Any genius please Message me to 9994558822 or mail
me.. riyash.ips@gmail.com
Answer Posted / ashu
look into using system.data.sqlclient;
here u may be using something different or
try this connection tag to connect db
sqlconnection cn= new sqlconnection ("data source=.;initial
catalog=pubs;integrated security=true");
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can you instantiate a struct without using a new operator in c#?
What is dto c#?
Between windows authentication and sql server authentication, which one is trusted and which one is untrusted?
What is difference between code access and role based security?
Can we declare private class in c#?
What is task parallel library?
What are the advantages of generics in c#?
What is difference between string and stringbuilder in c#?
What Is An Interface Class?
What is difference between asp net and c# net?
What is entity framework in c#?
Can scriptable objects have methods?
What is base class in c#?
What is the data encapsulation?
Can I use exceptions in c#?