Unless you want to write your own custom AJAX code, you can't access the DataSet, the database, or any other server-side resources in this client-side event handler.
If you can perform this functionality on the server instead, consider using either the UpdateCell or UpdateCellBatch server-side events.