Exemplo n.º 1
0
 public static int GetMaxFolderId(string ParentId)
 {
     if (ParentId == "")
     {
         return(StockDB.GetMaxValue(StockDB.dtFolderAll, "FolderId", ""));
     }
     return(StockDB.GetMaxValue(StockDB.dtFolderAll, "FolderId", "ParentId=" + ParentId));
 }