Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the use of xmlserializer?

868


Is xml tags are case sensitive?

892


Why do we need to call CG.SupressFinalize?

992


Explain the difference between abstract class and interface in .net?

910


Which operator cannot be overloaded in c sharp?

876


What is the difference between Object and class adapters?

954


How to transpose multi-dimensional array?

1086


Can a child class call the constructor of a base class?

1049


What is the use of nullable types in c#?

998


What is unrecognized escape sequence in c#?

936


What is a ienumerator?

928


What are class fields?

956


Can a struct have a default constructor (a constructor without parameters) or a destructor in c#?

984


Can you instantiate a struct without using a new operator in c#?

952


How many types of constructors are there?

893