ASP.net C# Name gridview collums after custom DataBind
<p>Is there the possibility to give a gridview's collums a custom name using programming code (C#) ? </p>

<p>F.E. I databind my gridview (wich is empty in my aspx, except for the layout) using following code :</p>

<pre><code>        SqlCommand objCommand = new SqlCommand("SELECT M.Mod_ID, M.Mod_Naam, M.Mod_Omschrijving, M.Taal_Id, M.User_ID FROM Toewijzing T, Model M WHERE T.User_ID = '" + Session["userid"].ToString() + "' AND T.Toe_Status = '" + "ja" + "' AND M.Mod_ID = T.Mod_ID", con);
        dr = objCommand.ExecuteReader();
        gvIngevuld.DataSource = dr;
        gvIngevuld.DataBind();
        dr.Close();
</code></pre>

<p>How do I give these collums a costum name ? Like F.E. "Modelnr." for the first collum, "Modelnaam" for the 2nd, etc.
Olso i was wondering if there was an option to enable paging (per 20 records) and to enable sorting ?</p>

<p>Any help is welcome !
Thank you.</p>
