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 is data adapter in ado.net with example?
What is ado control?
What is ado.net code?
Explian About DataAdapters
What are the namespaces used in ado.net for data access?
What is ole db and odbc?
What are the advantages of oledb compared with other classes?
What is ado or jdbc?
What is the difference between a datareader and a dataset?
What is execute scalar in ado.net?
What are the classes in System.Data.Common Namespace?
What are the steps you will take to improve performance? Will you use dataset or datareader?
Compare Data Reader & Dataset in ado.net?
What are all the different methods under sqlcommand?
oledbdataadpter with ms access in c#.net giving exception System.Data.OleDb.OleDbException while writing adapter.update(dataset,"tabname"); how to update the database from dataset?