|
-
Oct 6th, 2004, 12:56 AM
#1
Thread Starter
Hyperactive Member
Passing data across ASP.Net projects...
Hi all,
i'm encountering a rather tricky issue when developing an ASP.Net application. In fact I happen to have a .net solution with several asp.net projects in it. What I need is to pass an array of values and a dataset from one of the projects to another. Well i've been trying this without any positive results, has anybody ever done this or knows how to do it?
Please note that merging the projects is out of question. All help appreciated, thanx.
-
Oct 6th, 2004, 01:26 AM
#2
-
Oct 6th, 2004, 02:30 AM
#3
New Member
what do you mean? I don't understand you. But in a project, you can use this:
Code:
Dim ds as DataSet ' you can modify this
Application("test")=ds
'Somewhere you can put this:
ds=Application("test")
'and so on, you can use by Session
But in several project, means that data in this project and another project can access the data you can save in XML or SQL database or do some engine to access data
Have fun
-
Oct 6th, 2004, 04:04 AM
#4
Thread Starter
Hyperactive Member
Well actually saving to XML was not something I could get along well with since this situation might occur for several users at the same time and this might create quite some space issues, even if at the end of the transaction the files might be deleted we never know when a user might simply close his browser and there we got a nicely fed bin...
Well my actual solution for the time being is that I would add a reference of project B to project A and the latter would instantiate a class in project B such that the class takes a dataset as parameter. Now this seems more appropriate but I was hoping to be able to have a different approach since I may need to make some projects reference another just for the sake of exchanging data. Anyway thanx for the help, i'll keep this thread "unresolved" just to keep it open for new suggestions.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|