I want to read data from db and save data in class of user. But this class has only UserId and UserName. I want to save another information.what should I do. This is my code:
User user = new User();
user.UserId = (int)ddr["id"];
user.UserName = (string)ddr["name"];