You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/PriceCarrier/CrmProxyMailInfoHtml.aspx.cs

71 lines
2.0 KiB
C#

3 years ago
using System;
using System.Collections;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Text;
using DSWeb.DataAccess;
using System.Data.SqlClient;
using DSWeb.Models;
using DSWeb.EntityDA;
namespace DSWeb.PriceCarrier
{
public partial class CrmProxyMailInfoHtml : System.Web.UI.Page
{
CrmProxyMailEntity CrmProxyMailEntity = new CrmProxyMailEntity();
CrmProxyMailDA CrmProxyMailDA = new CrmProxyMailDA();
T_ALL_DA T_ALL_DA = new T_ALL_DA();
public string sSQL = String.Empty;
public string PageMeta = "";
public string Filesid = "";
public string strGID = "";
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
Session["ReUrl"] = Request.Url.ToString().Trim();
//
if (Request.QueryString["id"] != null)
{
strGID = Request.QueryString["id"].ToString();
}
//
if (strGID != "")
{
CrmProxyMailEntity = CrmProxyMailDA.GetID(strGID);
if (CrmProxyMailEntity.GID != null)
{
lbTITLE.Text = CrmProxyMailEntity.TITLE.ToString().Trim();
lbBEGINTIME.Text = CrmProxyMailEntity.BEGINTIME.ToString().Trim();
tbCONTENTS.Text = CrmProxyMailEntity.CONTENTS.ToString().Trim();
}
}
}
}
public bool IsNumeric(string s)
{
bool bReturn = true;
try
{
int inum = int.Parse(s);
}
catch
{
bReturn = false;
}
return bReturn;
}
}
}