Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Guys,

Can you please help me guys on how to show to notepad the
column text of the selected row of the datagrid.

Please help me...
Thanks in advance
Posted
Updated 25-Jul-11 3:49am
v2

1 solution

Use the SelectedItem property to get the current row's values.
Once you are able to get these values, use the Process class [^]to launch notepad.

Pass in the command line arguments with the cell values all converted into a string and you should be able to see these values in Notepad.
 
Share this answer
 
Comments
Dave Kreskowiak 25-Jul-11 10:22am    
Notepad does not have any command line switches that tell it which line to scroll to when a file is opened.

It also does not have a COM server interface to use to do the same.

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