Description: Before running the system described in the system, the user must modify the database connection string, in this case the connection string stored in the database file Conn.cs App_Code class file in createconn () function, users only need to modify the file the connection string to the database. public static SqlConnection createconn () {SqlConnection con = new SqlConnection (" server = (local) database = cmsnews uid = sa pwd = sa " ) return con } after the modification is completed, the user that is running Default.aspx Home available.
To Search:
File list (Check if you may need any files):
新闻发布系统
............\App_Code
............\........\conn.cs
............\App_Data
............\Bin
............\...\WebControlLibrary.dll
............\...\WebControlLibrary.dll.refresh
............\...\WebControlLibrary.pdb
............\Default.aspx
............\Default.aspx.cs
............\NewsPub.css
............\PopRegister.css
............\SiteStyle.css
............\Web.Config
............\cms
............\...\App_Code
............\...\........\conn.cs
............\...\App_Data
............\...\Bin
............\...\...\WebControlLibrary.dll
............\...\...\WebControlLibrary.dll.refresh
............\...\...\WebControlLibrary.pdb
............\...\Default.aspx
............\...\Default.aspx.cs
............\...\NewsPub.css
............\...\PopRegister.css
............\...\SiteStyle.css
............\...\Web.Config
............\...\cms.sln
............\...\cms.suo
............\...\comment.aspx
............\...\comment.aspx.cs
............\...\css
............\...\...\css.css
............\...\css.css
............\...\data
............\...\image.aspx
............\...\image.aspx.cs
............\...\img
............\...\...\Reg_01.gif
............\...\...\Reg_02.gif
............\...\...\Reg_03.jpg
............\...\...\Reg_04.gif
............\...\...\Reg_07.jpg
............\...\...\Thumbs.db
............\...\...\admin.jpg
............\...\...\mmf.gif
............\...\login.aspx
............\...\login.aspx.cs
............\...\manage
............\...\......\Default.aspx
............\...\......\Default.aspx.cs
............\...\......\addnews.aspx
............\...\......\addnews.aspx.cs
............\...\......\addtype.aspx
............\...\......\addtype.aspx.cs
............\...\......\admin.aspx
............\...\......\admin.aspx.cs
............\...\......\adminhead.aspx
............\...\......\adminhead.aspx.cs
............\...\......\editnews.aspx
............\...\......\editnews.aspx.cs
............\...\......\edituser.aspx
............\...\......\edituser.aspx.cs
............\...\......\managecomment.aspx
............\...\......\managecomment.aspx.cs
............\...\......\managetype.aspx
............\...\......\managetype.aspx.cs
............\...\readallnews.aspx
............\...\readallnews.aspx.cs
............\...\readnews.aspx
............\...\readnews.aspx.cs
............\...\register .aspx
............\...\register .aspx.cs
............\...\register.aspx
............\...\register.aspx.cs
............\...\registerall.aspx
............\...\registerall.aspx.cs
............\...\search.aspx
............\...\search.aspx.cs
............\...\sql.sql
............\...\style.css
............\...\table.aspx
............\...\table.aspx.cs
............\...\text.aspx
............\...\text.aspx.cs
............\...\usecontral
............\...\..........\admin.ascx
............\...\..........\admin.ascx.cs
............\...\..........\adminhead.ascx
............\...\..........\adminhead.ascx.cs
............\...\..........\foot.ascx
............\...\..........\foot.ascx.cs
............\...\..........\friend.ascx
............\...\..........\friend.ascx.cs
............\...\..........\head.ascx
............\...\..........\head.ascx.cs
............\...\..........\new_news.ascx
............\...\..........\new_news.ascx.cs
............\...\..........\news.ascx