Click here to Skip to main content
15,885,244 members
Home / Discussions / C#
   

C#

 
GeneralRe: Exception....PLSSSS HELPPPP Pin
Richard MacCutchan2-Oct-09 23:27
mveRichard MacCutchan2-Oct-09 23:27 
GeneralRe: Exception....PLSSSS HELPPPP Pin
Christian Graus2-Oct-09 23:43
protectorChristian Graus2-Oct-09 23:43 
QuestionException in C# Pin
linto_112-Oct-09 22:11
linto_112-Oct-09 22:11 
AnswerRe: Exception in C# Pin
nagendrathecoder2-Oct-09 22:30
nagendrathecoder2-Oct-09 22:30 
GeneralRe: Exception in C# Pin
linto_112-Oct-09 22:43
linto_112-Oct-09 22:43 
GeneralRe: Exception in C# Pin
Christian Graus2-Oct-09 22:54
protectorChristian Graus2-Oct-09 22:54 
AnswerRe: Exception in C# Pin
nagendrathecoder2-Oct-09 22:55
nagendrathecoder2-Oct-09 22:55 
GeneralRe: Exception in C# Pin
Christian Graus2-Oct-09 23:00
protectorChristian Graus2-Oct-09 23:00 
nagendrathecoder wrote:
totalcount = totalcount + 1;
rnd = SelectRandom.Next(0,totalcount - 1);
book = reader.GetValue(0).ToString();
datastring = book.ToCharArray();


How does that work ? He wants to read a random value from the DB. This will give him a useless random number, and he will alway end up with the last string in the data base as his selected string.

Christian Graus

Driven to the arms of OSX by Vista.

Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

GeneralRe: Exception in C# Pin
nagendrathecoder2-Oct-09 23:08
nagendrathecoder2-Oct-09 23:08 
GeneralRe: Exception in C# Pin
linto_112-Oct-09 23:10
linto_112-Oct-09 23:10 
GeneralRe: Exception in C# Pin
Christian Graus2-Oct-09 23:12
protectorChristian Graus2-Oct-09 23:12 
QuestionNamed Pipe Implementation Pin
AndyASPVB2-Oct-09 22:02
AndyASPVB2-Oct-09 22:02 
AnswerRe: Named Pipe Implementation Pin
geo_m6-Oct-09 3:53
geo_m6-Oct-09 3:53 
Questionserver/client help Pin
amaankhan2-Oct-09 20:52
amaankhan2-Oct-09 20:52 
AnswerRe: server/client help Pin
Xmen Real 2-Oct-09 21:02
professional Xmen Real 2-Oct-09 21:02 
GeneralRe: server/client help Pin
amaankhan2-Oct-09 21:14
amaankhan2-Oct-09 21:14 
AnswerRe: server/client help Pin
srikrishnakrishna murthy3-Oct-09 0:02
srikrishnakrishna murthy3-Oct-09 0:02 
GeneralRe: server/client help Pin
amaankhan3-Oct-09 4:34
amaankhan3-Oct-09 4:34 
QuestionStop app from stealing Focus Pin
discreetz2-Oct-09 15:37
discreetz2-Oct-09 15:37 
AnswerRe: Stop app from stealing Focus Pin
Christian Graus2-Oct-09 15:40
protectorChristian Graus2-Oct-09 15:40 
QuestionASCII byte array to float Pin
akhanal2-Oct-09 11:44
akhanal2-Oct-09 11:44 
AnswerRe: ASCII byte array to float Pin
Abhishek Sur2-Oct-09 12:02
professionalAbhishek Sur2-Oct-09 12:02 
GeneralRe: ASCII byte array to float Pin
akhanal2-Oct-09 12:07
akhanal2-Oct-09 12:07 
GeneralRe: ASCII byte array to float Pin
Abhishek Sur2-Oct-09 13:10
professionalAbhishek Sur2-Oct-09 13:10 
GeneralRe: ASCII byte array to float Pin
Luc Pattyn2-Oct-09 13:27
sitebuilderLuc Pattyn2-Oct-09 13:27 

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.