コード例 #1
0
    protected string GetUpWaitTime(string templateid)
    {
        IList <SVM_UploadTemplate> uplist = SVM_UploadTemplateBLL.GetModelList("State=1 AND AccountMonth=" + ddl_AccountMonth.SelectedValue + " AND ID<=" + templateid);

        if (uplist.Count > 0)
        {
            return(DateTime.Now.AddSeconds(30 * uplist.Count).ToString());
        }
        return("");
    }
コード例 #2
0
    protected string GetUpWait(string templateid)
    {
        IList <SVM_UploadTemplate> uplist = SVM_UploadTemplateBLL.GetModelList("State=1 AND AccountMonth=" + ddl_AccountMonth.SelectedValue + " AND ID<=" + templateid);

        return(uplist.Count > 0 ? (uplist.Count).ToString() : "");
    }