how to connect database connectivity in dotNET? if suppose
SQL server?and also MS access?
Answer Posted / varun
in the sql server
using system.data.sqlclient
sqlconnection con=new
sqlconnection("server=;uid=;pwd=;database=;");
con.open();
Ms-Access:
Namespace->using system.data.oledb;
oledbconnection con=new oledb connection
("Servername="";uid="";pwd="";database="")
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Explain dataset.acceptchanges and dataadapter.update methods in .net?
Explain .NET architecture?
Explain the differences between server-side code and client-side code.
Please explain what is a delegate?
Difference between class and interface in .net?
Is .net a language?
Is Driver Script any how related to AOM?
Compare client server application with n-tier application
Explain the difference between static page and dynamic page?
What are the different types of Classes in .NET?
Can I write my own .net host?
How can I get at the win32 api from a .net program?
What is RCW (Run time Callable Wrappers)?
Explain how garbage collection works?
What is shared and repeatable inheritance?