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 / rajeev ranjan lall

SqlConnection conn = new SqlConnection("Data
Source=ServerName;Initial Calalog=DatabaseName;User
ID=username;Password=password")

Is This Answer Correct ?    15 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use sqldataadapter?

906


What are the rules to implement connection pooling?

1001


What is two way data binding android?

923


What is the difference between Response.Expires and Reponse.ExpiresAbsolute?

977


What does datareader object do?

943


What is the difference between Data adaptor and Data set?

974


how can implement dropdownlist in particular of dataset when try to update?

2719


Describe briefly an ADO.NET Dataset ?

1003


Define Execute Reader?

1016


What are all the different methods under sqlcommand?

920


What is ole in excel?

897


What is an ADO.Net?

929


Explain what is datagrid with an example?

1032


What is the difference between connected and disconnected environment?

1006


What are the pre-requisites for connection pooling?

954