コード例 #1
0
    protected void btnSIDView_Click(object sender, EventArgs e)
    {
        SqlDataAdapter adp = new SqlDataAdapter("select SID as Membership,IMID,Course,Part,Session from Project where Status='ProformaBsubmitted' and (SynopsisStatus='Submitted' or SynopsisStatus='Pending')  and EntryStatus='Running' and SID='" + txtSID.Text.ToString() + "'", con);
        DataTable      dt  = new DataTable();

        adp.Fill(dt);
        GridShow.DataSource = dt;
        GridShow.DataBind();
        GridShow.Focus();
    }
コード例 #2
0
 protected void txtdevYearSeason_TextChanged(object sender, EventArgs e)
 {
     lblSessionHiddend.Text = ddlsession.SelectedValue.ToString() + "" + txtSession.Text.ToString();
     bindgrid();
     GridShow.Focus();
 }