added field validation and postback and modified gridview