Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to get a cell value particular focused row and previous row ?? I tried this code,

C#
object obj1 = gridView1.GetRowCellValue(gridView1.FocusedRowHandle - 1, gridView1.Columns["Each"]);
string str1= obj1.ToString();
textEdit1.Text = str1;


textEdit1.Text = gridView1.SetRowCellValue(gridView1.FocusedRowHandle, gridView1.Columns["Each"]);


but this code works for button but not work here in the RepositoryItemGridLookupEdit_ValueChanged Event or not work in the CustomUnboundDataEvent.

I want to get a cell value of gridview in Edit Value Change Event and then set in textEdit ? Help me.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900