A
Agnes
I want to insert a record into a tables by using dataadaptor
With cmdSeaExBL
.Connection = conSea.GetDbConnection("SEA")
.CommandText = "INSERT
dbo.billladingheader(number,jobno) values(@number,@jobno)"
With .Parameters
.Add("@number", SqlDbType.VarChar, 20,
Trim(Me.txtHBLNo.Text))
'.Add("@jobno", SqlDbType.VarChar, 20,
Trim(Me.txtJobNo.Text))
endwith
endwith
Now, I don't know what steps I should go on.
Can anyone teach me or give me a little bit ?
thanks
With cmdSeaExBL
.Connection = conSea.GetDbConnection("SEA")
.CommandText = "INSERT
dbo.billladingheader(number,jobno) values(@number,@jobno)"
With .Parameters
.Add("@number", SqlDbType.VarChar, 20,
Trim(Me.txtHBLNo.Text))
'.Add("@jobno", SqlDbType.VarChar, 20,
Trim(Me.txtJobNo.Text))
endwith
endwith
Now, I don't know what steps I should go on.
Can anyone teach me or give me a little bit ?
thanks