<asp:linkbutton id="lnkEdit" postbackurl="<%# "CourseList.aspx?ID=" + Eval("ID")%>" text="Edit Courses" runat="server" xmlns:asp="#unknown"></asp:linkbutton>
and in redirected page means on CourseList.aspx page
check like
string id = Request.QueryString["ID"].ToString();
if(id != "" or id != null)
{
}