Click here to Skip to main content
15,902,198 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow to work webparts for a windows authentication please Pin
lakshmichawala24-Jun-09 19:19
lakshmichawala24-Jun-09 19:19 
Questionsplit the string and check it to another string Pin
Member 387988124-Jun-09 19:09
Member 387988124-Jun-09 19:09 
AnswerRe: split the string and check it to another string Pin
padmanabhan N24-Jun-09 19:19
padmanabhan N24-Jun-09 19:19 
GeneralRe: split the string and check it to another string Pin
Member 387988124-Jun-09 19:52
Member 387988124-Jun-09 19:52 
AnswerRe: split the string and check it to another string Pin
dan!sh 24-Jun-09 20:22
professional dan!sh 24-Jun-09 20:22 
GeneralRe: split the string and check it to another string Pin
padmanabhan N24-Jun-09 21:14
padmanabhan N24-Jun-09 21:14 
GeneralRe: split the string and check it to another string Pin
dan!sh 24-Jun-09 21:38
professional dan!sh 24-Jun-09 21:38 
AnswerRe: split the string and check it to another string Pin
Chetan.visodiya24-Jun-09 22:36
Chetan.visodiya24-Jun-09 22:36 
This will not work for below string
string lgtext = "text5, text2, text6, text4, text7text8 ";
And you have find exact "text8".
if you use Contains then it returns true but text8 is not in the collection.

So better to use below code.

protected void Button1_Click(object sender, EventArgs e)
{
string lgtext = "text5, text2, text6, text4";
string shtext = "text2";
string[] split = lgtext.Split(',');
for(int i=0;i< =split.Length-1;i++)
{
if(split[i].Contains(shtext))
Response.Write("Found");
}
}
QuestionOutput in Dos based Text file Pin
Girish48124-Jun-09 19:00
Girish48124-Jun-09 19:00 
QuestionProblem with dynamic eventhandler Pin
S.Aijaz24-Jun-09 18:27
S.Aijaz24-Jun-09 18:27 
AnswerRe: Problem with dynamic eventhandler Pin
padmanabhan N24-Jun-09 18:37
padmanabhan N24-Jun-09 18:37 
GeneralRe: Problem with dynamic eventhandler Pin
S.Aijaz24-Jun-09 18:41
S.Aijaz24-Jun-09 18:41 
GeneralRe: Problem with dynamic eventhandler Pin
padmanabhan N24-Jun-09 18:57
padmanabhan N24-Jun-09 18:57 
GeneralRe: Problem with dynamic eventhandler Pin
S.Aijaz24-Jun-09 19:02
S.Aijaz24-Jun-09 19:02 
GeneralRe: Problem with dynamic eventhandler Pin
padmanabhan N24-Jun-09 19:09
padmanabhan N24-Jun-09 19:09 
Questioncookies in .net Pin
Member 387988124-Jun-09 18:24
Member 387988124-Jun-09 18:24 
AnswerRe: cookies in .net Pin
padmanabhan N24-Jun-09 18:37
padmanabhan N24-Jun-09 18:37 
GeneralRe: cookies in .net Pin
Jack Li24-Jun-09 18:44
Jack Li24-Jun-09 18:44 
GeneralRe: cookies in .net Pin
padmanabhan N24-Jun-09 18:58
padmanabhan N24-Jun-09 18:58 
GeneralRe: cookies in .net Pin
Member 387988124-Jun-09 19:05
Member 387988124-Jun-09 19:05 
QuestionASP menu not showing correctly on web page in some browsers. Pin
Steve Holdorf24-Jun-09 11:01
Steve Holdorf24-Jun-09 11:01 
AnswerRe: ASP menu not showing correctly on web page in some browsers. Pin
Christian Graus24-Jun-09 15:10
protectorChristian Graus24-Jun-09 15:10 
GeneralRe: ASP menu not showing correctly on web page in some browsers. Pin
Steve Holdorf24-Jun-09 16:00
Steve Holdorf24-Jun-09 16:00 
GeneralRe: ASP menu not showing correctly on web page in some browsers. Pin
Christian Graus24-Jun-09 16:18
protectorChristian Graus24-Jun-09 16:18 
AnswerRe: ASP menu not showing correctly on web page in some browsers. Pin
keyur satyadev24-Jun-09 19:01
keyur satyadev24-Jun-09 19:01 

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.