Hi,

Is there a selected items property or something like that on the datagrid
control.

I need to be able chck if there are multiple rows selected in our datagrid
control in the popup event of a cont3ect menu, and modify items on the menu...

Also, how do I retrieve all the selected rows?

thanks

Philip

Re: Datagrid control question (newbie) by Tim

Tim
Mon Jan 09 09:26:03 CST 2006

There is an entry in the Windows Forms FAQ on this.
http://www.syncfusion.com/faq/windowsforms/search/775.aspx

--
Tim Wilson
.NET Compact Framework MVP

"Philip" <Philip@discussions.microsoft.com> wrote in message
news:3BDC6B07-04DE-427E-B365-A139464622C6@microsoft.com...
> Hi,
>
> Is there a selected items property or something like that on the datagrid
> control.
>
> I need to be able chck if there are multiple rows selected in our datagrid
> control in the popup event of a cont3ect menu, and modify items on the
menu...
>
> Also, how do I retrieve all the selected rows?
>
> thanks
>
> Philip



Re: Datagrid control question (newbie) by Philip

Philip
Mon Jan 09 09:40:03 CST 2006

thanks, that's exactly what I needed

TDH

Philip

"Tim Wilson" wrote:

> There is an entry in the Windows Forms FAQ on this.
> http://www.syncfusion.com/faq/windowsforms/search/775.aspx
>
> --
> Tim Wilson
> ..NET Compact Framework MVP
>
> "Philip" <Philip@discussions.microsoft.com> wrote in message
> news:3BDC6B07-04DE-427E-B365-A139464622C6@microsoft.com...
> > Hi,
> >
> > Is there a selected items property or something like that on the datagrid
> > control.
> >
> > I need to be able chck if there are multiple rows selected in our datagrid
> > control in the popup event of a cont3ect menu, and modify items on the
> menu...
> >
> > Also, how do I retrieve all the selected rows?
> >
> > thanks
> >
> > Philip
>
>
>

Re: Datagrid control question (newbie) by Shailesh

Shailesh
Thu Mar 09 05:14:30 CST 2006

Hi Tim,

I am facing some problems while working with datagird in my windows form.
I want my datagrid as readonly, but on certain condition I want to make it
as updatable. But a a time only one row should be updatable (like web form).
And after editing the data I should be able to save to changes to my database.
How can I achieve this.

Thank in advance.
Shailesh.

"Tim Wilson" wrote:

> There is an entry in the Windows Forms FAQ on this.
> http://www.syncfusion.com/faq/windowsforms/search/775.aspx
>
> --
> Tim Wilson
> ..NET Compact Framework MVP
>
> "Philip" <Philip@discussions.microsoft.com> wrote in message
> news:3BDC6B07-04DE-427E-B365-A139464622C6@microsoft.com...
> > Hi,
> >
> > Is there a selected items property or something like that on the datagrid
> > control.
> >
> > I need to be able chck if there are multiple rows selected in our datagrid
> > control in the popup event of a cont3ect menu, and modify items on the
> menu...
> >
> > Also, how do I retrieve all the selected rows?
> >
> > thanks
> >
> > Philip
>
>
>

Re: Datagrid control question (newbie) by Shailesh

Shailesh
Thu Mar 09 05:24:27 CST 2006

Hi Tim,

I also would like to know what is the best approached to save data in
database via datagrid.

"Tim Wilson" wrote:

> There is an entry in the Windows Forms FAQ on this.
> http://www.syncfusion.com/faq/windowsforms/search/775.aspx
>
> --
> Tim Wilson
> ..NET Compact Framework MVP
>
> "Philip" <Philip@discussions.microsoft.com> wrote in message
> news:3BDC6B07-04DE-427E-B365-A139464622C6@microsoft.com...
> > Hi,
> >
> > Is there a selected items property or something like that on the datagrid
> > control.
> >
> > I need to be able chck if there are multiple rows selected in our datagrid
> > control in the popup event of a cont3ect menu, and modify items on the
> menu...
> >
> > Also, how do I retrieve all the selected rows?
> >
> > thanks
> >
> > Philip
>
>
>