Click here to Skip to main content
15,914,608 members
Home / Discussions / C#
   

C#

 
AnswerRe: Passing data between parent, child and class Pin
paas26-Aug-08 6:47
paas26-Aug-08 6:47 
Questionweb service Pin
arkiboys26-Aug-08 2:47
arkiboys26-Aug-08 2:47 
AnswerRe: web service Pin
leppie26-Aug-08 2:53
leppie26-Aug-08 2:53 
GeneralRe: web service Pin
arkiboys26-Aug-08 2:58
arkiboys26-Aug-08 2:58 
GeneralRe: web service Pin
leppie26-Aug-08 3:02
leppie26-Aug-08 3:02 
GeneralRe: web service Pin
arkiboys26-Aug-08 3:08
arkiboys26-Aug-08 3:08 
AnswerRe: web service Pin
Pete O'Hanlon26-Aug-08 3:08
mvePete O'Hanlon26-Aug-08 3:08 
GeneralRe: web service Pin
arkiboys26-Aug-08 3:15
arkiboys26-Aug-08 3:15 
GeneralRe: web service Pin
Pete O'Hanlon26-Aug-08 3:29
mvePete O'Hanlon26-Aug-08 3:29 
GeneralRe: web service Pin
leppie26-Aug-08 3:40
leppie26-Aug-08 3:40 
GeneralRe: web service Pin
arkiboys26-Aug-08 3:52
arkiboys26-Aug-08 3:52 
GeneralRe: web service Pin
arkiboys26-Aug-08 4:21
arkiboys26-Aug-08 4:21 
GeneralRe: web service Pin
Pete O'Hanlon26-Aug-08 4:29
mvePete O'Hanlon26-Aug-08 4:29 
QuestionScanner and TWAIN Pin
Stephen Lintott26-Aug-08 2:25
Stephen Lintott26-Aug-08 2:25 
AnswerRe: Scanner and TWAIN Pin
leppie26-Aug-08 2:45
leppie26-Aug-08 2:45 
GeneralRe: Scanner and TWAIN Pin
Stephen Lintott26-Aug-08 3:12
Stephen Lintott26-Aug-08 3:12 
Questionsocket send Pin
kk.tvm26-Aug-08 2:22
kk.tvm26-Aug-08 2:22 
AnswerRe: socket send Pin
#realJSOP26-Aug-08 2:45
professional#realJSOP26-Aug-08 2:45 
QuestionTrimEnd Question Pin
MumbleB26-Aug-08 2:21
MumbleB26-Aug-08 2:21 
Hi Guys,

I have a quick question. I googled for this but can't get a satisfactory answer. I need to know how to TrimEnd a specified number of characters. i.e I have a value like this 00000000123450000000. I need to trim the last six zero's off the value. Now, I have written the below which removes all 7 zero's whereas I only want to remove the last 6 zero's.

char[] myChar = { '0' };
string cls = imp.Cls_Units_1.TrimEnd(myChar);

The above piece of code removes all trailing zeros but I need only remove the last six zero's. Does anybody know how I can get this done?

Cheers

Excellence is doing ordinary things extraordinarily well.

AnswerRe: TrimEnd Question Pin
Stephen Lintott26-Aug-08 2:27
Stephen Lintott26-Aug-08 2:27 
GeneralRe: TrimEnd Question Pin
MumbleB26-Aug-08 2:37
MumbleB26-Aug-08 2:37 
GeneralRe: TrimEnd Question Pin
Stephen Lintott26-Aug-08 4:53
Stephen Lintott26-Aug-08 4:53 
AnswerRe: TrimEnd Question Pin
Guffa26-Aug-08 2:41
Guffa26-Aug-08 2:41 
GeneralRe: TrimEnd Question Pin
MumbleB26-Aug-08 3:55
MumbleB26-Aug-08 3:55 
AnswerRe: TrimEnd Question Pin
Guffa26-Aug-08 8:36
Guffa26-Aug-08 8: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.