Arrange database Column entries by ascending order.
-
Hi All, I have a SQL database column "ID", in which I added one by one entries as 2,5,6,1,8... randomely. I want to arrange these entries in Ascending order so that in datagridview it get displayed in order 1,2,3,4... like this. Can someone help me on this? Thanks.
-
Hi All, I have a SQL database column "ID", in which I added one by one entries as 2,5,6,1,8... randomely. I want to arrange these entries in Ascending order so that in datagridview it get displayed in order 1,2,3,4... like this. Can someone help me on this? Thanks.
-
Hi All, I have a SQL database column "ID", in which I added one by one entries as 2,5,6,1,8... randomely. I want to arrange these entries in Ascending order so that in datagridview it get displayed in order 1,2,3,4... like this. Can someone help me on this? Thanks.
-
Hi All, I have a SQL database column "ID", in which I added one by one entries as 2,5,6,1,8... randomely. I want to arrange these entries in Ascending order so that in datagridview it get displayed in order 1,2,3,4... like this. Can someone help me on this? Thanks.
If you have a SQL Question Post here General Database http://www.codeproject.com/Forums/1725/General-Database.aspx[^] in the Query that you use to display the Grid with , add the Following line of SQl
Order by ID ASC
Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/