hi,
I want to pass data from wep page to windows form in .net.
in my windows from, when i am click one button it navigate to one webpage ,this wep page contains one gridview with hyperlink columns.
when iam click on hyperlink taht time i want to pass value to my windows form.
plz send me any sample code
Loading
Kirtan PatelPosted Oct 8, 2009, 10:53 AM
I have Idea About that ,you can not simply pass the data
But one thing is possible on Every Click Write Row Data From gridView to Intermediate File/Database and Retrieve that data From File To Windows Form using Stream Reader :).
You can also Use XML Instead Text file . or Simply Database Will Also Work :)
Master BillaPosted Oct 8, 2009, 10:49 AM
It's easy, when you are click the hyper link, you can start the windows form exe and pass the arguments.
private void hyperLink_Click(Object sender , EventArgs e)
{
string submissionID="123";
string SRProcessPath ="example.exe";
if (File.Exists(SRProcessPath))
{
Process.Start(SRProcessPath,submissionID);
}
}
that's all
Thank you