Click here to Skip to main content
15,913,854 members
Home / Discussions / C#
   

C#

 
GeneralRe: Threading Pin
Stephen McAllister15-Dec-05 22:24
Stephen McAllister15-Dec-05 22:24 
QuestionInteracting with Dallas IButton form C# Pin
Krrish15-Dec-05 19:49
Krrish15-Dec-05 19:49 
AnswerRe: Interacting with Dallas IButton form C# Pin
Heath Stewart15-Dec-05 21:21
protectorHeath Stewart15-Dec-05 21:21 
Questionwhy doesnt this xml load into an xmldoc ? Pin
g00fyman15-Dec-05 19:36
g00fyman15-Dec-05 19:36 
AnswerRe: why doesnt this xml load into an xmldoc ? Pin
S. Senthil Kumar15-Dec-05 20:41
S. Senthil Kumar15-Dec-05 20:41 
GeneralRe: why doesnt this xml load into an xmldoc ? Pin
g00fyman16-Dec-05 15:20
g00fyman16-Dec-05 15:20 
Questionnewbie in c# Pin
yaminilathatv15-Dec-05 19:36
yaminilathatv15-Dec-05 19:36 
AnswerRe: newbie in c# Pin
Vikram A Punathambekar15-Dec-05 21:49
Vikram A Punathambekar15-Dec-05 21:49 
1. If you're going to use only the Emp table, why recurse through all that is in the DataSet? Just do
foreach(DataRow dr in dt)
{
    // Blah blah
}

2. Also, you've put a WHERE clause in your SELECT query itself, so why do you want to check it in the loop?
3. When you create the query, check if it's indeed a number, and then simply append it to the query.
4. ToString() is a method. I don't know how you were able to compile your code.
5. You're using a very dangerous way of creating queries. Google for sql injection attacks.

HTH. Smile | :)

Cheers,
Vikram.
"When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton.
GeneralRe: newbie in c# Pin
yaminilathatv15-Dec-05 22:23
yaminilathatv15-Dec-05 22:23 
AnswerRe: newbie in c# Pin
J4amieC15-Dec-05 21:49
J4amieC15-Dec-05 21:49 
GeneralRe: newbie in c# Pin
J4amieC15-Dec-05 21:51
J4amieC15-Dec-05 21:51 
GeneralRe: newbie in c# Pin
yaminilathatv15-Dec-05 22:27
yaminilathatv15-Dec-05 22:27 
GeneralRe: newbie in c# Pin
J4amieC16-Dec-05 0:25
J4amieC16-Dec-05 0:25 
GeneralRe: newbie in c# Pin
yaminilathatv16-Dec-05 21:55
yaminilathatv16-Dec-05 21:55 
QuestionSchema Pin
Mahi.Ragava15-Dec-05 18:00
Mahi.Ragava15-Dec-05 18:00 
QuestionCheckbox Arrays... Pin
flicktom15-Dec-05 17:48
flicktom15-Dec-05 17:48 
AnswerRe: Checkbox Arrays... Pin
flicktom15-Dec-05 18:26
flicktom15-Dec-05 18:26 
AnswerRe: Checkbox Arrays... Pin
J. Dunlap15-Dec-05 18:26
J. Dunlap15-Dec-05 18:26 
QuestionHit testing problem Pin
t800t815-Dec-05 15:44
t800t815-Dec-05 15:44 
AnswerRe: Hit testing problem Pin
Heath Stewart15-Dec-05 21:35
protectorHeath Stewart15-Dec-05 21:35 
GeneralRe: Hit testing problem Pin
t800t815-Dec-05 22:01
t800t815-Dec-05 22:01 
Question[URGENT] REGEX question Pin
Sam 200615-Dec-05 15:20
Sam 200615-Dec-05 15:20 
AnswerRe: [URGENT] REGEX question Pin
Christian Graus15-Dec-05 16:12
protectorChristian Graus15-Dec-05 16:12 
Questionopen an executable file on remote machine using WMI Pin
Erick Shuai15-Dec-05 15:12
Erick Shuai15-Dec-05 15:12 
AnswerRe: open an executable file on remote machine using WMI Pin
Dave Kreskowiak15-Dec-05 16:22
mveDave Kreskowiak15-Dec-05 16:22 

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.