<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" >
<columns>
<asp:TemplateField>
<HeaderTemplate >SSSS</HeaderTemplate>
<itemtemplate><asp:TextBox ID="t1" runat ="server"
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="t1" ErrorMessage="Enter Value"
<asp:Button ID="btn1" runat="server" Text ="OK" OnClick ="Button1_Click">
</itemtemplate>
</columns>
in code behind
first bind gridview with your requirement.
protected void Button1_Click(object sender,EventArgs e)
{
}