Click here to Skip to main content
15,893,381 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Displaying Rotating Ads Pin
pmarfleet4-Mar-08 21:58
pmarfleet4-Mar-08 21:58 
Questionhow to split string Pin
Harun.Net4-Mar-08 19:10
Harun.Net4-Mar-08 19:10 
Answer[Message Deleted] Pin
Parwej Ahamad4-Mar-08 19:13
professionalParwej Ahamad4-Mar-08 19:13 
GeneralRe: how to split string Pin
Harun.Net4-Mar-08 19:30
Harun.Net4-Mar-08 19:30 
GeneralRe: how to split string Pin
Guffa4-Mar-08 21:56
Guffa4-Mar-08 21:56 
GeneralRe: how to split string Pin
Parwej Ahamad4-Mar-08 22:24
professionalParwej Ahamad4-Mar-08 22:24 
GeneralRe: how to split string Pin
Guffa4-Mar-08 23:28
Guffa4-Mar-08 23:28 
AnswerRe: how to split string Pin
Christian Graus4-Mar-08 19:14
protectorChristian Graus4-Mar-08 19:14 
The string class has a split method - did you look ?

string s="1,3,4,5,6";
string [] nums = s.Split(",");

foreach (string s in nums)
{
int n;
if (int.TryParse(s, out n))
{
// Do something with n.
}
}

Christian Graus - Microsoft MVP - C++

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

GeneralRe: how to split string Pin
Harun.Net4-Mar-08 19:31
Harun.Net4-Mar-08 19:31 
AnswerRe: how to split string (not an ASP.NET question) Pin
Muhammad Gouda4-Mar-08 21:19
Muhammad Gouda4-Mar-08 21:19 
Questionexit button Pin
zaimah4-Mar-08 18:58
zaimah4-Mar-08 18:58 
GeneralRe: exit button Pin
Christian Graus4-Mar-08 18:59
protectorChristian Graus4-Mar-08 18:59 
QuestionRe: exit button Pin
Sonia Gupta4-Mar-08 19:14
Sonia Gupta4-Mar-08 19:14 
GeneralRe: exit button Pin
Christian Graus4-Mar-08 19:15
protectorChristian Graus4-Mar-08 19:15 
QuestionRe: exit button Pin
zaimah4-Mar-08 19:22
zaimah4-Mar-08 19:22 
GeneralRe: exit button Pin
N a v a n e e t h4-Mar-08 19:24
N a v a n e e t h4-Mar-08 19:24 
GeneralRe: exit button [modified] Pin
Sonia Gupta4-Mar-08 20:17
Sonia Gupta4-Mar-08 20:17 
GeneralRe: exit button Pin
Vasudevan Deepak Kumar4-Mar-08 20:42
Vasudevan Deepak Kumar4-Mar-08 20:42 
QuestionRe: exit button Pin
Sonia Gupta4-Mar-08 20:46
Sonia Gupta4-Mar-08 20:46 
GeneralRe: exit button Pin
_AK_4-Mar-08 21:15
_AK_4-Mar-08 21:15 
GeneralRe: exit button Pin
Sonia Gupta4-Mar-08 21:21
Sonia Gupta4-Mar-08 21:21 
GeneralRe: exit button Pin
N a v a n e e t h4-Mar-08 19:21
N a v a n e e t h4-Mar-08 19:21 
QuestionRe: exit button Pin
zaimah4-Mar-08 19:28
zaimah4-Mar-08 19:28 
GeneralRe: exit button Pin
N a v a n e e t h4-Mar-08 19:36
N a v a n e e t h4-Mar-08 19:36 
GeneralRe: exit button Pin
zaimah4-Mar-08 19:46
zaimah4-Mar-08 19:46 

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.