Function disableBackButton (), StringSplitOptions.RemoveEmptyEntries) For i As Integer = 0 To arrOtherApplications.Length - 1 If String.IsNullOrEmpty(sOtherApplications) Then sOtherApplications = sOtherApplications + arrOtherApplications(i).ToString.Trim Else sOtherApplications = sOtherApplications + vbCrLf + arrOtherApplications(i).ToString.Trim End If Next txtOtherApplications.Text = sOtherApplications Else txtOtherApplications.Text = "" End If Try cboxDepot.SelectedValue = dt.Rows(0).Item(" Depot ").ToString.ToUpper Catch ex As Exception cboxDepot.SelectedValue = " - Select Depot - " End Try If Not String.IsNullOrEmpty(dt.Rows(0).Item(" DateTime ").ToString) Then btnSubmit.Text = " UPDATE QUESTIONNAIRE RESULTS SUBMITTED ON " + dt.Rows(0).Item(" DateTime ").ToString Else btnSubmit.Text = " UPDATE QUESTIONNAIRE RESULTS " End If Else btnSubmit.Text = " SUBMIT QUESTIONNAIRE " End If Catch ex As Exception Response.Redirect(" updateFailed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |