Update query in MySQL/VB.NET -
edit (i'm sorry have misinformed guys, true problem) im using 2 textboxes btw.
is there way update record in mysql without using id? mean like,
update table set name = name1, sex = male1 name=name1
i'm practicing 1 on vb.net, newbie in this, please can me? thanks!
yes can try
sql = "update table set name = name1, sex = male1 name=@name1" try com .connection = con .commandtext = sql .parameters.addwithvalue("@name1", your_var_name) end com.executenonquery()
Comments
Post a Comment