918博天堂

Server : Microsoft-IIS/10.0
System : Windows NT EBS-6136 10.0 build 17763 (Windows Server 2016) i586
User : jxgj ( 0)
PHP Version : 7.0.33
Disable Function : passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server
Directory :  D:/tmp_aspnet/root/b8bcf8c8/45c44a59/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : D:/tmp_aspnet/root/b8bcf8c8/45c44a59/App_Web_hyjpn8wx.7.cs
?#pragma checksum "D:\wwwroot\patena\wwwroot\brand.aspx.cs" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "8DEA1C1AEAD2444EE6B58082CE549676"

#line 1 "D:\wwwroot\patena\wwwroot\brand.aspx.cs"
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using TCLinkModel;
using TCLinkBLL;
public partial class brand : System.Web.UI.Page
{
    protected string title;
    protected string keywords;
    protected string description;
    protected string type;
    protected string type1;
    protected string images;

    protected string id;
    NewsManager nmanager = new NewsManager();
    NewsTypeManager tmanager = new NewsTypeManager();
    NewsClassManager cmanager = new NewsClassManager();
    protected void Page_Load(object sender, EventArgs e)
    {
        BindDate();
    }

    public void BindDate()
    {
        //绑定网站信息

        DataTable dt = nmanager.NewsByType(223, 1);
        if (dt.Rows.Count > 0)
        {
            title = dt.Rows[0]["NTitle"].ToString();
            keywords = dt.Rows[0]["NKeywords"].ToString();
            description = dt.Rows[0]["NDescription"].ToString();

        }

        this.ddlabouts.DataSource = nmanager.NewsByType(213,1);
        this.ddlabouts.DataBind();

 

    }

    //截取字符
    protected string str(string myobj, int count)
    {
        string mystr = myobj.ToString();
        string returnstr = mystr;
        if (mystr.Length > count)
        {
            returnstr = mystr.Substring(0, count) + "...";
        }
        return returnstr;
    }
 
}


#line default
#line hidden