Click here to Skip to main content
15,921,840 members
Home / Discussions / C#
   

C#

 
AnswerRe: Installer and uninstaller? Pin
Colin Angus Mackay8-May-05 0:36
Colin Angus Mackay8-May-05 0:36 
GeneralRe: Installer and uninstaller? Pin
WujekSamoZlo8-May-05 4:39
WujekSamoZlo8-May-05 4:39 
GeneralRe: Installer and uninstaller? Pin
ChesterPoindexter8-May-05 4:51
professionalChesterPoindexter8-May-05 4:51 
GeneralRe: Installer and uninstaller? Pin
WujekSamoZlo8-May-05 5:52
WujekSamoZlo8-May-05 5:52 
GeneralRe: Installer and uninstaller? Pin
WujekSamoZlo8-May-05 6:17
WujekSamoZlo8-May-05 6:17 
GeneralConversion Pin
Member 19080777-May-05 19:54
Member 19080777-May-05 19:54 
GeneralRe: Conversion Pin
Colin Angus Mackay8-May-05 0:34
Colin Angus Mackay8-May-05 0:34 
GeneralRe: Conversion Pin
Colin Angus Mackay9-May-05 1:05
Colin Angus Mackay9-May-05 1:05 
I don't respond off the forum. Any help that I give here is for everyone.

Prakash Khatri wrote:
thanks for the reply.but you dint understand whta i
meant.firstly
1.im reading 2 bytes of a tag intoa bye array.then im
converting it to a string n printing it.the thing is
that the value in the string is a decimal value.i want
its hexa equivalent.any ideas?

2.im reading in data into a byte array.the data is in
being output in the ASCII form,which im guessin is
decimal!?the thing is i want it to output the ASCII
equivalent..as in 97=a..so i tried reading into a char
array as then it'd be output in that way.but even thts
not working.it doesnt give me an output.it jus stays
blank..lolz!any ideas here as well?
3.Do you know off any way to create a table-like
format in csharp w rows n columns etc.?

could you pleasr reply ur response to
xxx.xxx@xxx.com as well


Number 1. See String.Format()[^]. The code you need is probably:
string.Format("{0:x}",value);


Number 2: If the data is being output as ASCII then it is ASCII, I don't know what you mean by decimal in this context. ASCII is already a particular encoding of characters. UTF-7 and UTF-8 are other forms. If the ASCII represents a sequence of number 0-9 then you can convert the byte array to a string then run int.Parse(myString) on it to convert the string to an integer.

Number 3: Use a DataSet.


My: Blog | Photos | Next SQL Presentation
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More


GeneralPrintScreen and saving to an Image object Pin
WujekSamoZlo7-May-05 11:00
WujekSamoZlo7-May-05 11:00 
GeneralRe: PrintScreen and saving to an Image object Pin
Polis Pilavas7-May-05 14:07
Polis Pilavas7-May-05 14:07 
GeneralRe: PrintScreen and saving to an Image object Pin
WujekSamoZlo7-May-05 23:36
WujekSamoZlo7-May-05 23:36 
GeneralRe: PrintScreen and saving to an Image object Pin
Polis Pilavas8-May-05 1:33
Polis Pilavas8-May-05 1:33 
GeneralRounding off integers Pin
katiebrennan7-May-05 10:16
katiebrennan7-May-05 10:16 
GeneralRe: Rounding off integers Pin
vladfein11-May-05 8:50
vladfein11-May-05 8:50 
GeneralRe: Rounding off integers Pin
MoustafaS7-May-05 11:17
MoustafaS7-May-05 11:17 
Generalquestion about bandobjects (toolbar for IE) Pin
Green Fuze7-May-05 8:31
Green Fuze7-May-05 8:31 
GeneralWindows Service - starnge stopping behaviour Pin
Member 14523617-May-05 8:02
Member 14523617-May-05 8:02 
Generaldata formatting in a textbox using c# Pin
NormBohana7-May-05 6:59
NormBohana7-May-05 6:59 
GeneralRe: data formatting in a textbox using c# Pin
Polis Pilavas7-May-05 14:13
Polis Pilavas7-May-05 14:13 
GeneralRe: data formatting in a textbox using c# Pin
NormBohana7-May-05 14:55
NormBohana7-May-05 14:55 
GeneralRe: data formatting in a textbox using c# Pin
Polis Pilavas7-May-05 14:59
Polis Pilavas7-May-05 14:59 
GeneralRe: data formatting in a textbox using c# Pin
NormBohana8-May-05 8:12
NormBohana8-May-05 8:12 
GeneralRe: data formatting in a textbox using c# Pin
Polis Pilavas8-May-05 9:48
Polis Pilavas8-May-05 9:48 
GeneralRe: data formatting in a textbox using c# Pin
NormBohana8-May-05 16:26
NormBohana8-May-05 16:26 
GeneralRe: data formatting in a textbox using c# Pin
Polis Pilavas9-May-05 1:36
Polis Pilavas9-May-05 1:36 

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.