private void _showUpdate(int id) { emergency objEmergency1 = new emergency(); pnl_update.Visible = true; rpt_update.DataSource = objEmergency1.getDetails(id); rpt_update.DataBind(); }
protected void Page_Load(object sender, EventArgs e) { rpt_detail.DataSource = objEmergency.getDetails(); rpt_detail.DataBind(); }
private void _subRebind() { rpt_emergency.DataSource = objEmergency.getDetails(); rpt_emergency.DataBind(); pnl_update.Visible = false; }