473,326 Members | 2,012 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

C# - WEB - Report not displaying properly

16
Hi

could someone help me please?

I am using c# 2.0 web form to create a report using reporting services. I can display the report but with no data, can someone help me please and see where i am going wrong, thanks

The following code sniplet:
DataSet ds = new DataSet;

ds.ReadXml(HttpContext.Current.Request.MapPath("te stfile.xml"));

ReportDataSource dsTestData = new ReportDataSource("DataSource1", ds.Tables);

lrt.DataSources.Add(dsTestData);
lrt.Refresh();

Thanks
Aug 21 '07 #1
2 1198
kenobewan
4,871 Expert 4TB
What is the error you are receiving?
Aug 21 '07 #2
RazSam
16
Hi

I got it working, i was not populating my dataset correctly.

Thanks

What is the error you are receiving?
Aug 22 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Jeff | last post by:
Hi I have a report with a graph on it and want to change the minimum and maximum values for the value axis when it is previewed. This can't be done by adding code in the Open event as once the...
6
by: Roger | last post by:
I have a report with a image displaying our company logo if I create an snapshot of this report, it appears to create an 'snp' file, but nothing is stored in the folder I tried both linked and...
3
by: Rabbit | last post by:
Dear All, I am working on the formatting of a Crystal Report, I'd noticed that setting BottomLineStyle, and other xxxLineStyle can only be shown when user export the report into PDF format,...
6
by: erick-flores | last post by:
Hello, I want to make a report for a single compressor. Instead of showing a report for all the compressors. I would like to place a button in the compressor form, so whenever I want to display a...
0
by: CR Developer | last post by:
Hi, I'm trying to displaying images stored in SQL Server 2000 into a Crystal Report 10. The images source is a jpeg, and the image is not displaying. If I upload a bmp file in the database, it...
3
by: MLH | last post by:
Textbox on report displays year (1991) in scientific notation if I raise the font size in that control to above 16 points. It seems Access 'thinks' 1991 is too big to display properly in the...
1
by: Shailja | last post by:
Hi, How to do alignment of decimal point in Crystal Report? When I open the crystal report, numbers display in following manner: 100.16 10.16 Instead, if second number consists of 2 digits...
7
by: martin DH | last post by:
Hello, I have a report that I open that pull its data from a form that builds a where string. Opening the report first opens the form, where I enter criteria, and then pulls matching records from a...
6
kcdoell
by: kcdoell | last post by:
Hello: I have a report that is based on the following crosstab query: SELECT tblProduct.ProductName, QryProd_Bud.GWP_BUD, Nz(,0) AS Week_1, Nz(,0) AS Week_2, Nz(,0) AS Week_3, Nz(,0) AS Week_4,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.