DataGrid Advice

  • Thread starter Thread starter Miro
  • Start date Start date
M

Miro

I have created an app that uses an Access Database ( or is trying to ).

The problem is, is that I do not know the Access Database name ( mdb file
name ) until the program is running.

Im starting to realize that creating something like a datagrid where
everything can be clicked thru and properties has to be done manually and
all thru code.

My book gives examples on how to do everything with the VB objects, and im
finding it tuff to slowely get the "By Code" working. - And this is
only my first form. I am dreading doing this thru every form.

Thanks

Miro
 
Miro said:
I have created an app that uses an Access Database ( or is trying to ).

The problem is, is that I do not know the Access Database name ( mdb file
name ) until the program is running.

Im starting to realize that creating something like a datagrid where
everything can be clicked thru and properties has to be done manually and
all thru code.
<snip>

If the databases you must open have the same structure, I suppose you
can use one at design time just to create the UI -- including grid
cols and the like -- and assign the run-time Dataset associated with
the real db to the BindingSource's DataSource that VB automagically
created for you (and that drives the Grid). Never tried, though.

HTH.

Regards,

Branco.
 
just keep on using Access; it is faster and easier; .NET doesn't run
on _ANY_ desktops so don't bother
 
Thank you Cor,

I will try your meathod here and also Branco's and see which one works out
best for me in the end.

Miro
 
I found the answer to what I was looking for.
Search this newsgroup for a title

Re: 2005 Express OleDbConnection - Solved

Very simple really.
Thanks for your help.

Miro
 
Back
Top