hi, i've been reading up on web services and the way data can be transmitted using xml. i'm wondering if an entire file could also be sent this way. can anyone enlighten me?
how about this?
enter.aspx.cs:
// if id1 is a string
id1 = Request.QueryString["id1"];
// if id2 is an integer
id2 = int.Parse(Request.QueryString["id2"]);
// do what you want
// redirect
Server.Redirect ("http://www.server1.com/received.aspx?id1="+id1+"&id2="+id2.ToString());
i don't know how to fix your problem but this code works great for me
-----
MemoryStream oStream;
oStream = (MemoryStream) report.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);
Response.Clear();
Response.Buffer= true;
Response.ContentType = "application/pdf";
Response.BinaryWrite(oStream.ToArray());
Response.End();
-----