示例#1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            Class1 c1 = new Class1();

            con = new SqlConnection(c1.connect().ToString());
            if (!IsPostBack)
            {
                BindGrid();
            }
        }
示例#2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            Class1 c1 = new Class1();

            con = new SqlConnection(c1.connect().ToString());
        }