Converting DataView to DataTable in C#

Consider following code for converting DataView to DataTable in C# DataTable dt = dv.ToTable();// dv = Data View Consider following example public DataTable GetFilterData(DataTable dt) { if (dt != null) { DataView dataView = dt.DefaultView; dataView.RowFilter = filterCondition; //some condition like”: ColumnName like ‘%this%’; dt = dataView.ToTable(); } return dt; }

Export to pdf ( Create pdf on fly ) using ASP.net and C#

Consider following code for creating pdf document on fly using ASP.net in C#. using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.IO; using CrystalDecisions.CrystalReports.Engine; using CrystalDecisions.Shared; namespace WebApplication1 { public partial class WebForm1 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) […]

ERDBManager

1. Introduction: Welcome to ER DBManager.NET®. This documentation helps you understand ER DBManager.NET® and how to integrate the library into your applications. DBManager is a library that is used to perform database(MS SQL, Oracle, Oledb, Odbc) operation (Connecting DB, Executing Command, Reading Data, Reading Output parameter, Executing DataSet etc) more easily in Microsoft™ .NET Platform. […]

The maximum report processing jobs limit configured by your system administrator has been reached

This is very common error (“maximum report processing jobs limit”) when crystal report printing job limit over We can solve this problem using two way: 1. Need to write following code on CrystalReportViewer Unload event a. Perform reportDocument Deispose b.Perform reportDocument Clone c.Perform reportDocument Close d. Perform CrystalReportViewer Dispose Code ============ //Declare ReportDocument as a […]