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
What are the namespaces used in ado.net for data access?
What are the different methods available under the sqlcommand class to access the data?
Explian About DataAdapters
differance between ADO vs ADO.Net?
Does entity framework use ado.net?
What is variable view?
What does sqldatareader return?
What is ado.net connection?
Data reader read and forward only, how is it possible to get 2 tables of data at a time?
What are datareaders?
What is the usage of the dataset object in ado.net?
What is the meaning of executenonquery?
Define connection string?
What does ole stand for in excel?
What is ado net stands for?