示例#1
0
        public ContactUsInfo Get(ContactUsInfo model)
        {
            ContactUsInfo returnValue = new ContactUsInfo();
            try
            {
                string spName = "uspAboutInsertUpdate";
                SqlParameter[] param =  {
                SqlHelper.SqlParameter("@aboutus_id", System.Data.SqlDbType.Int, model.ContactId)
                };

                using (SqlDataReader rdr = SqlHelper.ExecuteReader(SqlHelper.ConnectionStringLocalTransaction, System.Data.CommandType.StoredProcedure, spName, param))
                {
                    while (rdr.Read())
                    {

                    }
                }
            }
            catch (Exception ex)
            {

            }

            return returnValue;
        }
示例#2
0
        public HtmlString GetContactUsHTML(ContactUsInfo cInfo)
        {
            StringBuilder str = new StringBuilder("");

            ContactUs contactUs = new ContactUs();

            return new HtmlString(str.ToString());
        }
示例#3
0
文件: ContactUs.cs 项目: rajup3/afms
 public ContactUsInfo Get(ContactUsInfo model)
 {
     ContactUsDAL dal = new ContactUsDAL();
     return dal.Get(model);
 }