title: HOW TO SElect line number in TextBox Multiline
body: <p>I have large text in System.Windows.Forms.TextBox control in my form (winforms), vs 2008.</p>
  
  <p>I want find a text, and select the line number where I've found that text.</p>
  
  <p>Sample,</p>
  
  <p>I have fat big text, and I find "ERROR en línea", and I want select the line number in textbox multiline.</p>
  
  <pre><code>string textoLogDeFuenteSQL = @"SQL*Plus: Release 10.1.0.4.2 - Production on Mar Jun 1 14:35:43 2010
  </code></pre>
  
  <p>Copyright (c) 1982, 2005, Oracle.  All rights reserved.</p>
  
  <p>******** MORE TEXT ************</p>
  
  <p>Conectado a:
  Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
  With the Partitioning, Data Mining and Real Application Testing options</p>
  
  <pre><code>WHERE LAVECODIGO = 'CO_PREANUL'
  </code></pre>
  
  <p><strong>ERROR en línea 2:</strong></p>
  
  <blockquote>
    <p>ORA-00904: ""LAVECODIGO"": identificador no v?lido</p>
  </blockquote>
  
  <pre><code>INSERT INTO COM_CODIGOS
  </code></pre>
  
  <p><strong>ERROR en línea 1:</strong></p>
  
  <blockquote>
    <p>ORA-00001: restricción única (XACO.INX_COM_CODIGOS_PK) violada";</p>
  </blockquote>
  
  <p>******** MORE TEXT ************</p>
  
  <p>Any sample code about it ? </p>