converting string to bytearray

Reply

Join Date: Dec 2008
Posts: 21
Reputation: divyasrinivasan is an unknown quantity at this point 
Solved Threads: 0
divyasrinivasan divyasrinivasan is offline Offline
Newbie Poster

converting string to bytearray

 
0
  #1
Dec 11th, 2008
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
  1. string s="divya";
  2. byte[] bytstr=Encoding.ASCII.GetBytes(s);

now wat to do next ...where to input n how to display the encoded string....
Last edited by peter_budo; Dec 12th, 2008 at 6:59 am. Reason: Please use closing tag correctly, use [/code] not [\code] ! ! !
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 21
Reputation: divyasrinivasan is an unknown quantity at this point 
Solved Threads: 0
divyasrinivasan divyasrinivasan is offline Offline
Newbie Poster

Re: converting string to bytearray

 
0
  #2
Dec 12th, 2008
guys some one reply.....i want the code
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the ASP.NET Forum


Views: 621 | Replies: 1
Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC