Hello Team,
Please I want to show daily sales on my mvc application dashboard by date, kindly assist
public JsonResult GetDashboardData()
{
ASPNETMASTERPOSTEntities db = new ASPNETMASTERPOSTEntities();
var currentDate = DateTime.Now.Date.ToString("dd-MMM-yyyy");
return Json(JsonRequestBehavior.AllowGet);
}
Vishal JoshiPosted Oct 31, 2023, 6:39 AM
Hello,
Please try the below code to get the daily sales amount on the Dashboard.
Thanks
Vishal Joshi
Emmmanuel FIADUFEPosted Oct 31, 2023, 11:56 AM
Thank you team, is working now
Jignesh KumarPosted Oct 31, 2023, 7:05 AM
Hello,
You can use below query to achieve this one,
Emmmanuel FIADUFEPosted Oct 30, 2023, 9:35 PM
Thank you Lokesh, I did as you said but is not working
Lokesh VarmanPosted Oct 30, 2023, 2:07 PM
do modify the code as per your need