protected void btnProcExecAction_Click(object sender, EventArgs e) { getSconn(); _bll = new ToolBll(Session["sConn"].ToString()); DataSet ds; try { labProcExec.Text = ""; if (hidProcExec.Value.Trim().Equals("")) { ds = _bll.execProc(getAbsoluteTableName(hidSchemasName.Value, hidTablesName.Value)); } else { ds = _bll.execProc(getAbsoluteTableName(hidSchemasName.Value, hidTablesName.Value), hidProcExec.Value.Split(','), txtProcExec.Text); } if (ds != null) { panProcExecData.Visible = true; gdProcedureData.DataSource = ds; gdProcedureData.DataBind(); } } catch (Exception er) { panProcExecData.Visible = false; labProcExec.Text = er.Message; } }