Click here to Skip to main content
15,891,431 members
Home / Discussions / C#
   

C#

 
GeneralRe: CircleDock Window Source Pin
Pete O'Hanlon5-Oct-09 0:01
mvePete O'Hanlon5-Oct-09 0:01 
GeneralRe: CircleDock Window Source Pin
OriginalGriff5-Oct-09 0:54
mveOriginalGriff5-Oct-09 0:54 
JokeRe: CircleDock Window Source Pin
DaveyM695-Oct-09 1:17
professionalDaveyM695-Oct-09 1:17 
QuestionTcp/Ip and Threading Pin
Hum Dum4-Oct-09 22:55
Hum Dum4-Oct-09 22:55 
AnswerRe: Tcp/Ip and Threading Pin
N a v a n e e t h5-Oct-09 0:14
N a v a n e e t h5-Oct-09 0:14 
GeneralRe: Tcp/Ip and Threading Pin
Hum Dum5-Oct-09 0:39
Hum Dum5-Oct-09 0:39 
GeneralRe: Tcp/Ip and Threading Pin
N a v a n e e t h5-Oct-09 0:46
N a v a n e e t h5-Oct-09 0:46 
GeneralRe: Tcp/Ip and Threading Pin
Hum Dum5-Oct-09 0:55
Hum Dum5-Oct-09 0:55 
GeneralRe: Tcp/Ip and Threading Pin
N a v a n e e t h5-Oct-09 1:08
N a v a n e e t h5-Oct-09 1:08 
GeneralRe: Tcp/Ip and Threading Pin
Hum Dum5-Oct-09 2:34
Hum Dum5-Oct-09 2:34 
GeneralRe: Tcp/Ip and Threading Pin
N a v a n e e t h5-Oct-09 15:47
N a v a n e e t h5-Oct-09 15:47 
QuestionOpen DateTimePicker Pin
tamir9014-Oct-09 22:54
tamir9014-Oct-09 22:54 
AnswerRe: Open DateTimePicker Pin
Richard MacCutchan4-Oct-09 23:25
mveRichard MacCutchan4-Oct-09 23:25 
GeneralRe: Open DateTimePicker Pin
tamir9015-Oct-09 2:15
tamir9015-Oct-09 2:15 
GeneralRe: Open DateTimePicker Pin
Richard MacCutchan5-Oct-09 6:23
mveRichard MacCutchan5-Oct-09 6:23 
QuestionSet width or bounds of custom treenode in winforms Pin
Deabdy214-Oct-09 21:55
Deabdy214-Oct-09 21:55 
AnswerRe: Set width or bounds of custom treenode in winforms Pin
Henry Minute5-Oct-09 3:34
Henry Minute5-Oct-09 3:34 
QuestionNeed the code for Randomization of numbers using c# Pin
vasavi.p4-Oct-09 21:51
vasavi.p4-Oct-09 21:51 
I have used the following code. when the "Quescnt" and the "max value(Int32.Parse(ds.Tables[1].Rows[cnt-1][0].ToString()))" are equal, its going to infinite loop.

static int TheSeed = (int)DateTime.Now.Ticks;
Random RandomClass = new Random(TheSeed);

string Randomnos = string.Empty;

for (int i = 0; i < Quescnt ; i++)
{
int RandomNumber = RandomClass.Next(Int32.Parse(ds.Tables[1].Rows[0][0].ToString()), Int32.Parse(ds.Tables[1].Rows[cnt-1][0].ToString()));
if (!Randomnos.ToString().Contains(RandomNumber.ToString() + ","))
{
Randomnos = Randomnos + RandomNumber.ToString() + ", ";
}
else
{
Quescnt++;
}
}
AnswerRe: Need the code for Randomization of numbers using c# Pin
Christian Graus4-Oct-09 21:59
protectorChristian Graus4-Oct-09 21:59 
AnswerRe: Need the code for Randomization of numbers using c# Pin
OriginalGriff4-Oct-09 22:05
mveOriginalGriff4-Oct-09 22:05 
GeneralRe: Need the code for Randomization of numbers using c# Pin
Christian Graus4-Oct-09 22:07
protectorChristian Graus4-Oct-09 22:07 
GeneralRe: Need the code for Randomization of numbers using c# Pin
OriginalGriff4-Oct-09 22:13
mveOriginalGriff4-Oct-09 22:13 
GeneralRe: Need the code for Randomization of numbers using c# Pin
Christian Graus4-Oct-09 22:14
protectorChristian Graus4-Oct-09 22:14 
GeneralRe: Need the code for Randomization of numbers using c# Pin
Skymir5-Oct-09 2:50
Skymir5-Oct-09 2:50 
GeneralRe: Need the code for Randomization of numbers using c# Pin
Henry Minute5-Oct-09 3:40
Henry Minute5-Oct-09 3:40 

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.