protected void Collapse_Expand_Click(object sender, System.EventArgs e) { int AccId = int.Parse(hdnAccountId.Value); string CEType = hdnCollapseExpand.Value; if (CEType == "0") { Finance.CollapseAccount(AccId); } else { Finance.ExpandAccount(AccId); } BindDG(); }