I'm using a linkbutton delete column on a master/detail grid. On linkbutton click, I want to call a stored procedure via SQL datasource that looks for and identifier in the details table. If it exists, it returns a code and an error will display. If not, it deletes the record from the master grid. I'm having trouble finding an example of how to do this. Could you please point me in the right direction?