This is my code get subcatgeory Name in list it's working fie.But i have face a problem showing duplicate value in list
For e.g. Subcategory name Drills -Drills show 5 time . I want to show only once .
@{ int counter = 0;
foreach (var item in @Model)
{
if (counter == 0)
{
}
else
{
}
counter = counter + 1;
}
}
Jenith ThakkarPosted Oct 12, 2020, 12:47 AM
Jignesh KumarPosted Oct 10, 2020, 9:45 AM
Sachin SinghPosted Oct 10, 2020, 3:11 AM