Oder By

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I allowed C# to automatically create databindings for me as code below shows.
How can I set the orderby so the column i want is sorted? I have a combobox
in a datagridview and I need to sort the data shown in it by the commandtype
and not the primary key.

thanks

// TODO: This line of code loads data into the
'fixed1DataSet.Commands' table. You can move, or remove it, as needed.
this.commandsTableAdapter.Fill(this.fixed1DataSet.Commands);
 

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

Back
Top