How would u connect to database using .NET?
Answer Posted / ramakrishna
sqlconnection cn =new sqlconnection("uid=sa;pwd=sa;data
source=servername;database=databasename");
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
What are the different methods available under the sqlcommand class to access the data?
What is ambient transaction?
How to identify the updated rows in a dataset?
In how many ways we can retrieve table records count? How to find the count of records in a dataset?
Do you use stored procedure in ado.net?
What is ado in agriculture?
What are dcl commands?
What is ado full form?
What is the difference between a datareader and a dataset?
What are the important features of ado.net 2.0?
Explain the namespaces in which .net has the data functionality class.
What is ole2 format?
Explain what are acid properties?
Explain what are the steps to connect to a database?
What is the difference between Response.Expires and Reponse.ExpiresAbsolute?