dgv

  • Thread starter Thread starter nicol
  • Start date Start date
hello
what does   DataGridView    do?

DataGridView  dv ;

i want to what these two codes exactly do


public static DataTable dt;
public static DataGridView gv; /


dt = new DataTable();
gv = new DataGridView();



thanks
 
It is a type.

The line declares a variable of that type.

It does not "do" anything.

Arne

and i can't undrestand this code too :


List<class_name> a= new List<class_name>();
 
and i can't undrestand this code too :


List<class_name> a= new List<class_name>();

It declares a variable of the type List<class_name>
(List is a generic type).

Arne
 

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