asp.net - order by not working -
I am using ObjectTatosource with Gridview to get data from my Orum class, but I order it properly Can not get in. I am using the code given below but it did not come in descending order as I specified below What am I missing? Using subsonic 2.1
& lt; DataObactamuth (Select Data Object Method. Select, True) & gt; Public Function FetchByPatID (ByVal PatientID as Object) ViewCollection as Collapse Collocation = New VisitCollection (). ("PatientID", PatientID) .load () ** OrderBy.Desc (Visit.DosColumn) ** Collocation End Function
is executed by the database as part of your query. It should be added before adding. The load () method is called.
as dim coll in vis = new visit collection (). Where ("Patient Id", Patient Id) Orderbidsk (Visit.DosColumn). Load ()
Comments
Post a Comment