Asp.net postback in gridview
<p>In my asp.net application i have a gridview control, in which i added a template column with fileupload control.
And outside the gridview in the page i have a button control which performs some task.
My issue is that when i click the button, the file which i chosen via file upload control in gridview has get refreshed and the file path vanishes.
How can i stop refreshing the gridiew when i click the button.
Button is not inside the grid.</p>

<pre><code>protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            DataTable dt = new DataTable();

            DataColumn dc1 = new DataColumn("id", typeof(string));
            dt.Columns.Add(dc1);
            dr = dt.NewRow();
            dr[0] = "abcd";
            dt.Rows.Add(dr);
            DataSet ds = new DataSet();
            ds.Tables.Add(dt);
            GridView1.DataSource = ds;
            GridView1.DataBind();
        }
    }
</code></pre>
