Exemplo n.º 1
0
    protected void btnSearch_Click(object sender, EventArgs e)
    {
        PersonV2 temp = new PersonV2();

        DataSet ds = temp.SearchAPerson(srcFName.Text, srcLName.Text);

        gvPerson.DataSource = ds;
        gvPerson.DataMember = ds.Tables[0].TableName;
        gvPerson.DataBind();
    }