Beispiel #1
0
 private void showPartner()
 {
     try
     {
         GridView1.DataSource = uc.GetPartner();
         GridView1.DataBind();
     }
     catch (Exception ex)
     {
         string text = ex.Message.ToString();
         ScriptManager.RegisterStartupScript(this, typeof(Page), "Warning", "<script>showpoperror('" + text + "')</script>", false);
     }
 }