Click here to Skip to main content
15,881,803 members
Home / Discussions / C#
   

C#

 
AnswerRe: problem whit data format Pin
Le centriste31-Jan-06 1:41
Le centriste31-Jan-06 1:41 
QuestionCalander Alarm Timer Pin
Dave McCool30-Jan-06 23:53
Dave McCool30-Jan-06 23:53 
QuestionTabStrip Control Pin
karthik_dotnet130-Jan-06 23:51
karthik_dotnet130-Jan-06 23:51 
QuestionNumerous items Pin
Dave McCool30-Jan-06 23:44
Dave McCool30-Jan-06 23:44 
AnswerRe: Numerous items Pin
Colin Angus Mackay31-Jan-06 0:11
Colin Angus Mackay31-Jan-06 0:11 
QuestionGetString function Pin
ita_cas30-Jan-06 23:25
ita_cas30-Jan-06 23:25 
AnswerRe: GetString function Pin
AETaylor31-Jan-06 1:17
AETaylor31-Jan-06 1:17 
AnswerRe: GetString function Pin
kasik31-Jan-06 1:20
kasik31-Jan-06 1:20 
Is the byte array based on Unicode/ASCII characters, or is it just an array that you want to store as text?

If you just want to convert the byte array into a storable string (and then convert it back afterwards), try Convert.ToBase64String() to change them into a string, and Convert.FromBase64String() to change them back. The MSDN article for the former is here[^]

If the array is based on characters in text, then you can use the System.Text.Encoding.Unicode.GetString() method (or ASCII if you replace the relevant word).

Hope that helps.

Cheers,
Will H

-- modified at 7:23 Tuesday 31st January, 2006
QuestionTime hr:min AM/PM with updown control Pin
For_IT30-Jan-06 22:38
For_IT30-Jan-06 22:38 
AnswerRe: Time hr:min AM/PM with updown control Pin
Ingo30-Jan-06 22:56
Ingo30-Jan-06 22:56 
QuestionProblem in Sending Email Pin
sohne30-Jan-06 22:16
sohne30-Jan-06 22:16 
AnswerRe: Problem in Sending Email Pin
Ingo30-Jan-06 22:51
Ingo30-Jan-06 22:51 
QuestionUgly error Pin
nc3b30-Jan-06 20:57
nc3b30-Jan-06 20:57 
QuestionRe: Ugly error Pin
Vikram A Punathambekar30-Jan-06 22:03
Vikram A Punathambekar30-Jan-06 22:03 
AnswerRe: Ugly error Pin
nc3b30-Jan-06 22:06
nc3b30-Jan-06 22:06 
GeneralRe: Ugly error Pin
nc3b30-Jan-06 22:11
nc3b30-Jan-06 22:11 
GeneralRe: Ugly error Pin
Colin Angus Mackay30-Jan-06 22:27
Colin Angus Mackay30-Jan-06 22:27 
GeneralRe: Ugly error Pin
nc3b30-Jan-06 22:29
nc3b30-Jan-06 22:29 
GeneralRe: Ugly error Pin
Colin Angus Mackay30-Jan-06 22:46
Colin Angus Mackay30-Jan-06 22:46 
GeneralRe: Ugly error Pin
nc3b30-Jan-06 22:48
nc3b30-Jan-06 22:48 
GeneralRe: Ugly error Pin
Colin Angus Mackay30-Jan-06 22:50
Colin Angus Mackay30-Jan-06 22:50 
AnswerRe: Ugly error Pin
Ingo30-Jan-06 22:46
Ingo30-Jan-06 22:46 
GeneralRe: Ugly error Pin
nc3b30-Jan-06 22:56
nc3b30-Jan-06 22:56 
GeneralRe: Ugly error Pin
Ingo30-Jan-06 23:08
Ingo30-Jan-06 23:08 
GeneralRe: Ugly error Pin
nc3b30-Jan-06 23:11
nc3b30-Jan-06 23:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.