?

N

nicol

hi everybody, i need to use """" using System.Windows.Forms;
''''''''' in console app . . .
but it has a error . . . can i do that , and if not wher can i use
it ?
i tried it windows form but it didn't work either

and i want to use """" DataGridView """" too
 
J

Jeff Johnson

hi everybody, i need to use """" using System.Windows.Forms;
''''''''' in console app . . .
but it has a error . . . can i do that , and if not wher can i use
it ?
i tried it windows form but it didn't work either

and i want to use """" DataGridView """" too

Right-click the References folder in Solution Explorer and add
System.Windows.Forms from the .NET tab.

The using directive only works when the assembly with the desired namespace
is referenced. Some assemblies are referenced by default, but WinForms is
only a default in a real WinForms project, so you have to explicitly add it
to a console app.
 
N

nicol

Right-click the References folder in Solution Explorer and add
System.Windows.Forms from the .NET tab.

The using directive only works when the assembly with the desired namespace
is referenced. Some assemblies are referenced by default, but WinForms is
only a default in a real WinForms project, so you have to explicitly add it
to a console app.

hi , thaks a lot
 

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