U
ucasesoftware
I have this :
dim cmd as new sqlcommand("Insert into (value1, value2) VALUES
(@value1, @value2)", myConnexion)
with cmd
..parameters.add("@value1", sqldbtype.nvarchar, 50).value = "me"
..parameters.add("@value2", sqldbtype.nvarchar, 50).value = "you"
end cmd
Is it possible now to have a string like with a property of cmd ?
insert into(value1,value2) VALUES ('me', 'you') ?
dim cmd as new sqlcommand("Insert into (value1, value2) VALUES
(@value1, @value2)", myConnexion)
with cmd
..parameters.add("@value1", sqldbtype.nvarchar, 50).value = "me"
..parameters.add("@value2", sqldbtype.nvarchar, 50).value = "you"
end cmd
Is it possible now to have a string like with a property of cmd ?
insert into(value1,value2) VALUES ('me', 'you') ?