In the sense if you want to have the event generated in the page_Load event itself definitely you have to get the parameter from the previous pages right??????
in the page_Load event pass the cookies or session variables
// declare a Variable i;
protected void Page_Load (object sender,EventArgs e)
{
i=""+Request.Cookies["Karthik"]["Data"];
or
i=""+Session["karthik"];
write the stored procedure here
}
Mark As Answer if this helps you
Further Queries Recommended
Happy Coding