Although the dataview show data sorted i need to save this view in this order to a file. When i save the view, it is saved with the original order how it was created and not how it was displayed last time
Hi Diego. You should speak spanish so.. Saludos El problema es que aunque el dataview me muestra los datos ordenados, me interesa luego guardar esa vista en un archivo en el orden que ten�a en pantalla. Pero el objeto que contiene los datos es el datasource y no me toma el orden del dataview, guardando los datos en el orden original cuando se creo la vista. --- In [email protected], "Diego Alvarez Z." <[EMAIL PROTECTED]> wrote: > hi > the data in a database has not order, why do wou need the data order > in the dataset if you can order it in the dataview?? > > -- > Diego A. Alvarez Zuluaga > Ingeniero de Desarrollo > [EMAIL PROTECTED] > MVM Ingenier�a de Software S.A > Tel�fono: +57(4) 352 19 19 > Fax: +57(4) 352 16 73 > Direcci�n: Cra 35 10 B - 20 > Medell�n - Colombia > Visite nuestro sitio www.mvm.com.co > > On Thu, 06 Jan 2005 12:47:05 -0000, jynojosa <[EMAIL PROTECTED]> wrote: > > > > > > Update changes from Dataview to Datasource > > > > ADVERTISEMENT > > > > Hello Everybody. > > I'm trying to take the changes suffered when the data displayed in a > > dataview is sorted in the datasource associated to dataview. > > > > I need to reflect this visible order in the datasource. > > Here is the code i use > > > > string sort="Name ASC"; > > myDataview.Sort=sort; > > > > It is suppose that it should work, but it isn't. > > I've been debugging the application and i've found a private > > property named RowViewCache inside DataView > > this property has the items sorted with the sort expression i give > > it but items in rows are not being affected with this sort. > > > > what is the mistake here? Thanks everybody, i hope somebody knows > > how to solve it > > > > > > Yahoo! Groups Links > > > > > > > > > > Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Microsofts_C_Sharp/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
