Hi,
The below link gives accurate answer but there is some doubt regarding Date conversion in Jquery
Filter GridView between Date Range using jQuery AJAX in ASP.Net
Here i need dateofproductsales as date format in gridview but it is displaying as
2015-03-24T00:00:00+05:30 |
Here in below DateOfProductsales is displayed as above, i need it in dd/MM/yyyy format
Also Product Amount should be formatted as $100.00 ,
How can we do it.Please Help
$("[id*=gvOrders] tr").not($("[id*=gvOrders] tr:first-child")).remove();
if (customers.length > 0) {
$.each(customers, function () {
var customer = $(this);
$("td", row).eq(0).html($(this).find("NameId").text());
$("td", row).eq(1).html($(this).find("ProductName").text());
$("td", row).eq(2).html($(this).find("DateOfProductSales").text());
$("td",row).eq(3).html($(this).find("Productamount").text());
$("[id*=gvOrders]").append(row);
row = $("[id*=gvOrders] tr:last-child").clone(true);
});