//========================



        //========================



        public static SurveyDS.SurveyResponseDSDataTable GetSurveyResponseByIncident(Int32 incidentId)
        {
            SurveyResponseDSTableAdapter ta = new SurveyResponseDSTableAdapter();

            ta.Connection.ConnectionString = UcConnection.ConnectionString;
            return(ta.GetSurveyResponseByIncident(incidentId));
        }
        public static Int32 InsertSurveyResponse(Int32 incidentId, Int32 surveyId, Int32 questionId, string surveyResponse)
        {
            SurveyResponseDSTableAdapter ta = new SurveyResponseDSTableAdapter();

            ta.Connection.ConnectionString = UcConnection.ConnectionString;

            int id = Convert.ToInt32(ta.InsertSurveyResponse(incidentId, surveyId, questionId, surveyResponse));

            return(id);
        }