473,320 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How can i connect to the database taking the road from txt

First sorry for my english. It is terrible I want to connect my database but I want to take the road txt file. I took the road from txt and I wrotte label1. But I can't try it.


string kk = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source = \\\\" + label1.Text + "\\db.accdb;Jet OLEDB:Database";
OleDbConnection Cnn = new OleDbConnection(kk.ToString());
Apr 21 '11 #1
0 826

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: programer | last post by:
Can I use Activex (as vb) to connect database when I use vc.net.
2
by: Mathew | last post by:
Can any one pls help me, How to connect SQL Server database thru vb.net. But it gives an error. I tried to connect thru SQLDataAdapter. General network error. Check your network documentation. ...
3
by: venkatesh | last post by:
hai to everybody I need to know how to connect database ms access or oracle with c or c++? please if u know tell I am interested in doing project with c thanks in advance....
1
by: arun_kumar112 | last post by:
HI , I am new member of this comminity, let me introduce first, i am MCA final year student, doing a project on network system, and database . will you tell me how can we connect database (...
1
by: nagendra prasad | last post by:
how to connect database for visualbasic using ADO
5
by: raghu4uon | last post by:
hi Can anyone give source code to connect oracle 8 database to my java project????? i'm using jdk1.5, tomcat 5.5.9 web server, oracle 8..... i have created the tables but i dont know how to...
3
by: Raymond Chiu | last post by:
Dear All, I have posted my question as below. But no answers, hope it can found here. ...
3
by: iedayah88 | last post by:
can sombody help me..after i create database in oracle.. what i must do to connect database and sql.. it's i must setup odbc first? is yes, how to setup odbc in localhost?
2
by: chetan ghadiya | last post by:
how to connect database in vb ?
1
by: rishiverma | last post by:
how to connect database create in sql server ,to my web site upload on domain.
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.