Hi all,
I use vs 2008, windows forms, c#
I have a Collection of OracleErrors, that I gather of sqlplus.exe output:, List, and entity OracleError:
public class OracleError { public int NumberLine { get; set} public string SourceFile { get; set} public string Error { get; set} }
Now, in my form, I use DataGridView and TextBox Multiline.
I set DataGridView.Datasource = ( List ) list
I set textboxMultiline.Text = OUTPUT string of sqlplus process
I want do this:
I click on row in DAtaGridView, and I get the NumberLine. Then, I select the number line in Textbox and scroll caret.
Any sample code about it ?? any code will very useful for me. Specially click row in gridview and get numberline for select it in textbox.
The idea is similar like Visual Studio 2008, when display errors in code, and select error in gridview, you can go to display number line...
Thanks in advanced.