May 16, 2006 at 2:38 pm
Hello here, I'd like to populate a datagrid in my asp.net app and create a report from the data in the grid. Has anyone done something like this or do you have an idea as to what direction I should go to make this happen?
Thanks in advance.
May 17, 2006 at 5:17 am
I do not know what kind of the report you want to create. There are plenty link in the interent. If you more specify, It will more easy for other people.
http://www.thescarms.com/dotnet/webdatagrid.asp
http://aspnet.4guysfromrolla.com/articles/071002-1.aspx
http://aspnet.4guysfromrolla.com/articles/071002-1.2.aspx
http://aspnet.4guysfromrolla.com/articles/121504-1.aspx
data value in the datagrid
http://www.vbcity.com/forums/topic.asp?tid=96996&highlight=datagrid%7Cheader
sorting array list
http://msdn.microsoft.com/msdnmag/issues/03/10/CuttingEdge/
Using Nested DataGrids in ASP.NET
http://www.developer.com/net/article.php/10916_2224121_2
Managing Complex Layout and Nesting DataGrids in ASP.NET
http://www.developer.com/net/vb/article.php/2224121
edit
http://www.developer.com/net/asp/article.php/2228761
http://forums.asp.net/1131085/ShowPost.aspx
array list to data grid
http://www.dotnetbips.com/articles/displayarticle.aspx?id=282
May 17, 2006 at 10:31 am
Perhaps I wasn't clear, I already have my project with a datagrid, this I can do no problem. What I need to do is to use the data grid as my dataset for a report.
May 17, 2006 at 3:25 pm
Report Services runs off a SQL Server database. I'm not sure you can use the datagrid as your datasource. Maybe you can export your data from your datagrid into a database table, then run the report off that table? Just a thought.
May 23, 2006 at 1:52 pm
I've used the Report Viewer control before but still I'm not sure how to use my populated datagrid as my datasource. Any help would be appreciated.
May 24, 2006 at 1:49 pm
why not just use the SQL statement you use to populate your report to populate your data grid?
May 24, 2006 at 1:55 pm
fkearney,
That's actually the direction I'm going in now. I'll save the query in a session variable and reuse it. I initially wanted to see if there was a better way to reuse the existing dataset for performance reasons but I think that may just be complicating things.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply