protected void lbMyuploadStatTiJiao_Click(object sender,CommandEventArgs e) { string date = e.CommandArgument.ToString(); DateTime dtStart = Convert.ToDateTime(date); DateTime dtEnd = dtStart.AddDays(1); Resource obj = new Resource(); obj.ValidateResourceByUserDate1(CurrentUser.UserId, dtStart, dtEnd, (int)ResourceEntity.ResourceStatus.NewUpload ,(int)ResourceEntity.ResourceStatus.IsProcessing); bindMyUploadStat(); this.profileContainer.ActiveTab = this.tabMyUpload; }