T
Taryon
private void button5_Click(object sender, System.EventArgs e)
{
HttpWebRequest request = (HttpWebRequest)WebRequest.Create
("http://192.168.0.2/card/default.aspx?card="+textBox1.Text);
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
String ver = response.ProtocolVersion.ToString();
StreamReader reader = new StreamReader(response.GetResponseStream() );
string str = reader.ReadLine();
while(str != null)
{
Console.WriteLine(str);
str = reader.ReadLine();
string x=""; <-- i have a breakpoint here.
this is my routine to send the card number. my default.aspx page gets this
number and find the informations on the database.
the default.aspx page then i use the Response.Write(info); but i got the
line below.
i know that i am doing wrong but ....
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" >"
{
HttpWebRequest request = (HttpWebRequest)WebRequest.Create
("http://192.168.0.2/card/default.aspx?card="+textBox1.Text);
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
String ver = response.ProtocolVersion.ToString();
StreamReader reader = new StreamReader(response.GetResponseStream() );
string str = reader.ReadLine();
while(str != null)
{
Console.WriteLine(str);
str = reader.ReadLine();
string x=""; <-- i have a breakpoint here.
this is my routine to send the card number. my default.aspx page gets this
number and find the informations on the database.
the default.aspx page then i use the Response.Write(info); but i got the
line below.
i know that i am doing wrong but ....
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" >"