Ejemplo n.º 1
0
        public alarm_recipientDataTable GetRecipients(string label)
        {
            var tbl = new alarm_recipientDataTable();

            m_server.FillTable(tbl, "select * from alarm_recipient where list = '" + label + "' order by call_order");
            tbl.idColumn.AutoIncrementSeed = m_server.NextID("alarm_recipient", "id");
            tbl.listColumn.DefaultValue    = label;
            return(tbl);
        }
Ejemplo n.º 2
0
 public alarm_recipientDataTable GetRecipients(string label)
 {
     var tbl = new alarm_recipientDataTable();
     m_server.FillTable(tbl, "select * from alarm_recipient where list = '" + label + "' order by call_order");
     tbl.idColumn.AutoIncrementSeed = m_server.NextID("alarm_recipient", "id");
     tbl.listColumn.DefaultValue = label;
     return tbl;
 }