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
how can one use hcl and c sharp together?
What is protected internal modifier in C#?
Why generics are used?
What are namespaces, and how they are used?
How do I create a new form in c#?
How to find methods of a assembly file (not using ILDASM)?
Why do we need static in c#?
What exactly happens when we debug and build the program?
How many types of methods are there in c#?
What is distribute by in hive?
Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?
What does exclamation mark mean in access query?
What is the difference between dynamic and var in c#?
How does return work in c#?
What is expression tree in c#?