Example #1
0
 //public System.Data.DataTable dbGetSlideShow()
 //{
 //    return objSlide.GetAllWithStatus();
 //}
 void loadFooter()
 {
     try
     {
         DataTable dbFooter = objFooter.GetData();
         ltFooter.Text = dbFooter.Rows[0]["Content"].ToString();
     }
     catch
     {
         ltFooter.Text = "";
     }
 }
Example #2
0
 private void getdata()
 {
     try
     {
         DataTable dt = objFooter.GetData();
         txtContent.Text = dt.Rows[0]["content"].ToString();
     }
     catch
     {
         txtContent.Text = "";
     }
 }