Home > Net >  Datagridview column order problem
Datagridview column order problem

Time:09-17

Ask bosses, I want to ask, I manually add a column in datagridvuew, wanted to give him set button format, but every time, he has showed in front of the database data, how can I make this column shows in the back of the database data,

CodePudding user response:

You can query the database data and after the show, add this column,

CodePudding user response:

Open the designer. Cs, find
Datagridview1. Headers. The Add ()
Such as code, cut out, put in
Datagridview1. The DataSource=ds. Table [0];
The following
  •  Tags:  
  • C#
  • Related