Click here to Skip to main content
11,412,302 members (60,873 online)
Click here to Skip to main content

Tagged as

How to create a microsoft report from the dataset

, 9 Aug 2010 CPOL
Rate this:
Please Sign up or sign in to vote.
First create a reportviewer and then   report.
create a dataset,in dataset create a table using table adapter tool.
add columns in the table according to the need.the content of the table must be equal to the content that
is retrieved.now consider report viewer as rpviewer and report as rpt,write this code to bind the dataset
with the Msreport(rpt).Find the *bindingsource which is present in reportviewer(below).

Big Grin | :-D    Query = .....;
adapter.fill(datasetname,"table name of the dataset");
*bindingsourcename.datasource = datasetname;Cool | :cool: It works Good!!

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

John Sathish Tamilarasu
Software Developer (Senior) Sundaram Infotech
India India
I am a Software Specialist.Worked & Working in Various IT Based industries.I have good Exposure in ASP.net, C# and other Microsoft Technologies.

Comments and Discussions

 
QuestionNeeds your assistance to get this code on report viewer to work Pinmembersolokupo25-Sep-13 2:52 
GeneralReason for my vote of 1 NO Pinmemberyusufhermanto9-Apr-11 7:47 
GeneralWhat's new in it? Ain't it a standard way to do it? Any tip ... PinmvpSandeep Mewara8-Aug-10 4:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150414.5 | Last Updated 9 Aug 2010
Article Copyright 2010 by John Sathish Tamilarasu
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid