Hello,
i m looking for the database connectivity in asp.net with sql server 2005 or ms access 2007?
please anybody solve my query.
thanks in advance, looking for your response.
Configuration: Windows XP
Microsoft visual studio 2008,C#.
Make calls from your PC ShowMake calls from your PC
Telephone modem CTS
Voice Mode
Data Mode
Call from PC to PC
Call with an ADSL modem from PC to phone.
Do not mix PSTN and ADSL!
With a modem 33 or 56Kb / s, to connect, the modem dials the phone...
Connect a database (MDB) to excel Show[VBA] Connecting a database (MDB) to excel
Below is a tips of how to connect an Access database (MDB) in an application excel
Add reference
Microsoft DAO object librairy X.X
In a general module (eg Module1) paste the code below...
LAN, Internet connection: choosing your router ShowLAN,Internet connection:Choosing your Router
Intro
Case 1
Case 2
Case 3
Options and features to consider
Standards required for a WiFi router
New Standards
Intro
A router comes in the shape of a box connected to your computer....
Download I-Newsletter.NET Showi-Newsletter. NET is simply a practical means to manage your mailing lists and publish personalized newsletter by e-mail . i-Newsletter. NET was created from Microsoft Windows ASP.NET framework.
i-Newsletter.NET can be installed in your own server,...
Download DBF to PDB (Palm DataBase) Converter ShowDescription
The application is designed by WhiteTown Software. DBF to PDB (Palm DataBase) Converter is a tool that allows you to convert your dbf files to pdb format easily. Simple and easy to use, the application has been awarded from various...
Sharing an Internet connection ShowAdvantages
If you have a local area network (two or more computers connected in a network) with one computer connected to the Internet (via a modem, using a cable, etc.), it may be useful to make the connection accessible to the other computers on...
RJ11 connector ShowRJ11 Plug
The RJ11 connector (RJ for Registered Jack) is the most commonly used connector for telephone lines. It is similar to the RJ45 connector, but smaller. When found on a computer, the RJ11 is generally meant for a modem.
BNC connector ShowBNC connector
BNC connectors (Bayonet-Neill-Concelman or British Naval Connector) are connectors for coaxial cables. The BNC family is made up of the following elements:
BNC cable connector: is either soldered or crimped to the end of the cable....
Write this code to create Sql connection.
SqlConnection con = new SqlConnection("Server=You server name or comp name;Database=Yourdatabasename;Trusted_Connectopn=True");
SqlCommand cmd = new SqlCommand("Write your sql query here eg. select * from Table name");
con.Open();
DataSet ds = new DataSet(cmd,con);
SqlDataAdapter da = new SqlDataAdapter();
da.Fill(ds);
con.Close();
in a aspx.cs file i write connection string like
System.Data.SqlClient;
SqlConnection conn = new SqlConnection("Data Source=SYS014\ELLE;Initial Catalog=bank;User ID=sa;password=root;Integrated Security=True");
but it is showing error at SYS014\ELLE message is unrecorgnized escape sequence. how to rectify that and how can i connect to database
I am srikamal doing my project work,ihave one problem
my project doing in asp.net
but idont know how to connect the database in asp.net useing vb.
please give the answer my question, urgently.
Write this code to create Sql connection.
SqlConnection con = new SqlConnection("Server=You server name or comp name;Database=Yourdatabasename;Trusted_Connectopn=True");
SqlCommand cmd = new SqlCommand("Write your sql query here eg. select * from Table name");
con.Open();
DataSet ds = new DataSet(cmd,con);
SqlDataAdapter da = new SqlDataAdapter();
da.Fill(ds);
con.Close();
If you want to make connectivity with sql server on the local system.just define the connection string
sqlconnection con=new sqlconnection("server=. database="specify the datbase in your system",uid=sa;pwd=sa;");
R/s sir
hi
I have used the coonection string format what u had given in ur example but it not able to connect the system.I am usin gVS 2008 n sql server 2005. please reply on my mail nigam_tarun2003@yahoo.co.in. or tarunnigam.tarunnigam@gmail.com. I m in need very much plzzzzzzzzzzzzzzzzzzzzzzzzzzzzz help me.