<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Creating Reports</title>
	<atom:link href="http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/creating-reports/feed" rel="self" type="application/rss+xml" />
	<link>http://www.vbmysql.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Fri, 07 Jan 2011 12:23:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Matthew King</title>
		<link>http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/creating-reports#comment-2688</link>
		<dc:creator>Matthew King</dc:creator>
		<pubDate>Wed, 24 Nov 2010 21:25:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/creating-reports/#comment-2688</guid>
		<description>Anders,

Sorry - I don&#039;t have VS2010, so I don&#039;t know where they hid the Data Sources menu option. It has to be there somewhere, I imagine - you have to be able to select a Data Source for the report. I apologize for not being much help.

Matt</description>
		<content:encoded><![CDATA[<p>Anders,</p>
<p>Sorry &#8211; I don&#8217;t have VS2010, so I don&#8217;t know where they hid the Data Sources menu option. It has to be there somewhere, I imagine &#8211; you have to be able to select a Data Source for the report. I apologize for not being much help.</p>
<p>Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anders</title>
		<link>http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/creating-reports#comment-2687</link>
		<dc:creator>Anders</dc:creator>
		<pubDate>Wed, 24 Nov 2010 18:19:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/creating-reports/#comment-2687</guid>
		<description>Im trying this tutorial in VS2010. When i try step 4 in &quot;Designing the Report&quot; i can not find the &quot;data sources&quot; in the report dropdown... What can i do then? :/ Im very newbie when it comes to this, so dont flame plz^^</description>
		<content:encoded><![CDATA[<p>Im trying this tutorial in VS2010. When i try step 4 in &#8220;Designing the Report&#8221; i can not find the &#8220;data sources&#8221; in the report dropdown&#8230; What can i do then? :/ Im very newbie when it comes to this, so dont flame plz^^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajesh</title>
		<link>http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/creating-reports#comment-2686</link>
		<dc:creator>Rajesh</dc:creator>
		<pubDate>Thu, 06 May 2010 10:55:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/creating-reports/#comment-2686</guid>
		<description>Hi,

I am not able to print report in reportviewer.
The query is.. i want to select a date from my form and print the data from database according to the select query
Can anybody help me to write the code for this.. I am using vb.net 2008</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am not able to print report in reportviewer.<br />
The query is.. i want to select a date from my form and print the data from database according to the select query<br />
Can anybody help me to write the code for this.. I am using vb.net 2008</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jayash sharma</title>
		<link>http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/creating-reports#comment-2685</link>
		<dc:creator>Jayash sharma</dc:creator>
		<pubDate>Thu, 19 Mar 2009 09:38:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/creating-reports/#comment-2685</guid>
		<description>Thanks to Author.

I was new to MS Reporting and this article really helped me to setup Report and filtering the records.

Thanks Again.

Jayash Sharma</description>
		<content:encoded><![CDATA[<p>Thanks to Author.</p>
<p>I was new to MS Reporting and this article really helped me to setup Report and filtering the records.</p>
<p>Thanks Again.</p>
<p>Jayash Sharma</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vijaysharma</title>
		<link>http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/creating-reports#comment-2684</link>
		<dc:creator>vijaysharma</dc:creator>
		<pubDate>Wed, 11 Mar 2009 13:05:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/creating-reports/#comment-2684</guid>
		<description>please reply in english only..........</description>
		<content:encoded><![CDATA[<p>please reply in english only&#8230;&#8230;&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pam</title>
		<link>http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/creating-reports#comment-2683</link>
		<dc:creator>Pam</dc:creator>
		<pubDate>Mon, 27 Oct 2008 20:16:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/creating-reports/#comment-2683</guid>
		<description>Thank you so much for the information you have provided on creating reports and the steps to using parameters.  Your tutorial was thorough and easy to follow.  Great job!  I was having the same issue as Vijay but as you indicated it was a typo.</description>
		<content:encoded><![CDATA[<p>Thank you so much for the information you have provided on creating reports and the steps to using parameters.  Your tutorial was thorough and easy to follow.  Great job!  I was having the same issue as Vijay but as you indicated it was a typo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew King</title>
		<link>http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/creating-reports#comment-2682</link>
		<dc:creator>Matthew King</dc:creator>
		<pubDate>Thu, 16 Oct 2008 14:56:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/creating-reports/#comment-2682</guid>
		<description>Judging by the error, it looks like &#039;milkmanid&#039; is not a parameter in the report. Maybe it is misspelled? Perhaps &#039;milkmanID&#039;? One way to check the code might be to change it to temporarily take out &#039;milkmanid&#039; and test:

Dim params(1) As ReportParameter
&#039;params(0) = New ReportParameter(”milkmanid”, cint(mid) )
params(0) = New ReportParameter(”mdate”, DateTimePicker1.Value.Date)
params(1) = New ReportParameter(”mdate”, DateTimePicker2.Value.Date)

See if it runs like this. If it does, the code is correct, but there is something wrong with the &#039;milkmanid&#039; parameter in the report.</description>
		<content:encoded><![CDATA[<p>Judging by the error, it looks like &#8216;milkmanid&#8217; is not a parameter in the report. Maybe it is misspelled? Perhaps &#8216;milkmanID&#8217;? One way to check the code might be to change it to temporarily take out &#8216;milkmanid&#8217; and test:</p>
<p>Dim params(1) As ReportParameter<br />
&#8216;params(0) = New ReportParameter(”milkmanid”, cint(mid) )<br />
params(0) = New ReportParameter(”mdate”, DateTimePicker1.Value.Date)<br />
params(1) = New ReportParameter(”mdate”, DateTimePicker2.Value.Date)</p>
<p>See if it runs like this. If it does, the code is correct, but there is something wrong with the &#8216;milkmanid&#8217; parameter in the report.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vijay sharma</title>
		<link>http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/creating-reports#comment-2681</link>
		<dc:creator>vijay sharma</dc:creator>
		<pubDate>Thu, 16 Oct 2008 06:15:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/creating-reports/#comment-2681</guid>
		<description>have used the method given here and find it very useful i have created the report with three parameters used from report menu.

but the problem is that

the report im printing only print reports of the default values provided with the report parameter.

now i have tried this code  and i m getting one exception error in processing report

Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

ReportViewer1.ProcessingMode = ProcessingMode.Local

dim mid as String
mname = ComboBox1.SelectedItem
mid=mname.Substring(0, mname.IndexOf(&quot;,&quot;))

        Dim params(2) As ReportParameter
        params(0) = New ReportParameter(&quot;milkmanid&quot;, cint(mid) )
        params(1) = New ReportParameter(&quot;mdate&quot;, DateTimePicker1.Value.Date)
        params(2) = New ReportParameter(&quot;mdate&quot;, DateTimePicker2.Value.Date)

        Me.ReportViewer1.LocalReport.SetParameters(params)
        Me.ReportViewer1.RefreshReport()
end sub

error message of exception in m getting is
&quot;An attempt was made to set a report parameter &#039;milkmanid&#039; that is not defined in this report.&quot;</description>
		<content:encoded><![CDATA[<p>have used the method given here and find it very useful i have created the report with three parameters used from report menu.</p>
<p>but the problem is that</p>
<p>the report im printing only print reports of the default values provided with the report parameter.</p>
<p>now i have tried this code  and i m getting one exception error in processing report</p>
<p>Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click</p>
<p>ReportViewer1.ProcessingMode = ProcessingMode.Local</p>
<p>dim mid as String<br />
mname = ComboBox1.SelectedItem<br />
mid=mname.Substring(0, mname.IndexOf(&#8220;,&#8221;))</p>
<p>        Dim params(2) As ReportParameter<br />
        params(0) = New ReportParameter(&#8220;milkmanid&#8221;, cint(mid) )<br />
        params(1) = New ReportParameter(&#8220;mdate&#8221;, DateTimePicker1.Value.Date)<br />
        params(2) = New ReportParameter(&#8220;mdate&#8221;, DateTimePicker2.Value.Date)</p>
<p>        Me.ReportViewer1.LocalReport.SetParameters(params)<br />
        Me.ReportViewer1.RefreshReport()<br />
end sub</p>
<p>error message of exception in m getting is<br />
&#8220;An attempt was made to set a report parameter &#8216;milkmanid&#8217; that is not defined in this report.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew King</title>
		<link>http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/creating-reports#comment-2680</link>
		<dc:creator>Matthew King</dc:creator>
		<pubDate>Tue, 14 Oct 2008 20:01:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/creating-reports/#comment-2680</guid>
		<description>Vijay,

Using report parameters would be a good tutorial to work on. You need to make use of the ReportParameters and SetParameters methods.

Here is a &quot;quick &amp; dirty&quot; example of setting a &quot;From&quot; date and a &quot;to&quot; date:

First, in my report designer, I defined two parameters: &quot;rdate1&quot; and &quot;rdate2&quot;.

Second, in my form, I defined two textboxes (txtDate1 and txtDate2) to enter the dates I will send as parameters to the report.

Third, make sure you import Microsoft.Reporting.WinForms in the form

Finally, I add the following code to the form to send dates to the report:
        Dim params(1) As ReportParameter
        params(0) = New ReportParameter(&quot;rdate1&quot;, Me.txtDate1.Text)
        params(1) = New ReportParameter(&quot;rdate2&quot;, Me.txtDate2.Text)

        Me.ReportViewer1.LocalReport.SetParameters(params)

        Me.ReportViewer1.LocalReport.Refresh()

I hope this helps.</description>
		<content:encoded><![CDATA[<p>Vijay,</p>
<p>Using report parameters would be a good tutorial to work on. You need to make use of the ReportParameters and SetParameters methods.</p>
<p>Here is a &#8220;quick &amp; dirty&#8221; example of setting a &#8220;From&#8221; date and a &#8220;to&#8221; date:</p>
<p>First, in my report designer, I defined two parameters: &#8220;rdate1&#8243; and &#8220;rdate2&#8243;.</p>
<p>Second, in my form, I defined two textboxes (txtDate1 and txtDate2) to enter the dates I will send as parameters to the report.</p>
<p>Third, make sure you import Microsoft.Reporting.WinForms in the form</p>
<p>Finally, I add the following code to the form to send dates to the report:<br />
        Dim params(1) As ReportParameter<br />
        params(0) = New ReportParameter(&#8220;rdate1&#8243;, Me.txtDate1.Text)<br />
        params(1) = New ReportParameter(&#8220;rdate2&#8243;, Me.txtDate2.Text)</p>
<p>        Me.ReportViewer1.LocalReport.SetParameters(params)</p>
<p>        Me.ReportViewer1.LocalReport.Refresh()</p>
<p>I hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vijay sharma</title>
		<link>http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/creating-reports#comment-2679</link>
		<dc:creator>vijay sharma</dc:creator>
		<pubDate>Tue, 14 Oct 2008 14:27:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/creating-reports/#comment-2679</guid>
		<description>i have used the method given here  and find it very useful i have created the report with three parameters used from report menu.

but the problem is that

the report im printing  only print reports of the default values provided with the report parameter.

who i will provide varable to the report parameters.....</description>
		<content:encoded><![CDATA[<p>i have used the method given here  and find it very useful i have created the report with three parameters used from report menu.</p>
<p>but the problem is that</p>
<p>the report im printing  only print reports of the default values provided with the report parameter.</p>
<p>who i will provide varable to the report parameters&#8230;..</p>
]]></content:encoded>
	</item>
</channel>
</rss>

