I am trying to follow the info at http://www.telerik.com/help/aspnet-ajax/grdperformingbatchupdates.html regarding batch edit updates.
Can someone explain this line to me:
SqlDataSource1.UpdateCommand = String.Format("Update Customers SET ContactName='{0}' WHERE CustomerID='{1}'", newValues("ContactName"),
Specifically the {0} and the {1}. My grid has 2 datakeys DataKeyNames="ContributionMasterID,EmployeeID" . I am assuming that we are updating the contactname column where the customerID is equal to either a datakey or a column. If someone can explain this I can try and implement it in my scenario.
I am just starting out so please forgive my ignorance. Thank you.
Can someone explain this line to me:
SqlDataSource1.UpdateCommand = String.Format("Update Customers SET ContactName='{0}' WHERE CustomerID='{1}'", newValues("ContactName"),
Specifically the {0} and the {1}. My grid has 2 datakeys DataKeyNames="ContributionMasterID,EmployeeID" . I am assuming that we are updating the contactname column where the customerID is equal to either a datakey or a column. If someone can explain this I can try and implement it in my scenario.
I am just starting out so please forgive my ignorance. Thank you.