Exemple #1
0
 public ServiceModel GetServiceMode()
 {
     ServiceModel servicemodel = new ServiceModel();
     string sql = "select Sale,Content,AfterSale from T_Service";
     DataSet ds = SQLiteHelper.ExecuteDataSet(sqlconnection, sql, null);
     if (ds.Tables[0].Rows.Count > 0)
     {
         servicemodel.ServiceContent = ds.Tables[0].Rows[0]["Content"].ToString();
         servicemodel.Serviceing = ds.Tables[0].Rows[0]["Sale"].ToString();
         servicemodel.Serviced = ds.Tables[0].Rows[0]["AfterSale"].ToString();
     }
     return servicemodel;
 }
        private void InitUI()
        {
            //            this.txt_ServiceContent.Text = @"      客户服务内容包括:负责处理开票请求、账户维护、服务分派、时间安排、一般信息。客户服务通常通过电话进行,但也可以通过电

            //子邮件、传真、自服务活邮件进行,它包括:普通服务,现场调研、产品设计、提供产品说明书、提供咨询服务等。客户服务内容包括:
            //负责处理开票请求、账户维护、服务分派、时间安排、一般信息。客户服务通常通过电话进行,但也可以通过电子邮件、传真、自服务活

            //邮件进行,它包括:普通服务,现场调研、产品设计、提供产品说明书、提供咨询服务等。";
            //            this.txt_ServiceContent.Width = 1500;
            ServiceModel servicemodel = new ServiceModel();
            servicemodel = bl.GetServiceMode();
            this.txt_ServiceContent.Text = servicemodel.ServiceContent;
            //this.txt_Serviceing.Text = servicemodel.Serviceing;
            //this.txt_Serviced.Text = servicemodel.Serviced;
        }