.net - update table with c# and mysql -
i apologize in advance elementary questions
i using:
command.commandtext = "select * some_table;"
to retrieve data
can use same thing update data?
i assume command instance of sqlcommand. in case, yes can. here code fragment detailing should update data:
command.connection = (insert connection string here); command.commandtext = (insert update statement); int numrowsupdated = command.executenonquery();
as type 3 answers came in. no need apologize; we're happy help!
Comments
Post a Comment