I have understood I think so Please have a look on that and let me know,
public class Users{
public int UserID{get;set;}
public string FirstName{get;set;}
public string LastName{get;set;}
}
onlogin click()
{
Users obj=new Users();
int userid=obj.UserID;
}
Just like it ???????????????
Please let me know if i am in correct way or as per your requirement...
I will let you know more....