Exemplo n.º 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         DataTable dt = emof.GetUserInfo();
         txtUsername.Text = dt.Rows[0]["Username"].ToString();
     }
 }
 private void LoadGrid()
 {
     GridView1.DataSource = empf.GetUserInfo();
     GridView1.DataBind();
 }