protected void DeployResource(object sender, EventArgs e) { try { Button theButton = sender as Button; resourceID = Convert.ToInt32(theButton.CommandArgument); acName = theButton.Attributes["acName"]; prName = theButton.Attributes["prName"]; startDate = theButton.Attributes["StartDate"]; endDate = theButton.Attributes["EndDate"]; RequesterEmailID = theButton.Attributes["RequesterEmail"]; DeployResourcesBL.DeployStatus(Convert.ToInt32(theButton.Attributes["AllocationID"])); Email(); BindRepeater(); } catch (Exception ex) { Console.WriteLine(ex.Message); } }
public void BindRepeater() { DeployResourcesBL.Bind(rptDeployResources); }