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
What is meant by globalization and localization?
What is 'Common Type System' (CTS) in .NET?
What is the use com component in .net?
Explain the differences between server-side code and client-side code.
Do you know the difference between the stack and the heap?
What is .net3.5?
Do you know what is garbage collector?
When displaying fonts, what is the difference between pixels, points and ems?
explain the states of a window service application?
What are the security policy levels in .Net
What is cyclomatic complexity and why is it important?
What is garbage collection? Explain the difference between garbage collections in .net 4.0 and earlier versions?
Will it go to finally block if there is no exception happened?
I have a problem in installing visual Studio 2008 on PC that have Celeron Processor ? afterAll InstallionFaied . Pls suggest me . Is it possible or not .if Yes then How ?
What is the difference between response.write & response.output.write?