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...

How would u connect to database using .NET?

Answer Posted / lalitkumar

sqlconnection con=new
sqlconnection("@server=.sqlexpress;database=master;trusted_connection=yes")

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the namespaces used in ado.net for data access?

1028


What are the different methods available under the sqlcommand class to access the data?

1100


Explian About DataAdapters

1088


differance between ADO vs ADO.Net?

1135


Does entity framework use ado.net?

1029


What is variable view?

924


What does sqldatareader return?

1010


What is ado.net connection?

1022


Data reader read and forward only, how is it possible to get 2 tables of data at a time?

966


What are datareaders?

1027


What is the usage of the dataset object in ado.net?

1006


What is the meaning of executenonquery?

1141


Define connection string?

1133


What does ole stand for in excel?

1202


What is ado net stands for?

1012