Example scenario: When copying a line from Microsoft Word, it gets copied to clipboard and the text can be pasted to notepad and to others as well.
My problem: I want to develop an application that can copy a tuple from MySQL database. From the copied tuple, each column's data shall be stored in an array and while pasting to another application's textboxes, the data must be pasted one data per textbox till the end of tuple.
i.e. an application has a form with 5 textboxes: textbox1, textbox2, textbox3, textbox4, textbox5 and database table has 5 columns with data stored.
The designed application will show the data from database, and while copying the tuple, it must be stored in array as a[0], a[1], a[2], a[3], a[4] . Then while pasting it to another application with those 5 textboxes, only a[0] 's data must be stored to textbox1, only a[1] 's data must be stored to textbox2, and so forth.
Can this be achieved? If it can be, how could this problem be resolved. Forgive me if I asked too much.
Regards, Nipun Shakya