Hi,
I have used the Reportviewer in VS2008 a fair bit but after upgrading to VS2010 I can't just drop the Reportviewer onto the form as before. Instead it appears as a control outside form similar to a Timer.
I am aiming to let the user view a report from within a winforms application. Any...
Thanks to both of you. I managed to create this that appears to work:
/* Top 4 rows will need to be input params in function */
DECLARE @StartDate AS datetime /* Start date in range to check */
DECLARE @EndDate AS datetime /* End date in range to check */
SET @StartDate = '2004-02-29'
SET...
Hello,
I am having difficulties sorting out the best way to find the number of leap days in a date range. For example, if the date range is 01 Jan 2008 - 15 April 2008 it would be 1. If it is 01 Jan 2003 - 15 April 2008, it would be 2. Any ideas?
I am using T-SQL.
Thanks,
Marcus
Hello,
I am trying to write a query (SQL Server 2005) that always returns five records even if there is only e.g. 2 matching records in the database. Then the other 3 should be null or blank. Any ideas?
Regards,
Marcus
Hello,
In the body of my report (RS 2005) I have a list that can contain any number of records from 0 to 10. I would like this list to be fixed in terms of its size (regardless of number of records) so the information further down on the report does not move up and down depending on how many...
Hello,
My users can via a datagrid enter any no of text rows (done in a VB.Net application). I then want these rows to appear on a report as a nice list (table).
How do I best pass these rows to my report and display the rows on the report? It seems like I need a dataset to base the table...
Sorry I was not being clear about what I wanted.
I was looking for the maximum length of the field. It is a varchar field and I would like to be able to find what is within the brackets when defining the field. E.g. if it in the database says varchar(50) I would like to be able to get 50 back.
Hello,
I have a dataset that was loaded from the database and I am interested in finding the varchar length of a certain field. Is that possible using the dataset? I have tried to use the GetType function but I cannot find the length of the varchar field...
Regards,
Marcus
Hello,
I have a datagrid in a vb.net application and I have sort of forgotten all about how it works. :) The users would like to be able to select a column and copy all the text in it and put it in Word or something. Is that possible. I don't seem to be able to mark a column like it is possible...
I have used datasets in vb.net applications and now I am trying to do the same in asp.net. :)
On a web page I create a dataset and populate a few text boxes. When the user clicks a button and the page is posted back the dataset does not exist anymore (yes, I am new to asp.net). Is it correct...
Aha, I will look into that one (FindControl). Sorry for not using the proper terminology. I am used to the wonderful world of windows client applications... :)
Hello,
I have with vb.net created a couple of text boxes programmatically. Now I cannot figure out how to access the text boxes' text properties further down in the code. Normally one just write e.g. txtFirstName.Text but that obviously does not work because the code does not recognise...
Hello,
I have been trying to figure out how to print a report to a printer by just clicking one button and not first showing the report in the report viewer. Any thouhgts about this?
Regards,
Marcus
Hello,
Does anyone know if it is possible to access a server report's dataset and change properties such as the data source from a vb.net windows application?
Regards,
Marcus
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.