Ceriwis  

Go Back   Ceriwis > HOBI > Komputer & Teknologi > Programming

Programming Share, tanya jawab, saling bantu antar programmer dengan berbagai macam bahasa pemrograman.

Reply
 
Thread Tools
  #1  
Old 11th November 2011
Braincode's Avatar
Braincode Braincode is offline
Ceriwis Addicted
 
Join Date: Nov 2011
Posts: 4,638
Rep Power: 20
Braincode mempunyai hidup yang Normal
Default (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



Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


 


All times are GMT +7. The time now is 09:19 PM.


no new posts