krishna prasad

krishna prasad

  • NA
  • 814
  • 182k

Insert statement

Jan 24 2009 1:00 PM
Hai all..

My goal is to insert an object value into the database if it satisfies certain condition.

How to insert it???

i tried but i can just insert values given in the statement  like

"INSERT INTO SourceCount(Source,Count)" + "Values('192.168.11.1','5')";
but wat i want is

 object source1 = 192.168.11.1

i want to insert source1 value.....which changes continiously
Hope i made myself clear.........

Answers (13)