Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET VisualStudio
Hi all,
 
Could someone instruct me to a perfect step in filled up data from mbd database into dataset..? I already search into google, msdn and other forum. The result still can't success. I don't know why. I perform a GetDataFromDB from separated class. And also want to view the dataset value into datagridview by filtered it with SQL Query..
 
Can someone help me?
Posted 2-Nov-11 20:20pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Dim dt1 As New DataTable()
    dt1.Clear()
    Dim adp As New OleDb.OleDbDataAdapter("SELECT * FROM DatTime", "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Alram.mdb")
    adp.Fill(dt1)
    adp.Dispose()
    DataGridView1.DataSource = dt1
 
May this COde helps you......Smile | :)
 
In this code DateTime is my Table and Alram.mdb is the mdb file....put this code in button_click event.....
  Permalink  
v2
Comments
Fadhli Azmin at 3-Nov-11 2:56am
   
TQ Nikul..I'll try this
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Try next software to solve your problem out
access database error fix
application must help you
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 6,417
1 Sergey Alexandrovich Kryukov 5,344
2 Maciej Los 3,434
3 Peter Leow 3,259
4 DamithSL 2,490


Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 21 May 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100