I have Grid View which need to assign over 17 Million of records and all the records need to export as CSV file. I am using Oracle as back end. When I am retrieve the data oracle is working fine. Problem starts when I pull the data in to .net . When I load the data into data table when I am getting below error. Error Message:System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at Smart.BOBReportDB.getBOBResult(String strPolicy, String strActive, String strNetworkOffice, String strAgents, String strSSN, String strLOB, String strProduct, String strReportNo, String strClientName, String strOrphanPolicy, String strAuthAgency, String strRoleKey, String strEntity_ID_NO) at Smart.BOBReport.btnSearch_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
17
GridView
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)