First Assign the Command Name to the Button where you click to redirect to certain page.
And next write the below shown code as required to your requirement and make some changes.write it inside itemcommand event of datalist.
if (e.CommandName == "View")
{
DataList1.SelectedIndex = e.Item.ItemIndex;
Label lblModelNo= (Label)e.Item.FindControl("lblModelNo");
}
refer this
Working with the DataList Control[
^]