Hello,
I am building a software in WinForm C#.
When the window is opening, the cursor of the mouse should be placed in the textBox1.
This is the code i am using when the windows is opening, but it doesnt work:
textBox1.TabIndex = 0;
textBox1.Select(0,0);
textBox1.Focus();
The cursor is not...
Thank you a lot for your answer obislavu,
Now it is working.
I give you the reason of my problem for archiving:
i didnt affect the good mapping name
The bad way(that i used):
DataTable dt = new DataTable("ds");
DgTableStyle.MappingName = "ds" ;
The good way(working):
DataTable dt = new...
Thx for answer but it doesnt still work
this is my prog: (dont care, it is long but just copy / paste)
//the request
string text = "SELECT boite.id_boite as Id, boite.num_boite AS NumBoite, famille.nom_famille AS Famille, boite.libelle1 AS Lib1, boite.libelle2 AS Lib2, boite.libelle3 AS Lib3...
Hello,
I am using Visual .NET WInForms in C#
I actually have a problem with column of datagrid.
I just would change the size (width) of my column
I tried lot of things with tablestyles and posted on another forum, but nothing works !
This is my code, and it dont works ... does someone know...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.