Hi I have a method which updates a MySQL table using a query. I\'m using a MS Visual Studio and phpmyadmin as the SQL client.
Method:
public static Memb
Commonly, we need't return object like Member
when update/insert or delete. We should return just a Boolean flag or return Nothing.
If you return flag, you should set it as result of cmd.ExecuteNonQuery() > 0
and also in Catch
brand.
If you return nothing, just modify your method to
public static void updateMember(...)
{
....
}