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
How do I delete a row from a DataTable?
What is sqldatasource?
What is two way data binding android?
Command objects uses, purposes and their methods.
Explain the advantages and disadvantages of using datalist?
What is the use of connection object in ado.net?
What is the full form of ado?
how Sequence to connect and retrieve data from database using dataset?
What are the drawbacks of using ado.net?
Define data adapter?
Why is ADO.NET serialization slower than ADO ?
The answers which posted above is not satisfied my requirement? Can some one post teh exact answer? Thanx
What is the use of adodc?
Does sqlclient and oledb class share the same functionality?
Explain how to create dynamic gridview?