What does connection string consists of ?
Answers were Sorted based on User's Feedback
Answer / sachin gupta
it consist
1. data source(Server)
2. database(Initial Catalog)
3. user name(Uid)
4. password(Pwd)
5. Integrated Security
6. Provider
Is This Answer Correct ? | 13 Yes | 0 No |
Answer / ansu kamar
it consist of
data source
database
user name
password
Is This Answer Correct ? | 11 Yes | 0 No |
Answer / hardit singh
sqlconnection con=new sqlconnection
("server=localhost;database=testdb;uid=sa;pwd=sa;");
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / m.chandran
Connection String for SQL Server consist of:
1.Data Source or server= “.”; or "Localhost" or "127.0.0.1" or "serverNameinstanceName" or "N/W SQL server IP Address" Server instance.
2.Initial Catalog or database = “DATABASE_NAME”;
Either3.Uid=”UserID for SQL server” and Password= “Password for SQL server”;
ORIntegrated Security=”True”; Use Windows security
optional
5.Provider Name =”System.Data.SqlClient”;
Is This Answer Correct ? | 0 Yes | 0 No |
Which method do you invoke on the DataAdapter control to load your generated dataset with data?
5 Answers IBM, Veegyapan Impacts,
What is @@rowcount and with small code snippet explain the usage?
What are the different row versions available in table?
What is ado asp?
How do you update database through dataset?
How to retrieve the user id which is provided while windows authentication?
What is a dataview?
What do you mean by ‘batch updates’?
What is two way data binding android?
Explain the DataAdapter.Update() and DataSetAcceptChanges() methods.
How to Handle the exceptions in Sqlsrver2000
What are the usages of the command object in ado.net?