protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         Dtlblog.DataSource = DBProvider.BlogDB.Instance.getlistBlog();
         Dtlblog.DataBind();
     }
 }
Example #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         int id = int.Parse(Request.QueryString["ID"]);
         rpcontent.DataSource = DBProvider.BlogDB.Instance.getlistBlog(id);
         rpcontent.DataBind();
         Dtlblog.DataSource = DBProvider.BlogDB.Instance.getlistBlog();
         Dtlblog.DataBind();
     }
 }