Click here to Skip to main content
16,012,352 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I would also like the user to select to from a list from within a cell and load directly into that cell.
I'm looking for relevant acticles but cannot find any at the moment.
Posted
Comments
ChrisCreateBoss 14-Feb-15 13:53pm    
OK, so you want to prompt a comment dialog, and the text entered in it will display in the selected cell of the dataGridView, did I understand?
Ayo Soul 15-Feb-15 6:31am    
Not quite but close, I want to save the entered note to a database via a Queue. So once the user enters he's/her's notes I send it to the Queue for later processing.
The second part of the question involves another cell in the datagridview, where i want the user to be able to select from a database the appropriate entry, it would be great if the user can start typing and the selection narrows down to the correct entry. Thanks in advance
ChrisCreateBoss 15-Feb-15 14:19pm    
Ok, I did understand the first part, but the second, I did not get it well, can you provide us a sample of what have you tried? That would help me a lot to understand your request.
Ayo Soul 15-Feb-15 14:24pm    
I haven't tried any code yet. I have a working DataGridView and a Queue. I want to start the next bit but decided to research it first as I am new to C#, and I'm not aware of its potential yet.
ChrisCreateBoss 15-Feb-15 16:01pm    
Oh ok, when you said "i want the user to be able to select from a database the appropiate entry", the user will select something via a ListBox, TextBox or a dataGridView??

1 solution

A DataGridView cell may contain just about anything you want. Take a look at the documentation[^] and try a few samples. There are lots of articles around with sample code.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900