Is it possible to be able to select a single row in a datagrid and use
that selection to open a new form that contains all of the data in
the row? I'm working on a home inventory program in VC++ with a
database backend and I'd like to be able to standardize the forms
used. But I can't get around an effective means to edit a selected
data item. Any ideas?

Thanks!
Alex


Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Re: Using a datagrid to display info from database by Earl

Earl
Fri Jun 18 01:33:05 CDT 2004

Take a look at the CurrencyManager class. Sceppa uses a very similar example
in his book ADO.Net. CM is ridiculously easy to implement, yet my C++ skills
are minimal at best.

"darkhonor" <alex@darkhonor-dot-com.no-spam.invalid> wrote in message
news:40d26fea$1_2@Usenet.com...
> Is it possible to be able to select a single row in a datagrid and use
> that selection to open a new form that contains all of the data in
> the row? I'm working on a home inventory program in VC++ with a
> database backend and I'd like to be able to standardize the forms
> used. But I can't get around an effective means to edit a selected
> data item. Any ideas?
>
> Thanks!
> Alex
>
>
> Posted Via Usenet.com Premium Usenet Newsgroup Services
> ----------------------------------------------------------
> ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
> ----------------------------------------------------------
> http://www.usenet.com