Solved

How to Create database schema of MSAccess database from VB.NET

Posted on 2004-03-31
4
248 Views
Last Modified: 2012-06-21

I have to create a database schema from an Access database in Vb.Net. I need to get the field names, max. length, description, validation rules, required etc for all fields in all tables in the mdb.

Please provide me the solution as needed.

Thanks in advance.

Vinod J. Nair
Trivandrum, India
0
Comment
Question by:vinodjnair
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 8

Accepted Solution

by:
nishikanth earned 40 total points
ID: 10729983
use a dataadapter... link it to the particular MDB table

then use Dataadapter.fillschema(DataTablebName)

This will create a table with the same schema as found in the MDB
0
 

Expert Comment

by:LenBot
ID: 10782493
To write this schema to a file which you can then view in IE use the Dataset.WriteXMLSchema to just get the Schema or Dataset.WriteXML(Filestream, XMLWriteMode.WriteSchema) to get the Data and the Schema.  
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question