473,386 Members | 1,812 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,386 software developers and data experts.

setting the order (ascending)

I am a very new user of Visual Studio.
I have insert a .mdb (access) database in an application
and i have a text box in my form that represent a field from
this database(dataset).
What code can i write so the (numeric) data of this field (text box)
be sortted with ascending order in my form ?

Sorry for my english ! (i am from greece)
Feb 5 '07 #1
1 1335

hello

You can do this from your SQL statement , ( direct in SQL select "Order BY
blabla" or if you used visual tools from the dataAdapter fill , alter sql
and add "Order BY blabla" ) another option is to create a dataview object ,
perform the filtering / sorting on this object and bind this to the control
HTH

regards

Michel Posseth
"giannis" <zz********@freemail.grschreef in bericht
news:O$**************@TK2MSFTNGP06.phx.gbl...
>I am a very new user of Visual Studio.
I have insert a .mdb (access) database in an application
and i have a text box in my form that represent a field from
this database(dataset).
What code can i write so the (numeric) data of this field (text box)
be sortted with ascending order in my form ?

Sorry for my english ! (i am from greece)

Feb 5 '07 #2

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

Similar topics

6
by: sriram | last post by:
Hi, I have been seing a weird problem with db2look tool in db2 8.2 on Windows 2000 platform. When i spool the DDL using db2look, it spools the DDL in the ascending order of database objects...
1
by: Rich N | last post by:
When I open my form, I want the records already in it to be in Ascending Order based on one field. Though I keep putting them in Ascending order and then saving the form, each time I re-open the...
2
by: Joe | last post by:
Hi, I have an asp.net script that connects to MS Access database and displays data in a table. For some reason I am do not know how to display data say in ascending order of column1. I have...
1
by: Blake | last post by:
Below is the queries and the results I get when in psql monitor> QUERY 1: SELECT id,price FROM store ORDER by price ASC; RESULT : List from LOWEST price to HIGHEST price QUERY 2: SELECT...
10
by: kaosyeti | last post by:
hey... i have a report whose detail section is based on three departments so the report is 3 pages for that, plus two pages for a report footer and a cover page report header. if the three...
6
by: GrispernMix | last post by:
//ques and and level order traversal file name: lab6_build_leaf_up.cpp Instructions:
5
by: subramanian100in | last post by:
In the ISO document www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf in the detail of the qsort library function in 7.20.5.2, the description says that, the contents of the array are sorted...
6
by: flyaway888 | last post by:
Hey, I have a function that compares 2 arrays with 6 numbers in each and outputs the matching numbers. I have written a function that does this but I need to output the numbers in ascending order...
2
by: Villanmac | last post by:
Okay basically I have built the code using the pseudocode given to me but i still have on psedocode to mark off and I dont know how to do what it says. Its says "a flag is just an integer whose...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.