Exemple #1
0
        public DataTable NW_Dhcp_Ip_GetbyPoolModem_MySQL()
        {
            string sql = "select * from NW_Dhcp_Ip where Name like '%Modem%'";

            return(MySqlConnect.ExecQuery(sql));
        }
Exemple #2
0
        public DataTable NW_Dhcp_Ip_GetbyCPEStatic_MySQL()
        {
            string sql = "select * from NW_Dhcp_Ip where Name like 'CPE%' and Static=1";

            return(MySqlConnect.ExecQuery(sql));
        }
Exemple #3
0
        public DataTable NW_Dhcp_Customer_GetbyIp_MySQL()
        {
            string sql = "select * from NW_Dhcp_Customer where IpAddress='" + IpAddress + "'";

            return(MySqlConnect.ExecQuery(sql));
        }
Exemple #4
0
        public DataTable NW_Dhcp_Ip_GetIPbyPool_MySQL()
        {
            string sql = "select * from NW_Dhcp_Ip where PoolIP ='" + PoolIp + "'";

            return(MySqlConnect.ExecQuery(sql));
        }
Exemple #5
0
        public DataTable NW_Dhcp_Customer_GetbyPoolPublic_MySQL()
        {
            string sql = "select * from NW_Dhcp_Customer where PoolPublic='" + PoolIp + "'";

            return(MySqlConnect.ExecQuery(sql));
        }