Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Data Passing between two different Application

Data Passing between two different Application

Scheduled Pinned Locked Moved C#
questiontutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Priyagdpl
    wrote on last edited by
    #1

    Hi All, I have two website 1. ABC 2. Xyz. And i want to transfer data from one site (i.e ABC site) to another site (Xyz site). Example: ABC site have data (name , surname) => Pass this data to => Xyz site. so, How can i pass this data.. Any Idea?? Thanks & Regards, Priyanka

    M A 2 Replies Last reply
    0
    • P Priyagdpl

      Hi All, I have two website 1. ABC 2. Xyz. And i want to transfer data from one site (i.e ABC site) to another site (Xyz site). Example: ABC site have data (name , surname) => Pass this data to => Xyz site. so, How can i pass this data.. Any Idea?? Thanks & Regards, Priyanka

      M Offline
      M Offline
      Md Marufuzzaman
      wrote on last edited by
      #2

      You can use HTTP post for passing the data one site to another. You just need to do is write a simple function in your app which will pass the data from your app internally. A simple code snippets is given below, I hope this might be helpful to you.

      strPage = "www.codeproject.com/Get/?id=1234 ......... "
      Function PostDatas(ByVal strPage As String) As String

          Try
              Dim oReq As System.Net.HttpWebRequest
              Dim oResp As System.Net.HttpWebResponse
              oReq = System.Net.HttpWebRequest.Create(strPage)
              oResp = oReq.GetResponse
              Dim sr As New StreamReader(oResp.GetResponseStream)
              Return sr.ReadToEnd()
      
          Catch
      
              -- Handle exception
          End Try
      

      Thanks Md. Marufuzzaman


      I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.

      1 Reply Last reply
      0
      • P Priyagdpl

        Hi All, I have two website 1. ABC 2. Xyz. And i want to transfer data from one site (i.e ABC site) to another site (Xyz site). Example: ABC site have data (name , surname) => Pass this data to => Xyz site. so, How can i pass this data.. Any Idea?? Thanks & Regards, Priyanka

        A Offline
        A Offline
        Abhinav S
        wrote on last edited by
        #3

        You might want to consider web services if you want to set up a communication channel between two web sites.

        My signature "sucks" today

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups