Category: VB.Net


asp.Net Mysql Connection

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

I get this error while I’m using “MySQL ODBC 5.1 Driver” to connect asp.net with MySQL instead of “MySQL ODBC 3.51 Driver”

Code below works great with “MySQL ODBC 3.51 Driver”

Dim sConString As String = "DRIVER={MySQL ODBC 3.51 Driver};SERVER=localhost; DATABASE=hasan;USER=root;PASSWORD=toor; OPTION=3;"
Dim oConnection As OdbcConnection = New OdbcConnection(sConString)
Dim sSQL As String = “SELECT * FROM deneme”
Dim oDataAdapter As OdbcDataAdapter = New OdbcDataAdapter(sSQL, oConnection)
Dim oDataSet As DataSet = New DataSet()
oDataAdapter.Fill(oDataSet)
GridView1.DataSource = oDataSet
GridView1.DataBind()

My Tel Pad: Telefon Rehberi Programı

Windows Logo 20×20 Dikkat, bu program .net frameworks 2 gerektirir. Yazıda paylaşılanlar projenin kaynak kodları ve bir de derlenmiş dosyalardır.

Basit bir dijital telefon defteri. Ek olarak kişi notu ekleyebilirsiniz. Proje SQL komutları ile bir Access veritabanı dosyasına DAO 3.6 Nesne Kütüphanesi ile bağlantı kuruyor. Basit fakat çok hızlıdır. Extra özellik olarak ise arama kutusuna view all yazdığınızda tüm kayıtları gösteriyor. Telefonunuzdaki kayıtları yedeklemek için birebir.

EN: Simple phone number storing program. You can add note in addition. The project uses SQL commands to connect Access database file with DAO 3.6 Object Library. It’s simple but fast. You can view all your records by typing view all into the search TextBox.

Programı buradan indirebilirsiniz. Projeyi kullanma sorumluluğu size aittir. Oluşabilecek hatalardan dolayı yazar sorumlu tutulamaz. İndirdiğiniz dosyayı anti-virüs ile taratmanızı tavsiye ederiz.

WordPress.com'dan blog alın. | Tema Motion, volcanic tarafından yapılmıştır.
Follow

Get every new post delivered to your Inbox.