You need
Dim cell as DataGridCell = DataGrid1.CurrentCell
DataGrid1.Item(cell.RowNumber, cell.ColumnNumber).ToString()
--
Alex Feinman
---
Visit
http://www.opennetcf.org
"Flying Whiz" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I am trying to catch value from datagrid cell.
>
> I am trying to pass the value into a variable as below.
>
> VarGridVal = DataGrid1.Text
>
> MsgBox(VarGridVal)
>
> but in the message box the value I am getting is "DataGrid1" instead
> of the cell value.
>
> How can I get the value ?
>
> Thanks
> Whiz