با سلام .
چطوری میشه یک قسمت از متن وارد شده در textbox را بست آورد .
متشکرم.
با سلام .
چطوری میشه یک قسمت از متن وارد شده در textbox را بست آورد .
متشکرم.
textBox.Text.SubString
Close your eyes, take a deep breath, click your heels three times, and say, "There's no better thing than Inversion of Control and Dependency Injection, generic specialization, the decorator pattern, chains of responsibilities, and extensible software."
این کد داری دو پارامتر است اولی مکان شروع و دومی طول رشته ای که می خواهید را مشخص می کند
//string ch = textBox1.Text.Substring(start, lenth);
string ch = textBox1.Text.Substring(2, 5);