Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Using TreeView, DataGridView, and WebBrowser
Author:
Tilden Constable
Submitted:
1/15/2009
Version:
VB 2008
Compatibility:
VB 2008
Category:
Databases
Downloads:
13082
The purpose of this sample application is to demonstrate the utilization of various controls in VB.NET that will allow you to access, view and display records in an MS Access database. I have tried to demonstrate, through usage of various procedures, functions and events how to: (1) Initializing a new Connection to an Access Database using the OpenFileDialog to search for the particular database, (2) Display records in a TreeView Control, (3) By selecting and expanding any one of the TreeView Nodes, you will be able to view selected items in a recordset in a DataGridView Control utilizing a DataTable as the DataSource, (4) Create, and populate selected items in an HTML report, (5) Display the HTML report(s) in a WebBrowser Control, (6) Display the HTML reports in your default browser. References: Add a reference to Microsoft ActiveX Data Objects 2.8 Library in order to access the MS Access Database. NOTE: If you using a version of VB.NET older than VB2008, you must first create a new project and than import all the files in this sample project before running it.
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement