Results 1 to 4 of 4

Thread: Passing data across ASP.Net projects...

  1. #1

    Thread Starter
    Hyperactive Member vbud's Avatar
    Join Date
    Jan 2002
    Location
    Mru 20 17S, 57 33E Goal: Get out of the BOX Status: In The Shadows!!! Target Posts: 3,000,000,000
    Posts
    378

    Question 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.
    >!v!<
    Free your mind, stop thinking
    http://inspirone.blogspot.com

    Please rate this post if it helped you

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Save to XML?

  3. #3
    New Member
    Join Date
    Sep 2004
    Posts
    9
    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

  4. #4

    Thread Starter
    Hyperactive Member vbud's Avatar
    Join Date
    Jan 2002
    Location
    Mru 20 17S, 57 33E Goal: Get out of the BOX Status: In The Shadows!!! Target Posts: 3,000,000,000
    Posts
    378
    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.
    >!v!<
    Free your mind, stop thinking
    http://inspirone.blogspot.com

    Please rate this post if it helped you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width