.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

display data from 2 datasets by combining into 1 dataset to show in report simultaneously

Posted By: ags     Posted Date: December 04, 2010    Points:2   Category :ASP.Net
display in cry rpt, data from 2 datasets show from page 1 simultaneously:--

on merging i get data display from 1st ds after its finished then data is displaying from 2nd ds.it does not start from 1st page itself.
i need the result like this
eg ds1 ds2
sno name class group
1 a 1 red


but it shows like this

eg ds1 ds2
sno name class group
1 a 1





10 k 3
-ds1 last rec
11 red


ds1 is holding grid 1 and ds2 is binded with grid2 now in crystal report as told to merge i merged but it show ds1 first then after last record it continues with 2nd dataset data ..

i am calling the session values which holding the data from grid

Dim ds As DataSet = DirectCast(Session("datasource"), DataSet)
Dim ds1 As DataSet = DirectCast(Session("datasource1"), DataSet)

ds.Merge(ds1)
Report1.SetDataSource(ds)
here also it shows the same in ds ds first then continuing with ds1
pls suggest .thanks in adv



Responses

No response found. Be the first to respond this post
Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend