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("");
    }
    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() : "");
    }