how to connect database connectivity in dotNET? if suppose
SQL server?and also MS access?
Answer Posted / manish
in the sql server
using system.data.sqlclient
sqlconnection con=new
sqlconnection("server=;uid=;pwd=;database=;");
con.open();
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
What is the concept of inheritance and how it works in .net?
Explain the difference between the stack and the heap?
If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
Compare & contrast rich client (smart clients or windows-based) & browser-based web application
Explain the process of serialization in .NET?
What is the reason of occurring overflow-underflow arithmetic exception error, it shows error message when we run our program by adding control?
What is the advantage of .net core?
What is a strong name in .net?
Do you know what are three common acronyms used in .net, and what do they stand for?
What is common language specification (cls)?
Do you know what is garbage collector?
What tags do you need to add within the asp:datagrid tags to bind columns manually.
What tools can I use to develop .net applications?
Which Namespace is used to to achieve MultiThreading in .NET?
What is the use com component in .net?