Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Something very Strange when i fill a table

$
0
0

hi

i have this query:

            

SQL = "select A,B,C from MyTbl";

adp = new OracleDataAdapter(SQL, Conn);
dsView = new DataSet();
adp.Fill(dsView, "MyTbl");
dataGridView15.DataSource = dsView.Tables["MyTbl"].DefaultView;

in the dataGridView15 the fileds Arranged in this order:

A
B
C

but when i run my program i see my table like this:     A | C | B



Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>