changing ordinal position in access table

A

adiel_g

I want to re-arrange some of the fields in an access table. I know
this could be done from the previous microsoft database objects. I am
not sure if ADO.NET can do this. Can you change the ordinal position
of fields in a table from ADO.NET?

Thanks Before Hand,
Adiel
 
J

Jeff Dillon

Why? Select field1, field2 from Table1 then Select field2, field1 from
Table1

Jeff
 
M

Miha Markic [MVP C#]

Yep, Jeff is correct. Why would you want to re-arrange fields?
Just use a select statement(s) that address fields by name instead of index
(which is a bad way to address them).
 
P

Paul Clement

On 25 Oct 2006 12:43:24 -0700, (e-mail address removed) wrote:

¤ I want to re-arrange some of the fields in an access table. I know
¤ this could be done from the previous microsoft database objects. I am
¤ not sure if ADO.NET can do this. Can you change the ordinal position
¤ of fields in a table from ADO.NET?

No, not without dropping and re-adding the column.


Paul
~~~~
Microsoft MVP (Visual Basic)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top