Exemple #1
0
        private void ShowListInGrid(string UserRef)
        {
            //tPacientList dsGridDetail = new tPacientList(DetailList(UserRef));
            tAnyParamList dsGridDetail = new tAnyParamList(DetailList(UserRef));

            GridView1.DataSource = dsGridDetail;
            GridView1.DataBind();
            PagerDraw(RecordCount, PageNumber, RowsPerPage);
        }
Exemple #2
0
        protected void FillDataTypeList()
        {
            wsSky           wsd = UserData.NewWS();
            otAnyActionResp wssod;
            otAnyActionData AnyActionData = AnyActionDataForDataTypeList();

            wssod = wsd.fAnyAction(UserData.UserRef, AnyActionData);

            otAnyActionParam[] DataTypeList = wssod.prAnyActionParams;
            dsDataTypeCB = new tAnyParamList(DataTypeList);

            cbDataTypeList.DataSource     = dsDataTypeCB;
            cbDataTypeList.DataTextField  = "prName";
            cbDataTypeList.DataValueField = "prValue";
            cbDataTypeList.DataBind();
        }
Exemple #3
0
        protected void FillTemplateList()
        {
            wsSky           wsd = UserData.NewWS();
            otAnyActionResp wssod;
            otAnyActionData AnyActionData = AnyActionDataForTemplateList();

            wssod = wsd.fAnyAction(UserData.UserRef, AnyActionData);


            otAnyActionParam[] TemplateList = wssod.prAnyActionParams;
            dsTemplates = new tAnyParamList(TemplateList);


            cbTemplates.DataSource     = dsTemplates;
            cbTemplates.DataTextField  = "prName";
            cbTemplates.DataValueField = "prValue";
            cbTemplates.DataBind();

            //NewRow = new otStringRow();
            //NewRow.prRowText = ReasonRef;
            //NewRow.prRowValue
        }