Monday, December 9, 2013

How To Insert Record Into Database Using Insert Command

Create a new table with three fields,

table name      table15

1. id                 int
2. name           sring
3. Amount       real

INSERT

Take a new job,

Table15 tb15;
;

tb15.id = 101;
tb15.name = "naresh";
tb15.Amount = 100.00;

tb15.Insert();

execute the job and you can see the data is inserted into database using the Insert Command.

No comments:

Post a Comment