Hello, i am new to visual studio and C# programming and i am having some problems.
I have made a windows form in visual studio(C#). I made a dataGridView witch displays data from a table in AX2012 (sql server)
This is sort of how the grid looks like
| WORKER | LOGINCARDNO |
|1234567 | 123 |
|7654334 | 545 |
|5457565 | 192 |
This is how i want it to work:
When the user writes in their 'LOGINCARDNO'(their loginID) in the textbox, and press the 'ok' button i want the program to go through the datagrid and if the number exists it will open another form, and display their 'WORKER' number in that form.
Can anyone please help me with this? I'm new to visual studio(and programming in general), so keep that in mind. And English is not my first language, so I'm sorry if anything is unclear.
I would be really happy if anyone could help me with this, thanks :)