English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i really really need help in regards of using datagrids in vb.net where the database is in MS Access....i have tried finding from many links and using google search, yahoo seach etc. and i still can't get any thing that'll help me...i need some1 who is willing to tutor me in this matter!!this is a very URGENT matter!!
also, please refer to my questions entitled: Search Problem, and, i need to know..urgent.

2006-07-31 16:34:09 · 2 answers · asked by braich_gal 3 in Computers & Internet Programming & Design

i have even used planetsourcecode, dev etc.

2006-07-31 16:50:01 · update #1

http://answers.yahoo.com/question/index;_ylt=ApOmzLOwqDlgCmVzEOFId7vsy6IX?qid=20060731165408AA4KwuL

also, please refer this question!!

2006-08-01 03:01:11 · update #2

2 answers

No problem...

http://visualbasic.about.com/od/learnvbnet/ss/ecvbsbs2101_7.htm

http://www.learnasp.com/freebook/learn/dbopen.aspx

Essentially try something like this:

dim DBVar as new
OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=\somepath\mydb.mdb;User Id=admin;Password=;" )

Dim DataAdp As OleDbDataAdapter = New OleDbDataAdapter
("GetInvoices", DBvar)
DataAdp.SelectCommand.CommandType =
CommandType.StoredProcedure
If Not IsDBNull(DataAdp) Then


Try
DataAdp.Fill(ds, "Invoices")
Catch ex As Exception
MsgBox(ex.Message,
MsgBoxStyle.Critical, "Error:")
End Try
GrdInvoices.DataSource = dataset.Tables
("Invoices")
End If


ts.MappingName = dataset.Tables
("Invoices").TableName

2006-08-01 09:14:02 · answer #1 · answered by Just David 5 · 0 0

check out http://www.pscode.com . Great site. I don't do .NET but I use that site all the time.

2006-07-31 16:44:31 · answer #2 · answered by Richard H 7 · 0 0

fedest.com, questions and answers