Hi,
i thing the error is from the DataKeys collection.
if you can get autoID as one of the gridview columns then simply you can use like this..
string autoID = e.Row.Cells[0].Text;
SqlConnection con = ConnectionClass.GetConnection();
SqlCommand cmd=new SqlCommand("delete from information where id='"+ Convert.ToInt32(autoID) + "'", con);
cmd.ExecuteNonQuery();
hope it helps..