HI...i am not getting the desired output! i mean i am getting only errors.
Firstly have written that code under the MouseUp event of my datagrid .Is it necessary to write only under MouseUp? Why not under Cell Click / CellContent Click?
when i take my mouse over my id which is the first row in the datagrid nothing appears in the text box.
Yeah before that when i write this code :
DataGrid1.Item(DataGrid1.CurrentCell.RowNumber,0)
with ofcourse modification accordingly i get error as to System.........cannot convert to String. So i add
DataGrid1.Item(DataGrid1.CurrentCell.RowNumber,0).ToString
Is it correct ??
If i click on the cell i get another bigggggggg error....
Plz help me out soon ! plzzzz awating your quick response..
C my prob is :
I search the name of the enq. . When the particular say xyz enq.is found it appears in the datagrid below along with its id and other details.
So now when i will click on the ID ( first Column,row in the datagrid) that same id should appear in the TEXTBOX.
Plzzzzzzzz help me out !