Click here to Skip to main content
15,914,943 members
Home / Discussions / C#
   

C#

 
AnswerRe: Domain name verification Pin
Rob Philpott10-Dec-09 2:00
Rob Philpott10-Dec-09 2:00 
GeneralRe: Domain name verification Pin
RugbyLeague10-Dec-09 4:12
RugbyLeague10-Dec-09 4:12 
GeneralRe: Domain name verification Pin
Rob Philpott10-Dec-09 5:43
Rob Philpott10-Dec-09 5:43 
GeneralRe: Domain name verification Pin
RugbyLeague10-Dec-09 5:46
RugbyLeague10-Dec-09 5:46 
AnswerRe: Domain name verification Pin
Luc Pattyn10-Dec-09 5:50
sitebuilderLuc Pattyn10-Dec-09 5:50 
GeneralRe: Domain name verification Pin
RugbyLeague10-Dec-09 5:56
RugbyLeague10-Dec-09 5:56 
GeneralRe: Domain name verification Pin
Luc Pattyn10-Dec-09 6:04
sitebuilderLuc Pattyn10-Dec-09 6:04 
QuestionDatabase column mapping - draw lines between items in DataGridView Pin
Scott Bass10-Dec-09 0:51
Scott Bass10-Dec-09 0:51 
Hi,

Summary: I need to draw lines between items in two DataGridViews to give a visual indication of source to target column mapping.

Details: First of all, I'm fairly new to DotNet and C# programming, but an experienced developer in other languages and technologies. This is my first post to CodeProject. I've read the FAQs, searched the articles, searched Google, and skimmed several forums before deciding on this one. If this is the incorrect forum, please gently and politely point me in the right direction and correct an honest mistake.

I need to write an application that will allow the user to map source columns to target columns, then generate syntactically correct SQL. For the UI, I was thinking of using two DataGridViews, plus the "dictionary tables" to populate the DataGridViews. For the SQL, I intend to use NVelocity or something similar.

My vision is the user will select a column from the source DataGridView and drag it to the target column in the target DataGridView.

What I can't work out is how to draw lines between the source and target columns to give the user a visual indication of the column mapping. This is especially true for columns mapped that are scrolled off the DataGridView, either top or bottom.

Picture another scenario: an online quiz. Questions on the left, answers on the right, drag the question to the correct answer to map the two.

Is there any example code in the public domain that does this, or something similar? Otherwise any design ideas are greatly appreciated.

Finally, I'm not married to using a DataGridView, so if there's a better UI element to use, please let me know.

Kind Regards,
Scott
QuestionArray list question Pin
dennis_max279-Dec-09 23:37
dennis_max279-Dec-09 23:37 
AnswerRe: Array list question Pin
Rob Philpott10-Dec-09 0:22
Rob Philpott10-Dec-09 0:22 
AnswerRe: Array list question Pin
dennis_max2710-Dec-09 1:32
dennis_max2710-Dec-09 1:32 
AnswerRe: Array list question Pin
Keith Barrow10-Dec-09 1:39
professionalKeith Barrow10-Dec-09 1:39 
AnswerRe: Array list question Pin
Luc Pattyn10-Dec-09 1:58
sitebuilderLuc Pattyn10-Dec-09 1:58 
GeneralRe: Array list question Pin
dennis_max2710-Dec-09 2:22
dennis_max2710-Dec-09 2:22 
GeneralRe: Array list question Pin
Luc Pattyn10-Dec-09 2:43
sitebuilderLuc Pattyn10-Dec-09 2:43 
AnswerRe: Array list question Pin
PIEBALDconsult10-Dec-09 5:57
mvePIEBALDconsult10-Dec-09 5:57 
QuestionSyntax error (missing operator) in query expression Pin
AlucardCode9-Dec-09 22:40
AlucardCode9-Dec-09 22:40 
AnswerRe: Syntax error (missing operator) in query expression Pin
OriginalGriff9-Dec-09 23:06
mveOriginalGriff9-Dec-09 23:06 
AnswerRe: Syntax error (missing operator) in query expression Pin
Ghydo9-Dec-09 23:17
Ghydo9-Dec-09 23:17 
GeneralRe: Syntax error (missing operator) in query expression Pin
AlucardCode9-Dec-09 23:34
AlucardCode9-Dec-09 23:34 
AnswerRe: Syntax error (missing operator) in query expression Pin
Scott Knestrick10-Dec-09 17:21
Scott Knestrick10-Dec-09 17:21 
QuestionBegin Invoke Example Pin
sureshhi9-Dec-09 22:33
sureshhi9-Dec-09 22:33 
AnswerRe: Begin Invoke Example: My Vote of 1 Pin
Keith Barrow9-Dec-09 23:38
professionalKeith Barrow9-Dec-09 23:38 
JokeRe: Begin Invoke Example Pin
Richard MacCutchan9-Dec-09 23:38
mveRichard MacCutchan9-Dec-09 23:38 
Questiondatabase Pin
farokhian9-Dec-09 22:24
farokhian9-Dec-09 22:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.