Skip to content

Instantly share code, notes, and snippets.

@JosiahSiegel
Last active June 2, 2017 17:18
Show Gist options
  • Save JosiahSiegel/4928fea03b4d64aaea94 to your computer and use it in GitHub Desktop.
Save JosiahSiegel/4928fea03b4d64aaea94 to your computer and use it in GitHub Desktop.
#ASP .NET csv upload fix
protected void Page_Load(object sender, EventArgs e)
{
Page.Form.Attributes.Add("enctype", "multipart/form-data");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment