Hello,
I am controlling each newline(rows) in a textbox with a db. If a line has only space characters or just a newline (when you just hit enter), I want to know this. For example
---------
1123
34324
43523 //3.th line
--------
When I hit enter on the 3.th line, it creates one more line but it has no character. How can I check this line?
if (str[dongu].ToString() == "")
{
// do something when recognize last row.
}
Loading
Jaganathan BantheswaranPosted Jun 8, 2011, 9:13 AM
Yes.. You can Sleepy.. So think twice before posting query !.
yokzuPosted Jun 8, 2011, 2:52 AM
if (str[dongu].ToString().Length != 0)