You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
522 B
C#
24 lines
522 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Web.UI.WebControls;
|
|
|
|
namespace Rs.Framework
|
|
{
|
|
public class ObjectHelper
|
|
{
|
|
public static bool IsNotNullorEmpty(object obj)
|
|
{
|
|
if(obj != null && obj is DataTable)
|
|
{
|
|
DataTable dt = (DataTable)obj;
|
|
return dt != null && dt.Rows.Count > 0;
|
|
}
|
|
return false;
|
|
}
|
|
}
|
|
}
|