943,754 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 733
  • ASP.NET RSS
Dec 11th, 2008
0

converting string to bytearray

Expand Post »
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
C# Syntax (Toggle Plain Text)
  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] ! ! !
Reputation Points: 7
Solved Threads: 0
Newbie Poster
divyasrinivasan is offline Offline
21 posts
since Dec 2008
Dec 12th, 2008
0

Re: converting string to bytearray

guys some one reply.....i want the code
Reputation Points: 7
Solved Threads: 0
Newbie Poster
divyasrinivasan is offline Offline
21 posts
since Dec 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Save Image in SQL Database Image field
Next Thread in ASP.NET Forum Timeline: access Page Controls from iframe





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC