greenapple.Connectoperations.insert C# (CSharp) Метод

insert() публичный Метод

inserts a record into the database
public insert ( string table, string attributes, string values ) : int
table string table into which a record is to be inserted
attributes string attributes in the table that whose data is being inserted
values string values to the attributes of the table whose data is being inserted
Результат int
        public int insert(string table,string attributes,string values)
        {
            return mycon.nonqry("INSERT INTO "+ table +"("+ attributes +")VALUES("+ values +")");
        }