Click here to Skip to main content
13,290,556 members (59,073 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


1 bookmarked
Posted 9 Aug 2010

How to create a microsoft report from the dataset

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 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).

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


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


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, C# and other Microsoft Technologies.

You may also be interested in...


Comments and Discussions

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

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

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

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