<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : How to impove the performance in C#.NET?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : How to impove the performance in C#.NET?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 12:28:10 +0000</pubDate>
  <lastBuildDate>Sat, 22 Sep 2012 04:10:54 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=20147</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[How to impove the performance in C#.NET? :  I just found that Report Control...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=20147&amp;PID=68941&amp;title=how-to-impove-the-performance-in-c-net#68941</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7634">daguda</a><br /><strong>Subject:</strong> 20147<br /><strong>Posted:</strong> 22 September 2012 at 4:10am<br /><br />I just found that Report Control in C#.NET takes <font size="3"><b>50 times slower</b> </font>than it in VB6, take a look at these two demos:<br><br>(1)Open C#.NET\ReportSample\ReportSample.sln project, then edit this code:<br><br><font face="Verdana, Arial, Helvetica, sans-serif" size="3"><font color="#FF0000">for(int k=0 ; k&lt;1000;k++)</font><br>&nbsp;&nbsp;&nbsp; &nbsp; AddRows();</font><br><br><i>It takes about <b>58.3 seconds</b> to add 18013 rows.</i><br><br><br>(2)Open VB\ReportSample\ReportSample.vbp project, add the following lines:<br><br>(a)<br>&nbsp;<font size="3">&nbsp;&nbsp; cstrCJlink = "https://forum.codejock.com"<br><br><font color="#FF0000">&nbsp;&nbsp;&nbsp; Dim j As Long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' &lt; ---------- add<br>&nbsp;&nbsp;&nbsp; For j = 1 To 1000&nbsp;&nbsp;&nbsp; ' &lt; ---------- add</font><br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; 'Start Adding Records with the AddRecord helper subroutine<br>&nbsp;&nbsp;&nbsp; 'Look at the AddRecord subroutine for a more detailed explanation</font><br>(b)<br>&nbsp;<font size="3">&nbsp;&nbsp; <font color="#FF0000">Next&nbsp;&nbsp; '&lt;----------- add</font><br>&nbsp;&nbsp;&nbsp; 'Vertical grid lines will be drawn as small dots<br>&nbsp;&nbsp;&nbsp; 'wndReportControl.PaintManager.VerticalGridStyle = xtpGridSolid</font><br><i><br>It takes only <b>1.1 seconds</b> to add 18013 rows.</i><br><br><br>How to impove the performance in C#.NET? <br><br>Any advice would be greatly appreciated!!<br>Thank you!<br><br><br>]]>
   </description>
   <pubDate>Sat, 22 Sep 2012 04:10:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=20147&amp;PID=68941&amp;title=how-to-impove-the-performance-in-c-net#68941</guid>
  </item> 
 </channel>
</rss>