using System;
using System.Data;
using System.Configuration;
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 System.Data.SqlClient;

public partial class _Default : System.Web.UI.Page 
{
    INews shownews = new Mynews();
    protected void Page_Load(object sender, EventArgs e)
    {
        this.Title = ConfigurationManager.AppSettings["WebTitle"].ToString() + "--企业荣誉";
        if (!Page.IsPostBack)
        {
            Showglroy();
           
        }
        
    }
    protected void Showglroy()
    {
        SqlDataReader dr = shownews.SqlGetinfo("SELECT Glory FROM Corp");
        if (dr.Read())
        {
            lblGlory.Text = dr["Glory"].ToString();
        }
    }
   
}
