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/54f3ceba/6be944cd/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : D:/tmp_aspnet/root/54f3ceba/6be944cd/App_Web_uicgouqi.1.cs
?#pragma checksum "D:\wwwroot\klbttc\wwwroot\projectshow.aspx.cs" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "22B3CE48A47AC922EBA450BB1667446F691A45CA"

#line 1 "D:\wwwroot\klbttc\wwwroot\projectshow.aspx.cs"
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page
{
    C c = new C();
    DataSet ds = new DataSet();
    public int mid, id = 0;
    public string webSite, webSite1 = "";
    public string shang, xia, ss,news_name = "";

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            mid = int.Parse(Request.QueryString["mid"].ToString());
        }
        catch { }
        try
        {
            id = int.Parse(Request.QueryString["id"].ToString());
        }
        catch { }

        //新闻列表
        string sql = "select * from project where project9=@mid and project0=@id";
        SqlParameter[] ps = new SqlParameter[]{
                    new SqlParameter("@mid",mid),
                    new SqlParameter("@id",id),
                };
        ds = MyFunction.Query(sql, ps);
        if (ds.Tables.Count > 0)
        {
            if (ds.Tables[0].Rows.Count > 0)
            {
                ss = ds.Tables[0].Rows[0]["project7"].ToString();
                news_name = ds.Tables[0].Rows[0]["project1"].ToString();
                rep_show_list.DataSource = ds.Tables[0];
                rep_show_list.DataBind();
            }
        }


        ds = c.GetDs("SELECT MenuSys_1.MenuSys1 AS Expr1, MenuSys.*,MenuSys_1.MenuSys0 AS Expr3 FROM MenuSys INNER JOIN MenuSys MenuSys_1 ON MenuSys.MenuSys3 = MenuSys_1.MenuSys0 WHERE  (MenuSys.MenuSys0 = " + mid.ToString() + " )");
        webSite1 = ds.Tables[0].Rows[0]["Expr1"].ToString();
        webSite = ds.Tables[0].Rows[0]["MenuSys1"].ToString();

        this.Title = news_name + " - " + Application["sysset1"].ToString();
    }

}

#line default
#line hidden