Diff between adding MySql Parameters with Add()& AdwithValueNANajna Abdulla12yAsked Sep 24, 2014, 2:00 AM1.5kLearn iOS ProgrammingDifference between adding MySql Parameters with Add() and AddWithValue()!!!!
Vulpes12y agoPosted Sep 24, 2014, 9:34 AMWell the Add method simply adds a new parameter to the parameters collection. You then have to set its value separately.In contrast the AddWithValue method not only adds a new parameter to the parameters collection but sets its value at the same time.0
VulpesPosted Sep 24, 2014, 9:34 AM
In contrast the AddWithValue method not only adds a new parameter to the parameters collection but sets its value at the same time.