コード例 #1
0
 protected void ddlProjects_SelectedIndexChanged(object sender, EventArgs e)
 {
     DataSet ds = null;
     objTrackUser = new TrackUser();
     objTrackUser.ProjectID = Int32.Parse(ddlProjects.SelectedValue);
     ds = objTrackUser.readLogFile();
     rptLogList.DataSource = ds;
     rptLogList.DataBind();
     if (ds.Tables[0].Rows.Count <= 0)
     {
         lblError.Text = "No records Found";
     }
     else
     {
         lblError.Text = String.Empty;
     }
 }
コード例 #2
0
 private void userTracker()
 {
     objTrackUser = new TrackUser();
         objTrackUser.ProjectID = Int32.Parse(Request.QueryString["pid"]);
         objTrackUser.BID = Int32.Parse(Request.QueryString["bid"]);
         objTrackUser.ViewedBy = Convert.ToString(Request.QueryString["email"]);
         objTrackUser.intTrackUserRecord();
 }