how do i write to a ms access database

ASP.NET VB.NET

how do i write to a ms access database


kainodeh 02-22-2007, 5:02 PM
hi all
I have this code to read from my access database 
 Dim cars As Data.DataView = CType(AccessDataSource2.Select(DataSourceSelectArguments.Empty), Data.DataView)


what is the code to add a row and with data

please help

Re: how do i write to a ms access database


DeveloperBarn 05-28-2008, 2:15 PM
I would look into using System.Data.OleDb and the classes within, particularly OleDbCommand:

http://msdn.microsoft.com/en-us/library/system.data.oledb(VS.71).aspx
Jason
Founder, DeveloperBarn Forums
http://www.developerbarn.com

No longer a WebHost4Life Customer
webhost4life.com

Powered by Community Server, by Telligent Systems