Ceriwis

Ceriwis (https://forum.ceriwis.com/forum.php)
-   Programming (https://forum.ceriwis.com/forumdisplay.php?f=63)
-   -   (ask)c# - cara descending query web service (https://forum.ceriwis.com/showthread.php?t=538665)

Braincode 11th November 2011 01:58 PM

(ask)c# - cara descending query web service
 
misi kak . ane punya web service




Code:

[WebMethod]
public Viw_topItem[] view_topItem(DateTime drTgl, DateTime smpTgl)
{
var query = from log in db.TB_Pesanans
where log.Status == "Lunas" && log.Tanggal >= drTgl && log.Tanggal x.Jumlah).Sum()

};

return query.ToArray();
}

yang ane mau tanya........ mau mana cara descending hasil keluaran nya... atau cara reverse keluaran nya... ane dah coba pake orderby kaga bisa... thanx ya gan :ceriwislove:

</div>


All times are GMT +7. The time now is 12:53 PM.