Showing posts with label download. Show all posts
Showing posts with label download. Show all posts

Sunday, March 11, 2012

another question about bind object to Report

hi,all
I download the Sample from http://www.gotreportviewer.com
in the "InvoiceMaker" sample,
the object like Custome can be bind to the Report directly,
but in the "Object Data Source" Sample ,I Modify the
" reportViewer.LocalReport.DataSources.Add(
new ReportDataSource("Product", merchant.GetProducts()));"
to "reportViewer.LocalReport.DataSources.Add(
new ReportDataSource("Product", new new Product("Pencil", 30)))"
there was an Exception with infomation:"Value does not fall within the expected range "


what's wrong with it?

LocalReport.DataSources takes a collection of objects, it doesn't allow a single element - that's why you get the error.

The reason why the InvoiceMaker works with a single element is because it uses a System.Windows.Forms.BindingSource - which can take either a list, an object or a type.

Here's the "magic" that makes it work in InvoiceMaker

Me.CustomerBindingSource = New System.Windows.Forms.BindingSource(Me.components)

...

Me.CustomerBindingSource.DataSource = GetType(ReportFromGrid.Customer)

...

ReportDataSource1.Value = Me.CustomerBindingSource

...

Me.CustomerBindingSource.DataSource = New Customer()

The ObjectDataSource sample takes a shortcut, and shows you how to use a collection directly, w/o going through the binding. That makes things simpler but removes some of the syntactic sugar that makes it easier to use.

Hope that helps,

Tudor Trufinescu

|||I know,thanks!

Friday, February 24, 2012

ANN: Updated version of SQL Server 2005 Books Online is available for download

The September 2007 update to SQL Server 2005 Books Online (English version)
is now available for download at
http://www.microsoft.com/downloads/details.aspx?FamilyID=be6a2c5d-00df-4220-b133-29c1e0b6585f&DisplayLang=en.
It is also offered as an Optional update via Microsoft Update.
See the topic "New and Updated Books Online"
(ms-help://sql90/sqlwhtn9/html/0f2f37d8-fc81-40c5-9976-cab8bd0b44e9.htm) for
links to the new and revised topics.
Gail Erickson [MS]
SQL Server Documentation Team
This posting is provided "AS IS" with no warranties, and confers no rights
Download the latest version of Books Online from
http://technet.microsoft.com/en-us/sqlserver/bb428874.aspx
On Dec 1, 5:53 am, "Gail Erickson [MS]" <ga...@.online.microsoft.com>
wrote:
> The September 2007 update to SQL Server 2005 Books Online (English version)
> is now available for download athttp://www.microsoft.com/downloads/details.aspx?FamilyID=be6a2c5d-00d...
> It is also offered as an Optional update via Microsoft Update.
> See the topic "New and Updated Books Online"
> (ms-help://sql90/sqlwhtn9/html/0f2f37d8-fc81-40c5-9976-cab8bd0b44e9.htm) for
> links to the new and revised topics.
> --
> Gail Erickson [MS]
> SQL Server Documentation Team
> This posting is provided "AS IS" with no warranties, and confers no rights
> Download the latest version of Books Online fromhttp://technet.microsoft.com/en-us/sqlserver/bb428874.aspx
Thanks for the updation

ANN: Updated version of SQL Server 2005 Books Online is available for download

The September 2007 update to SQL Server 2005 Books Online (English version)
is now available for download at
http://www.microsoft.com/downloads/details.aspx?FamilyID=be6a2c5d-00df-4220-b133-29c1e0b6585f&DisplayLang=en.
It is also offered as an Optional update via Microsoft Update.
See the topic "New and Updated Books Online"
(ms-help://sql90/sqlwhtn9/html/0f2f37d8-fc81-40c5-9976-cab8bd0b44e9.htm) for
links to the new and revised topics.
--
Gail Erickson [MS]
SQL Server Documentation Team
This posting is provided "AS IS" with no warranties, and confers no rights
Download the latest version of Books Online from
http://technet.microsoft.com/en-us/sqlserver/bb428874.aspxOn Dec 1, 5:53 am, "Gail Erickson [MS]" <ga...@.online.microsoft.com>
wrote:
> The September 2007 update to SQL Server 2005 Books Online (English version)
> is now available for download athttp://www.microsoft.com/downloads/details.aspx?FamilyID=be6a2c5d-00d...
> It is also offered as an Optional update via Microsoft Update.
> See the topic "New and Updated Books Online"
> (ms-help://sql90/sqlwhtn9/html/0f2f37d8-fc81-40c5-9976-cab8bd0b44e9.htm) for
> links to the new and revised topics.
> --
> Gail Erickson [MS]
> SQL Server Documentation Team
> This posting is provided "AS IS" with no warranties, and confers no rights
> Download the latest version of Books Online fromhttp://technet.microsoft.com/en-us/sqlserver/bb428874.aspx
Thanks for the updation

Thursday, February 9, 2012

Analysis Services 2005 Performance Guide goes live!

The much anticipated and eagerly awaited Analysis Services 2005 Performance Guide has been released and is available on the Microsoft download site at: http://download.microsoft.com/download/8/5/e/85eea4fa-b3bb-4426-97d0-7f7151b2011c/SSAS2005PerfGuide.doc.

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

Edward,

I haven't really gotten a chance to dig into the guide yet, but kudos to the entire team that contributed to it! Just glancing at the TOC, it looks to be an excellent guide and a great read for all of us!!

Dave Fackler

|||Great - now sent directly to the printer :-)|||Wow, thank you guys!|||Reading it now. Thanks!|||

Hi Edward,

This is really exiciting,

This is one thing that was missing from the start.

Regards

Vijay R

|||Having just finished reading the SSAS 2005 Performance Guide in preparation for a large incoming BI project, I consider this guide to be technically indispensable as well as exceptionally readable -- a rare combo! Lastly, it reinforces the sophistication of AS 2005. Well done to the author and subject matter experts!|||

I noticed in the document that it applies to Sql Server 2005 - SP2.

When is SP2 going to be released?

There is a lot of great information in the guide that I am sure applies to SP1 as well, but what in it is SP2 specific?

Thanks,

Wino.

|||

You will see SP2 release pretty soon :)

Meantime you can try to install CTP of SP2 from http://www.microsoft.com/sql/ctp.mspx

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

|||What a wonderful document. I have been craving something like this ever since getting started with Analysis Services. This is better than any book / articles I have read about the "guts" of AS. Thank you so much!

Analysis Services 2005 Performance Guide goes live!

The much anticipated and eagerly awaited Analysis Services 2005 Performance Guide has been released and is available on the Microsoft download site at: http://download.microsoft.com/download/8/5/e/85eea4fa-b3bb-4426-97d0-7f7151b2011c/SSAS2005PerfGuide.doc.

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

Edward,

I haven't really gotten a chance to dig into the guide yet, but kudos to the entire team that contributed to it! Just glancing at the TOC, it looks to be an excellent guide and a great read for all of us!!

Dave Fackler

|||Great - now sent directly to the printer :-)|||Wow, thank you guys!|||Reading it now. Thanks!|||

Hi Edward,

This is really exiciting,

This is one thing that was missing from the start.

Regards

Vijay R

|||Having just finished reading the SSAS 2005 Performance Guide in preparation for a large incoming BI project, I consider this guide to be technically indispensable as well as exceptionally readable -- a rare combo! Lastly, it reinforces the sophistication of AS 2005. Well done to the author and subject matter experts!|||

I noticed in the document that it applies to Sql Server 2005 - SP2.

When is SP2 going to be released?

There is a lot of great information in the guide that I am sure applies to SP1 as well, but what in it is SP2 specific?

Thanks,

Wino.

|||

You will see SP2 release pretty soon :)

Meantime you can try to install CTP of SP2 from http://www.microsoft.com/sql/ctp.mspx

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

|||What a wonderful document. I have been craving something like this ever since getting started with Analysis Services. This is better than any book / articles I have read about the "guts" of AS. Thank you so much!

Analysis Services 2005 Performance Guide goes live!

The much anticipated and eagerly awaited Analysis Services 2005 Performance Guide has been released and is available on the Microsoft download site at: http://download.microsoft.com/download/8/5/e/85eea4fa-b3bb-4426-97d0-7f7151b2011c/SSAS2005PerfGuide.doc.

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

Edward,

I haven't really gotten a chance to dig into the guide yet, but kudos to the entire team that contributed to it! Just glancing at the TOC, it looks to be an excellent guide and a great read for all of us!!

Dave Fackler

|||Great - now sent directly to the printer :-)|||Wow, thank you guys!|||Reading it now. Thanks!|||

Hi Edward,

This is really exiciting,

This is one thing that was missing from the start.

Regards

Vijay R

|||Having just finished reading the SSAS 2005 Performance Guide in preparation for a large incoming BI project, I consider this guide to be technically indispensable as well as exceptionally readable -- a rare combo! Lastly, it reinforces the sophistication of AS 2005. Well done to the author and subject matter experts!|||

I noticed in the document that it applies to Sql Server 2005 - SP2.

When is SP2 going to be released?

There is a lot of great information in the guide that I am sure applies to SP1 as well, but what in it is SP2 specific?

Thanks,

Wino.

|||

You will see SP2 release pretty soon :)

Meantime you can try to install CTP of SP2 from http://www.microsoft.com/sql/ctp.mspx

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

|||What a wonderful document. I have been craving something like this ever since getting started with Analysis Services. This is better than any book / articles I have read about the "guts" of AS. Thank you so much!