I want to retrieve a single column from a table in a database and then the value retrieved has to be converted to a string!!
Please help!!!
ritesh2190
0
Newbie Poster
Recommended Answers
Jump to PostWell...
Your need to use OleDb data provider in order to connect to MS Access database.
Steps:
(1) Create OleDbConnection, OleDbCommand, OleDbDataReader
(2) Initialize Connection for e.g.
con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\emp.mdb;_
Persist Security Info=False") and con.open()
(3) Initialize Command object
cmd = New OleDbCommand("select ColumnName from …
All 4 Replies
ritesh2190
0
Newbie Poster
riteshbest
0
Light Poster
jalpa1988
0
Newbie Poster
MARKAND911
-1
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.