Click here to Skip to main content
15,908,112 members
Home / Discussions / C#
   

C#

 
Questionone more question about forms ;) C# ? Pin
cmpeng3416-May-06 3:41
cmpeng3416-May-06 3:41 
AnswerRe: one more question about forms ;) C# ? Pin
Jakob Farian Krarup16-May-06 4:00
Jakob Farian Krarup16-May-06 4:00 
GeneralMessage Closed Pin
16-May-06 22:31
cmpeng3416-May-06 22:31 
GeneralRe: one more question about forms ;) C# ? Pin
Jakob Farian Krarup17-May-06 1:21
Jakob Farian Krarup17-May-06 1:21 
QuestionHelp needed with datagrid control Pin
buzzy8416-May-06 3:30
buzzy8416-May-06 3:30 
Questionstring replace function Pin
Rizwan Bashir16-May-06 2:28
Rizwan Bashir16-May-06 2:28 
AnswerRe: string replace function Pin
Robert Rohde16-May-06 2:41
Robert Rohde16-May-06 2:41 
AnswerRe: string replace function Pin
coolestCoder16-May-06 2:53
coolestCoder16-May-06 2:53 
Hi,

It is simple. First use the IndexOf method to find the index of the sring. then using length property just remove the string to be replaced. then insert new string at the same index from where we first removed the string.

Hope this algo works. i havent checked but its the only solution i could figure out.




Anant Y. Kulkarni
AnswerRe: string replace function Pin
Guffa16-May-06 3:23
Guffa16-May-06 3:23 
AnswerRe: string replace function Pin
coolestCoder16-May-06 3:27
coolestCoder16-May-06 3:27 
Questiona question about forms ? Pin
cmpeng3416-May-06 2:21
cmpeng3416-May-06 2:21 
AnswerRe: a question about forms ? Pin
_AK_16-May-06 2:32
_AK_16-May-06 2:32 
AnswerRe: a question about forms ? Pin
J4amieC16-May-06 2:48
J4amieC16-May-06 2:48 
QuestionInteractive Services Pin
Waqas Nasir16-May-06 2:20
Waqas Nasir16-May-06 2:20 
AnswerRe: Interactive Services Pin
coolestCoder16-May-06 2:41
coolestCoder16-May-06 2:41 
Questionhow can i have checkboxes for only child nodes in a windows treeview control? Pin
justin_wang16-May-06 2:05
justin_wang16-May-06 2:05 
AnswerRe: how can i have checkboxes for only child nodes in a windows treeview control? Pin
justin_wang16-May-06 16:36
justin_wang16-May-06 16:36 
QuestionDraw line Pin
Talktorajeev16-May-06 1:42
Talktorajeev16-May-06 1:42 
AnswerRe: Draw line Pin
alexey N16-May-06 1:55
alexey N16-May-06 1:55 
QuestionFile Folder Hooking using C# Pin
Waqas Nasir16-May-06 1:36
Waqas Nasir16-May-06 1:36 
AnswerRe: File Folder Hooking using C# Pin
Nick Parker16-May-06 3:13
protectorNick Parker16-May-06 3:13 
GeneralRe: File Folder Hooking using C# Pin
Waqas Nasir16-May-06 18:39
Waqas Nasir16-May-06 18:39 
GeneralRe: File Folder Hooking using C# Pin
Luqman_Ahmad20-Jul-09 12:07
Luqman_Ahmad20-Jul-09 12:07 
Questionuploading file to remote. Pin
SSRajan16-May-06 1:29
SSRajan16-May-06 1:29 
AnswerRe: uploading file to remote. Pin
CWIZO16-May-06 1:34
CWIZO16-May-06 1:34 

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.