protected override void Page_Load_Extended(object sender, EventArgs e)
 {
     LabelError.Visible = false;
     if (Request["ProcedureId"] != null && Request["ProcedureId"].Length > 0)
     {
         ButtonSave.Text = "Update Procedure";
         ProceduresTableAdapters.ProcedureSelectCommandTableAdapter procTA = new ProceduresTableAdapters.ProcedureSelectCommandTableAdapter();
         Procedures.ProcedureSelectCommandDataTable procDT = procTA.GetProcedure(int.Parse(Request["ProcedureId"]));
         IEnumerator procIEnum = procDT.GetEnumerator();
         if(procIEnum.MoveNext())
         {
             Procedures.ProcedureSelectCommandRow procDR = (Procedures.ProcedureSelectCommandRow)procIEnum.Current;
             try
             {
                 TextBoxProcedureName.Text = procDR.ProcedureName;
                 DropDownListModalities.SelectedValue = procDR.ModalityId.ToString();
                 TextBoxCPTCode.Text = procDR.CPTCode;
             }
             catch (StrongTypingException ex)
             { }
         }
     }
 }