Data Passing between two different Application
-
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
-
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
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 StringTry 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.
-
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