Click here to Skip to main content
15,892,537 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to change the text of a text object at runtime in crystal reports for .NET (C#) Pin
Dave Kreskowiak15-Sep-04 3:56
mveDave Kreskowiak15-Sep-04 3:56 
GeneralRe: wall on this one:simple string search question Pin
sreejith ss nair15-Sep-04 3:46
sreejith ss nair15-Sep-04 3:46 
GeneralRe: wall on this one:simple string search question Pin
Heath Stewart15-Sep-04 7:22
protectorHeath Stewart15-Sep-04 7:22 
Generalsimple string search question Pin
Vodstok15-Sep-04 3:32
Vodstok15-Sep-04 3:32 
GeneralRe: simple string search question Pin
sreejith ss nair15-Sep-04 3:44
sreejith ss nair15-Sep-04 3:44 
GeneralRe: simple string search question Pin
Vodstok15-Sep-04 3:58
Vodstok15-Sep-04 3:58 
GeneralRe: simple string search question Pin
sreejith ss nair15-Sep-04 4:15
sreejith ss nair15-Sep-04 4:15 
GeneralRe: simple string search question Pin
sreejith ss nair15-Sep-04 4:28
sreejith ss nair15-Sep-04 4:28 
hi,

Ok. Don't repeat this anymore. That's is don't ask supporters for code block.


string[] ab=new string[5];
string[] bc=new string[4];
string[] cd=new string[5];
int ctr,ctr1=-1;

ab[0]="red";
ab[1]="blue";
ab[2]="yellow";
ab[3]="green";
ab[4]="black";

bc[0]="green";
bc[1]="red";
bc[2]="blue";
bc[3]="pink";

foreach(string Str in ab)
{
ctr=0;
ctr1++;
foreach(string Str2 in bc)
{
if(Str.Equals(Str2))
{
ctr++;
}
else
continue;
}
if(ctr!=0)
cd[ctr1]=Str+"|Yes";
else
cd[ctr1]=Str+"|No";


}

foreach(string str in cd)
{
string[] part=str.Split('|');
Console.WriteLine(part[0]+"="+part[1]);

}

}


**************************
S r e e j i t h N a i r
**************************
Generalwall on this one:simple string search question Pin
Vodstok15-Sep-04 3:27
Vodstok15-Sep-04 3:27 
GeneralPopulate TreeView with ArrayList Pin
93Current15-Sep-04 2:31
93Current15-Sep-04 2:31 
GeneralRe: Populate TreeView with ArrayList Pin
Nnamdi Onyeyiri15-Sep-04 3:22
Nnamdi Onyeyiri15-Sep-04 3:22 
GeneralRe: Populate TreeView with ArrayList Pin
93Current15-Sep-04 8:11
93Current15-Sep-04 8:11 
Generalfinding Movie duration of a wmv file Pin
gupta vaibhav15-Sep-04 0:04
gupta vaibhav15-Sep-04 0:04 
GeneralRe: finding Movie duration of a wmv file Pin
sreejith ss nair15-Sep-04 0:37
sreejith ss nair15-Sep-04 0:37 
GeneralRe: finding Movie duration of a wmv file Pin
gupta vaibhav15-Sep-04 3:39
gupta vaibhav15-Sep-04 3:39 
GeneralRe: finding Movie duration of a wmv file Pin
sreejith ss nair15-Sep-04 3:54
sreejith ss nair15-Sep-04 3:54 
GeneralRe: finding Movie duration of a wmv file Pin
gupta vaibhav15-Sep-04 18:18
gupta vaibhav15-Sep-04 18:18 
GeneralRe: finding Movie duration of a wmv file Pin
sreejith ss nair15-Sep-04 22:24
sreejith ss nair15-Sep-04 22:24 
GeneralRe: finding Movie duration of a wmv file Pin
gupta vaibhav15-Sep-04 22:45
gupta vaibhav15-Sep-04 22:45 
GeneralOnly 2 decimal places for data in a textbox Pin
myNameIsRon14-Sep-04 17:07
myNameIsRon14-Sep-04 17:07 
GeneralRe: Only 2 decimal places for data in a textbox Pin
KevinMac14-Sep-04 18:22
KevinMac14-Sep-04 18:22 
GeneralRe: Only 2 decimal places for data in a textbox Pin
myNameIsRon14-Sep-04 19:09
myNameIsRon14-Sep-04 19:09 
GeneralRe: Only 2 decimal places for data in a textbox Pin
sreejith ss nair14-Sep-04 18:34
sreejith ss nair14-Sep-04 18:34 
GeneralRe: Only 2 decimal places for data in a textbox Pin
myNameIsRon14-Sep-04 19:03
myNameIsRon14-Sep-04 19:03 
GeneralRe: Only 2 decimal places for data in a textbox Pin
sreejith ss nair14-Sep-04 19:10
sreejith ss nair14-Sep-04 19:10 

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.