Quote:
I m creating a user control which has a textbox (txtCall).
In this project i have also added a form(frmGrid) which shows a grid.
On a certain event of the txtCall i am showing this frmGrid; which shows the grid filled with some rows. Now the user selects a certain row and the form unloads return the value from the grid to txtCall.
my problem is that i want to persist the row number such that the next time when the user calls frmGrid it should position to the previously called row.
for this i have used a property of the usercontrol called rNum, which uses a private long variable to retain the value (lNum). now i want to access the property rNum in frmGrid so i can get and let the value.