コード例 #1
0
 protected void ddl_SelectedIndexChanged(object sender, EventArgs e)
 {
     try
     {
         DataSet ds = EmpresasDB.EmpresaUsuarioPerfil(Convert.ToInt32(ddl.SelectedValue));
         rptCard.DataSource = ds;
         rptCard.DataBind();
     }
     catch (Exception)
     {
         throw;
     }
 }
コード例 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     try
     {
         DataSet ds = EmpresasDB.EmpresaUsuarioPerfil(1);
         rpt.DataSource = ds;
         rpt.DataBind();
     }
     catch (Exception)
     {
         throw;
     }
 }