Hi Rain,
As Steven said, the method will vary depending on what 'data' actually is.
If you just want to get text as byte[], use Encoding.GetBytes, specifying
the encoding you want the bytes in.
It would help if you told us what 'data' is
On Mon, 14 Aug 2006 08:53:02 +0200, Rain <Ra**@discussions.microsoft.com>
wrote:
i have a method like this
public void MethodName(byte[] data)
{
}
and the textbox.text is the one suppying the argument to the method but
my
problem is its a string... how can i do this? any example please? i would
really appreciate any help at all.
--
Happy Coding!
Morten Wennevik [C# MVP]