<?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 : Report Control DataSource</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Report Control DataSource]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 16:15:54 +0000</pubDate>
  <lastBuildDate>Mon, 01 Aug 2011 15:37:33 +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=18700</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[Report Control DataSource : I still have an issue, I tried...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18700&amp;PID=65630&amp;title=report-control-datasource#65630</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6910">white6174</a><br /><strong>Subject:</strong> 18700<br /><strong>Posted:</strong> 01 August 2011 at 3:37pm<br /><br />I still have an issue, I tried using the supplied examples,<div><br></div><div>I'm using VB.net 2010,</div><div>the newest demo of the codejock controls,</div><div><br></div><div><br></div><div>this is what I have so far, it loads columns but no data &nbsp;</div><div><br></div><div>any ideas?</div><div><div>&nbsp; Try</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim cn As New ADODB.Connection()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim rs As New ADODB.Recordset()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim cnStr As String</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim cmd As New ADODB.Command()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cnStr = "Provider=SQLOLEDB;Initial Catalog=DB_Test1;Data Source=DELL_LAP;" &amp; _</div><div>&nbsp; &nbsp;"User ID=SysApp;Password=password;"</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cn.Open(cnStr)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rs = cn.Execute("SELECT &nbsp; &nbsp; dbo.ArCustomer.* FROM &nbsp; &nbsp; &nbsp; &nbsp; dbo.ArCustomer")</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; With Me.AxReportControl1</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; With .DataManager</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .DataSource = rs</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .DataBind()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End With</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End With</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rs.Close()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cn.Close()</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; Catch ex As Exception</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox(ex.ToString)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; End Try</div></div>]]>
   </description>
   <pubDate>Mon, 01 Aug 2011 15:37:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18700&amp;PID=65630&amp;title=report-control-datasource#65630</guid>
  </item> 
  <item>
   <title><![CDATA[Report Control DataSource : in vb6Set wndReport.DataManager.DataSource...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18700&amp;PID=65534&amp;title=report-control-datasource#65534</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1038">younicke</a><br /><strong>Subject:</strong> 18700<br /><strong>Posted:</strong> 28 July 2011 at 12:40am<br /><br />in vb6<br><br>Set wndReport.DataManager.DataSource = rs<br>wndReport.DataManager.DataBind<br><br>where rs is your recordset object<br><br>]]>
   </description>
   <pubDate>Thu, 28 Jul 2011 00:40:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18700&amp;PID=65534&amp;title=report-control-datasource#65534</guid>
  </item> 
  <item>
   <title><![CDATA[Report Control DataSource : Hi,  Maybe this will help: h...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18700&amp;PID=65533&amp;title=report-control-datasource#65533</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 18700<br /><strong>Posted:</strong> 28 July 2011 at 12:14am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Maybe this will help: <a href="http://forum.codejock.com/forum_posts.asp?TID=14721&amp;KW=SQL&amp;PID=50863&amp;title=report-c&#111;ntrol-databind-for-sql-lite#50863" target="_blank">http://forum.codejock.com/forum_posts.asp?TID=14721&amp;KW=SQL&amp;PID=50863&amp;title=report-control-databind-for-sql-lite#50863</A></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 28 Jul 2011 00:14:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18700&amp;PID=65533&amp;title=report-control-datasource#65533</guid>
  </item> 
  <item>
   <title><![CDATA[Report Control DataSource : Maybe I&amp;#039;ll simplify my question,Can...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18700&amp;PID=65528&amp;title=report-control-datasource#65528</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6910">white6174</a><br /><strong>Subject:</strong> 18700<br /><strong>Posted:</strong> 27 July 2011 at 2:38pm<br /><br />Maybe I'll simplify my question,<div><br></div><div>Can someone show an example of how to use SQL as a datasource for the report control.</div><div>(I must be doing it wrong)</div>]]>
   </description>
   <pubDate>Wed, 27 Jul 2011 14:38:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18700&amp;PID=65528&amp;title=report-control-datasource#65528</guid>
  </item> 
  <item>
   <title><![CDATA[Report Control DataSource :   I&amp;#039;m trying something...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18700&amp;PID=65392&amp;title=report-control-datasource#65392</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6910">white6174</a><br /><strong>Subject:</strong> 18700<br /><strong>Posted:</strong> 21 July 2011 at 11:25am<br /><br /><div>I'm trying something that I think should be very simple,</div><div>I loaded a SQL table into a strongly typed dataset,</div><div>now I want to assign it to the report control,</div><div><br></div><div>I tried to do it the same way you would with a datagridview, but it gives me an error</div><div><br></div><div>"Specified cast not valid"</div><div><br></div><div>Any ideas, I cant seem to find any samples showing how to attach to a SQL data source or datatable.</div><div><br></div><div>thanks for any help you may be able to provide&nbsp;</div><div>steve</div><div><br></div><div><br></div><div><br></div><div>//code</div><div><div>&nbsp;Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Me.InvMasterTableAdapter.Fill(Me.DataSet1.InvMaster)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl1.DataManager.DataSource = Me.DataSet1.InvMaster</div><div>&nbsp; &nbsp; &nbsp; &nbsp; DGV1.DataSource = Me.DataSet1.InvMaster</div><div>&nbsp; &nbsp; End Sub</div></div>]]>
   </description>
   <pubDate>Thu, 21 Jul 2011 11:25:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18700&amp;PID=65392&amp;title=report-control-datasource#65392</guid>
  </item> 
 </channel>
</rss>