Example #1
0
 private void BindView()
 {
     _um.UserId = Convert.ToInt16(Session["UserId"]);
     _dt        = _obj.Select_UserInfo(_um);
     foreach (DataRow row in _dt.Rows)
     {
         txtUserName.Text = row["UserName"].ToString();
         lblEmailId.Text  = row["EmailId"].ToString();
         hfPas.Value      = row["Password"].ToString();
         ddlSecurityQuestion.SelectedItem.Text = row["Question"].ToString();
         txtAnswer.Text = row["Answer"].ToString();
     }
 }