Connecting a button to dataset

Be sure that you have the dataset property set to read/write or write.