Beispiel #1
0
        // Get primary antibodies that match keyword
        public static DataTable GetVectors(String filter, String keyword)
        {
            RMSDBConnection myConn = new RMSDBConnection(System.Configuration.ConfigurationManager.AppSettings["dbUserName"], System.Configuration.ConfigurationManager.AppSettings["dbPassword"], System.Configuration.ConfigurationManager.AppSettings["dbServer"], System.Configuration.ConfigurationManager.AppSettings["database"]);

            return(HelperMethods.ConvertArrayListToDataTable(myConn.searchForVectors(filter, keyword)));
        }
Beispiel #2
0
        // Get all antibodies
        public static DataTable GetVectors()
        {
            RMSDBConnection myConn = new RMSDBConnection(System.Configuration.ConfigurationManager.AppSettings["dbUserName"], System.Configuration.ConfigurationManager.AppSettings["dbPassword"], System.Configuration.ConfigurationManager.AppSettings["dbServer"], System.Configuration.ConfigurationManager.AppSettings["database"]);

            return(HelperMethods.ConvertArrayListToDataTable(myConn.getAllVectors()));
        }