473,410 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,410 software developers and data experts.

DataGrid ordering

By default, I notice that the DG is LIFO (Last in First Out) which appends
all new values to the end of the table.

Is there a way to order it such that all new entries will appear at the top,
without resorting to using a holding DB, as this looks to be an option:
Create a DB/Table using the session_id, insert the users operations, return
them in order using an index/primary_key.

Taking the DB path is no trouble for me, but if there is an easier or more
efficient way of doing I would appreciate any suggestions.

--
Wayne M Jackson
------
WWW: http://www.wjackson.cable.nu
Nov 18 '05 #1
2 1011
"Wayne M J" <no*@home.nor.bigpuddle.com> wrote in message
news:e$**************@TK2MSFTNGP11.phx.gbl...
By default, I notice that the DG is LIFO (Last in First Out) which appends
all new values to the end of the table.


Actually, I don't think the DataGrid is ordered at all. I think the order
depends on the order of the DataSource.
--
John Saunders
johnwsaundersiii at hotmail
Nov 18 '05 #2
In news:Ot**************@tk2msftngp13.phx.gbl, John Saunders bitched
and moaned:
"Wayne M J" <no*@home.nor.bigpuddle.com> wrote in message
news:e$**************@TK2MSFTNGP11.phx.gbl...
By default, I notice that the DG is LIFO (Last in First Out) which
appends all new values to the end of the table.


Actually, I don't think the DataGrid is ordered at all. I think the
order depends on the order of the DataSource.


From reading more, that is how it appears. I might actually use the temp-DB
option, gives me a chance to `fool around.`
Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ken Fine | last post by:
(originally posted to one of macromedia's groups; no help, so hopefully someone here can help me out. I'm using VBScript ASP.) When designing administrative interfaces to websites, we often need...
1
by: nospam | last post by:
Amazon wins patent for ordering forms, Collapsing and Maximizing Form Areas.... NAME OF PATENT Method and system for displaying and editing of information # 6,615,226 ...
5
by: K | last post by:
I created a collection which is derived from ArrayList and implements IBindingList and ITypedList. Then I bound the DataSource of a data grid into the collection. It could show up the data but...
1
by: Junkguy | last post by:
Hi all, I need some advice on how to sort the contents of a datagrid from code. The issue I have is a client that wants the datagrid to show its rows in "entry" order (i.e. the order in which...
1
by: Andrew | last post by:
Hey all, I am very new to ASP.Net (and .Net in general), but that isn't stopping the boss from wanting to begin new projects in it. This latest project has me kinda stumped and after a couple...
6
by: Patrick.O.Ige | last post by:
I would like to re-order my rows in the datagrid. So on each row i want to have up and down images to go up one row or down Whats the easiest way to tackle this? Any sample guides are welcome.
33
by: Benjamin M. Stocks | last post by:
Hello all, I've heard differing opinions on this and would like a definitive answer on this once and for all. If I have an array of 4 1-byte values where index 0 is the least signficant byte of a...
2
by: Sekhar | last post by:
Hi all I have a DataGrid which has two Template Columns both having Image Buttons in it One column has UP image and the other has DOWN image used to reorder rows in the grid. How do i handle...
5
by: David Cartwright | last post by:
Hi all, I'm using a DataGrid to present a tabulated list (actually a list of users logged in to my phone system) - it seemed the most appropriate control. As stuff happens on the phone system,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.