returning Datagrid selection to the caller form

A

ALI-R

Hi All,

My datagrid is now bound and working,

Now I have two other issues:

1)My datagrid is in another form and I need to return the value of a coulmn
which user has selected to the caller form (in a textbox),I know how the get
the value of an specific coulmn in the selected row ,but I don't know how to
return it to the called

2) I don't need all those columns from datagrid ,I need only 2 of it,( I am
using a datatable called "dtTable" for binding to the DataGrid)

Thanks for your help in advance.
 
N

Nick Wilton

Pass the value contained within the item collection of the datagrid, a
custom event argument to a delegate in the calling class.
 
A

ALI-R

Can u give me more explanation please?
Nick Wilton said:
Pass the value contained within the item collection of the datagrid, a
custom event argument to a delegate in the calling class.

how
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top