i want to take a button and a text..i give a string in textbox n in button click i want the string to convert to bytearray....

i wrote the code in button click

string s="divya";
byte[] bytstr=Encoding.ASCII.GetBytes(s);

now wat to do next ...where to input n how to display the encoded string....

guys some one reply.....i want the code

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.