Author: tugberk_ugurlu_ | Posted on: 11/23/2009 12:29:46 PM | Views : 222

Hi there. I have a page linked http://www.tugberkugurlu.com/datatrial/mdbdatagetVB.aspx and I have the below VB code for this page to get the data to a mdb database;
Imports System.Web.Configuration Imports System.Data.OleDb Imports System.Data Partial Class DataTrial_mdbdatagetVB Inherits System.Web.UI.Page Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim ConnString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|Contacts.mdb" 'Veya bu yol kullan?labailir (Local için tabi) '=C:\Users\Toshiba\Documents\Tu?bErK_U?UrLU\My Website\tugberkugurlu\www\www\App_Data\Contacts.mdb Dim SqlString As String = "Insert Into Contacts (FirstName, LastName) Values (?,?)" Using conn As New OleDbConnection(ConnSt ...

Go to the complete details ...