How do I get the image path from a imagebutton when the button is clicked Asp.net
<p>Better question would be is it possible to get the image path from the image button when clicked? I'm using the gridview in asp.net and I'm trying to get the image path from the image button when it's clicked so I can populate my next page with more detailed information by using the image path to set the next page or is there a better way of going about this? Any help is greatly appreciated. 
I've provided the code for my gridview and I need help with the code behind( which I do not have at the moment)</p>

<pre><code>&lt;asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="CourseId" DataSourceID="SqlDataSource1"
    CssClass="table table-striped table-responsive" Style="background-color: white; border: 5px solid green; padding-right: 10px;"&gt;
    &lt;Columns&gt;
        &lt;asp:BoundField DataField="Department" HeaderText="Department" SortExpression="Department" /&gt;
        &lt;asp:TemplateField HeaderText="CourseImage" SortExpression="CourseImage"&gt;
            &lt;EditItemTemplate&gt;
                &lt;asp:TextBox ID="TextBox1" runat="server" Text='&lt;%# Bind("CourseImage") %&gt;'&gt;&lt;/asp:TextBox&gt;
            &lt;/EditItemTemplate&gt;
            &lt;ItemTemplate&gt;
                &lt;asp:ImageButton ID="ImageButton1" runat="server" ImageUrl='&lt;%# Eval("CourseImage") %&gt;' PostBackUrl="~/DetailPage.aspx" OnClick="ImageButton1_Click" /&gt;
            &lt;/ItemTemplate&gt;
        &lt;/asp:TemplateField&gt;
        &lt;asp:BoundField DataField="CourseId" HeaderText="CourseId" SortExpression="CourseId" ReadOnly="True" /&gt;
        &lt;asp:BoundField DataField="CourseName" HeaderText="CourseName" SortExpression="CourseName" /&gt;
        &lt;asp:BoundField DataField="ShortDescription" HeaderText="ShortDescription" SortExpression="ShortDescription" /&gt;
    &lt;/Columns&gt;
&lt;/asp:GridView&gt;
&lt;asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="&lt;%$ ConnectionStrings:ConnectionString %&gt;" SelectCommand="SELECT [Department], [CourseImage], [CourseId], [CourseName], [ShortDescription] FROM [Table] WHERE ([Department] = @Department)"&gt;
    &lt;SelectParameters&gt;
        &lt;asp:ControlParameter ControlID="DropDownList1" Name="Department" PropertyName="SelectedValue" Type="String" /&gt;
    &lt;/SelectParameters&gt;
&lt;/asp:SqlDataSource&gt;
</code></pre>