Пример #1
0
    public static DataTable Get_FB_Message_List(string Dialog_Chk)
    {
        var cmd = new SqlCommand();

        cmd.CommandText = @"select top 100 * from FB_message
            where Dialog_Chk=@Dialog_Chk";
        cmd.Parameters.Add("Dialog_Chk", SqlDbType.Int).Value = Dialog_Chk;
        return(Persister.ExecuteFB(cmd));
    }