public ActionResult GetCashPay(FormCollection fc) { Cash ch = new Cash(); String BpoNum = fc["txtvocno"]; DataTable dt = ch.GetBpos(BpoNum, Convert.ToInt32(Session["divid"])); foreach (DataColumn col in dt.Columns) { col.ReadOnly = false; } Session["bpopayment"] = dt; return(View("bpopay", dt)); }