Hello SRajendran,
I had to dig till now the most from the solution of this question so if you got it works for you don't forget to mark it as answer and to upvote also.
Now below is solution
if (e.CommandName == "HitMyCommand")
{
Button btn= (Button)DataList1.Controls[DataList1.Controls.Count - 1].FindControl("Button1");
btn.Enabled = true;
}
Here Trick is in
DataList1.Controls.Count . As we know Footer will be the last in Controls index and header will always be first.
Hope This Works For YOu Also!!!