프로젝트 관련 업데이트
This commit is contained in:
@@ -19,7 +19,18 @@ namespace FCOMMON
|
||||
{
|
||||
public static partial class Util
|
||||
{
|
||||
public static string MakeFilterString(string[] cols,string search)
|
||||
{
|
||||
|
||||
|
||||
string filterStr = "";
|
||||
foreach (var col in cols)
|
||||
{
|
||||
if (filterStr != "") filterStr += " OR ";
|
||||
filterStr += string.Format("isnull({0},'') like '%#%'", col);
|
||||
}
|
||||
return filterStr.Replace("#", search.Replace("'","''"));
|
||||
}
|
||||
public static void CopyData(System.Data.DataRow drFrom, System.Data.DataRow drTo)
|
||||
{
|
||||
for (int i = 0; i < drFrom.ItemArray.Length; i++)
|
||||
|
||||
Reference in New Issue
Block a user