RunLoadRecords Method (ListListString, String, String, ListString) |
Note: This API is now obsolete.
Namespace: Biolomics.BioCallback
[ObsoleteAttribute] public static int LoadRecords( List<List<string>> p_ResultArray, string p_SqlQuery, string p_TableName, List<string> p_FieldNames )
Imports System Imports BioloMICS.BioCallback Imports BioloMICS.SharedClasses Imports System.Collections Public Class Program <STAThread()> Shared Sub Main() ' Create an instance of class Program and call its functions Dim c As New Program c.RunQuery() End Sub Public Sub RunQuery() ' ***** Obsolete example ***** Dim Results As New Generic.List(Of Generic.List(Of String)) Dim Request As String = "_id <10" Dim TableName As String = "Your_Table_Name" Dim FieldName As New Generic.List(Of String) '0 = ID // 1 = Taxon Name FieldName.Add("Your_Field_Name") 'KField If Run.LoadRecords(Results, Request, TableName, FieldName) <> 0 Then Return End If Console.WriteLine(Results(8)(2)) Results(8)(2) = 12313 Run.SaveRecords(Results, TableName, FieldName) End Sub End Class