Index in C#

Can someone just explain to me how i solve this problem. i have made a code with two machines and im using WinForm and buttins. When i choose machine 1 i get shown all the books in my InMemoryDatabase in the DataGridView https://paste.mod.gg/wzxtqqpmecni/0 I´m a beginner don´t go hard on me
BlazeBin - wzxtqqpmecni
A tool for sharing your source code with the world!
7 Replies
Jimmacle
Jimmacle11mo ago
$details
MODiX
MODiX11mo ago
When you ask a question, make sure you include as much detail as possible. Such as code, the issue you are facing, and what you expect the result to be. Upload code here https://paste.mod.gg/ (see $code for more information on how to paste your code)
Jimmacle
Jimmacle11mo ago
i don't know what the problem is or what is supposed to be happening
mohamedhammudeh
mohamedhammudehOP11mo ago
okey i apologize i have made a objectoriented program where a person can choose one of two machines and when the person have choosen one he will then be able to pusch a button on the winforms "show all books" then the machine is supposed to show the books that belongs to that machine and only that one, so if a person chooses machine 1 end then the DataGridView will be shown end the person chooses to "Show all book" he will NOT be able to see books that belongs to machine 2 i have a servicelayer i have an InMemoryDatabase and i have created classes and then in the inmemorydatabas i have created objects from the classes and the i have linked them to eachother
mohamedhammudeh
mohamedhammudehOP11mo ago
BlazeBin - nlnpmwxggyhy
A tool for sharing your source code with the world!
mohamedhammudeh
mohamedhammudehOP11mo ago
if i need to send more code tell me
g33b1c
g33b1c11mo ago
ok, what exactly is your problem now?
Want results from more Discord servers?
Add your server