09-27
This commit is contained in:
@@ -72,7 +72,19 @@ namespace FCOMMON
|
||||
return dt;
|
||||
}
|
||||
|
||||
|
||||
public static Dictionary<string, string> getProjectList(string StateCode = "")
|
||||
{
|
||||
string where = "status = '{0}'";
|
||||
if (StateCode != "") where = string.Format(where, StateCode);
|
||||
else where = string.Empty;
|
||||
|
||||
return getTwoColumnList("Projects", "idx", "name", where, "status,name");
|
||||
}
|
||||
public static System.Data.DataTable getProjectData(string StateCode = "")
|
||||
{
|
||||
var list = getProjectList(StateCode);
|
||||
return MakeDataTable(list);
|
||||
}
|
||||
public static Dictionary<string,string> getCodeList(string GroupCode="99")
|
||||
{
|
||||
string where = "Grp = '{0}'";
|
||||
|
||||
Reference in New Issue
Block a user