public void CaptCashBind() { string arg = Request.QueryString["arg"].ToString(); string[] arr; if (arg != null) { arr = arg.Split('~'); string Vessel = arr[0].ToString(); string Month = DateTime.Parse(arr[1]).Month.ToString(); string Year = DateTime.Parse(arr[1]).Year.ToString(); DataSet CaptCashDs = BLL_PB_PortageBill.Get_CapCashReport(Month, Year, Vessel); CaptCashGV.DataSource = CaptCashDs.Tables[0]; CaptCashGV.DataBind(); } }