Пример #1
0
        public void InsertQryResElement(TSWDB_BaseQryResElement qryresElem, bool useShowOrderInElem)
        {
            DataRow drRow = dsQueryResult.Tables[0].NewRow();

            intLastShowOrderForTempInsert++;
            drRow[CQryResField_ShowOrder]=(useShowOrderInElem==true?qryresElem.intShowOrder:intLastShowOrderForTempInsert);
            drRow[CQryResField_QueryDetailAA]=qryresElem.intQueryDetailAA;
            drRow[CQryResField_QueryID]=qryresElem.intQueryID;
            drRow[CQryResField_URLId]=qryresElem.intURLId;
            drRow[CQryResField_URL]=qryresElem.strURL;
            drRow[CQryResField_PageView]=qryresElem.strPageView;
            drRow[CQryResField_PercentSuccess]=qryresElem.dcmPercentSuccess;

            dsQueryResult.Tables[0].Rows.Add(drRow);
        }
Пример #2
0
        public void InsertQryResElement(TSWDB_BaseQryResElement qryresElem, bool useShowOrderInElem)
        {
            DataRow drRow = dsQueryResult.Tables[0].NewRow();

            intLastShowOrderForTempInsert++;
            drRow[CQryResField_ShowOrder]      = (useShowOrderInElem == true?qryresElem.intShowOrder:intLastShowOrderForTempInsert);
            drRow[CQryResField_QueryDetailAA]  = qryresElem.intQueryDetailAA;
            drRow[CQryResField_QueryID]        = qryresElem.intQueryID;
            drRow[CQryResField_URLId]          = qryresElem.intURLId;
            drRow[CQryResField_URL]            = qryresElem.strURL;
            drRow[CQryResField_PageView]       = qryresElem.strPageView;
            drRow[CQryResField_PercentSuccess] = qryresElem.dcmPercentSuccess;

            dsQueryResult.Tables[0].Rows.Add(drRow);
        }