Hi ALL,
I came across a problem when i am printing the content disposition value in a label.My code is given below(.NET4.0)...
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
MIMESection COResult = new MIMESection();
COResult.ContentDisposition = new ContentDisposition("form-data; name=\"yttuytuyt\";filename=\"ram\"");
COResult.ContentType = new ContentType("text/plain; charset=UTF-8");
Label1.Text = COResult.ContentDisposition.ToString();
}
}
}
The input which i gave is
new ContentDisposition("form-data; name=\"yttuytuyt\";filename=\"ram\"");
But the when the label is printed it is showing in different format...
< ...
Go to the complete details ...