|
-
December 24th, 2008, 05:01 PM
#1
how to access microsoft access db with no IDE, console and notepad only
How to access a microsoft access database using c# with a console application and no IDE?
-
December 24th, 2008, 05:33 PM
#2
Re: how to access microsoft access db with no IDE, console and notepad only
You can definately write a console based program that usilizes ADO.NET
Since you didnt ask any specific questions, that's abaout all there is to say....
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
December 24th, 2008, 07:49 PM
#3
Re: how to access microsoft access db with no IDE, console and notepad only
Do you have a code example on how to go about doing so?
-
December 24th, 2008, 08:47 PM
#4
Re: how to access microsoft access db with no IDE, console and notepad only
 Originally Posted by RickyWh
Do you have a code example on how to go about doing so?
There is no magic... here is a SNIPPET.
Code:
DataSet ds = new DataSet();
ds.Fill(....);
DateTable dt = ds.Tables[0];
foreach (DataRow dr in dt.Rows())
{
Console.WriteLine(dr[0]);
}
That should give you enought parts to research.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|