Important alert: (current site time 7/15/2013 9:13:44 AM EDT)
 

winzip icon

Database Explorer

Email
Submitted on: 8/1/2004 1:07:14 PM
By: Divyen Patel  
Level: Beginner
User Rating: By 20 Users
Compatibility: VB.NET
Views: 27063
(About the author)
 
     This example shows how you can use OleDbSchemaGuid in ADO.NET to fetch Schema information from database. It also shows, how you can use DataGrid control, to fill records from dataset, and also how to update records from DataGrid to database using OleDbDataAdapter and OleDbCommandBuilder. In this example List box is filled with Table names of a Specified Database, and by clicking on the table name, you can fill records in the DataGrid. The wonder of the ADO.NET is that it is total disconnected scenario, and this helps a lot in Web Applications.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 3 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

8/16/2004 2:11:07 PMNishidh Patel

Nice work, Good code for the database developers...
(If this comment was disrespectful, please report it.)

 
8/22/2004 11:44:37 AMtreesprite

Great start...next step to add SQL Server databases.
(If this comment was disrespectful, please report it.)

 
9/16/2004 2:16:54 AM

Good Work Very help Full
(If this comment was disrespectful, please report it.)

 
9/14/2005 8:09:23 AM

nice piece of work
(If this comment was disrespectful, please report it.)

 
7/26/2006 10:38:57 PMrvproductions

Awesome
(If this comment was disrespectful, please report it.)

 
6/16/2007 9:59:19 PM

I have some troubles with this grid. When I click a cell in HireDate and then click another cell, its value change from 01/06/2007 (01 June 2007) to 06/01/2007 (06 Jan 2007).
Please tell me Why?????
(If this comment was disrespectful, please report it.)

 
9/27/2008 9:30:05 AMJLTLC

I am new to Dot-Net and am using VB.Net 2008 Pro and this project had to be upgraded to 2008. The filltablenames routine is blowing up please help.
(If this comment was disrespectful, please report it.)

 
3/3/2010 6:32:40 AMnhill

Good code
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.