What is the best way to read text box contents line by line in VB.net 2.0?
I am currently using the list specified in the TextBoxBase.Lines property on MSDN , but wanted to know what other methods could be read into the text box by line in VB.net.
The Lines property is what you want to use. Parsing the Text property requires more code and does not speed it up. Write a better question if you have a reason for looking for an alternative.
, textbox.Text.Split(vbnewline), .
For Each strLine As string In textbox.text.split(vbnewline) ... Next
Source: https://habr.com/ru/post/1756243/More articles:Why do you need to include parent DLLs in asp.net child projects? - asp.netHow to launch a VB6 project in Hudson? - windows-xpCan another application access the private key stored in the key container using RSACryptoServiceProvider? - cryptographyHow can I get SCP and ftp (from the command line, not the plugin) working in hudson - scpIs the CLR capable of static interfaces? - c #How to reference .Net Framework class library in documentation - .netHow to save and restore all vb6 ide settings? - ideGet list of dependent tables, SQL Server 2005 - sqlhow to add xsl attribute - imageSharepoint permissions. Require multiple groups - sharepointAll Articles