Hello Reddy;
1st, you need to have the textbox in a template field object of the grid view as shown below:
Aspx
<asp:GridView runat="server" ID="gridView1">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:Label Text='<%# Eval("hiredDate;) %>' runat="server" />
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox runat="server" Text='<%# Bind("hiredDate") %>' ID="hiredDateTextBox" CssClass="dateInput" />
</EditItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
Javascript
<script>
$(function () {
var $grid = $("table[id$=gridView1]");
var $tr = $("> tbody > tr:not(:has(th, table))", $grid);
var $dateInputFields = $(".dateInput", $tr);
$dateInputFields.datepicker();
});
</script>
Hope this helps you?