You can make this generic method as following on the client side. We should do these kind of small features on the client side with the help of javascript or jquery. You can call this js method from the onclick event of the button or link.
function ClearText() {
var tbl = document.getElementById("tbl100");
var inputs = tbl.getElementsByTagName('input');
for (i = 0; i < inputs.length; i++) {
if (inputs[i].type == 'text') {
inputs[i].value = "";
}
}
}