コード例 #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);
 }