Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I created one XtraGrid and added some values with the help of LookUpEdit and some TextBoxes. I want to modify the values what I have added into grid here. I am using getfocusedrowcellvalue to get values from grid into TextBoxes. How can I get that getfocusedrowcellvalue to LookUpEdit?

example:- txtdrmk.Text = Convert.ToString(gridView3.GetFocusedRowCellValue("remark"));//to get value from selected cell to text box.

cmbper // this is my lookupedit.


What I have tried:

I tried by giving like this
cmbper.text=Convert.ToString(gridView3.GetFocusedRowCellValue("person"));

it is showing that name in lookup edit but when I tried to select different name that dropdown first time showing empty and second time only it is showing names.
Posted
Updated 17-Nov-18 0:40am
v3

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