Click here to Skip to main content
16,013,489 members
Home / Discussions / C#
   

C#

 
AnswerRe: i incounter substring problem Pin
Bogdan Damian27-Jun-06 8:04
Bogdan Damian27-Jun-06 8:04 
QuestionCrystal Report with windows forms Pin
Mairaaj Khan26-Jun-06 2:06
professionalMairaaj Khan26-Jun-06 2:06 
AnswerRe: Crystal Report with windows forms Pin
Michael P Butler26-Jun-06 2:11
Michael P Butler26-Jun-06 2:11 
GeneralRe: Crystal Report with windows forms Pin
Mairaaj Khan26-Jun-06 3:12
professionalMairaaj Khan26-Jun-06 3:12 
GeneralRe: Crystal Report with windows forms Pin
Michael P Butler26-Jun-06 3:46
Michael P Butler26-Jun-06 3:46 
GeneralRe: Crystal Report with windows forms Pin
Mairaaj Khan27-Jun-06 0:08
professionalMairaaj Khan27-Jun-06 0:08 
Questiondatabase problem [modified] Pin
johan313126-Jun-06 1:56
johan313126-Jun-06 1:56 
AnswerRe: database problem Pin
Colin Angus Mackay26-Jun-06 2:09
Colin Angus Mackay26-Jun-06 2:09 
johan3131 wrote:
My first question is that one running this it throws exception that i must enable Asynchronous Processing in my connection string, why is this?


Because you are using the asynchronous method BeginExecuteNonQuery to run the query, if you don't want this change the method call to ExecuteNonQuery.

Also, your code is suscepatable to a SQL Injection Attack. You use at least parameterised queries to help defend against this. Read: SQL Injection Attacks and Tips on How to Prevent Them[^]


Scottish Developers events:
* .NET debugging, tracing and instrumentation by Duncan Edwards Jones and Code Coverage in .NET by Craig Murphy
* Developer Day Scotland: are you interested in speaking or attending?

My: Website | Blog
QuestionHow to disable the Browser Back Functionality Pin
VenkataRamana.Gali26-Jun-06 1:55
VenkataRamana.Gali26-Jun-06 1:55 
AnswerRe: How to disable the Browser Back Functionality Pin
Mike Poz28-Jun-06 7:47
Mike Poz28-Jun-06 7:47 
QuestionOracle Client 9i accessing problem Pin
VenkataRamana.Gali26-Jun-06 1:50
VenkataRamana.Gali26-Jun-06 1:50 
AnswerRe: Oracle Client 9i accessing problem Pin
esjq26-Jun-06 3:39
esjq26-Jun-06 3:39 
Questionhow to read write xml file [modified] Pin
foysal mamun26-Jun-06 1:28
foysal mamun26-Jun-06 1:28 
AnswerRe: how to read write xml file Pin
Nader Elshehabi26-Jun-06 1:37
Nader Elshehabi26-Jun-06 1:37 
GeneralRe: how to read write xml file Pin
foysal mamun26-Jun-06 2:11
foysal mamun26-Jun-06 2:11 
GeneralRe: how to read write xml file Pin
Michael P Butler26-Jun-06 2:14
Michael P Butler26-Jun-06 2:14 
Questiongetting ip or mac address with c# ? Pin
cmpeng3426-Jun-06 1:23
cmpeng3426-Jun-06 1:23 
AnswerRe: getting ip or mac address with c# ? Pin
stancrm26-Jun-06 1:25
stancrm26-Jun-06 1:25 
AnswerRe: getting ip or mac address with c# ? Pin
leppie26-Jun-06 1:26
leppie26-Jun-06 1:26 
AnswerRe: getting ip or mac address with c# ? Pin
Tarakeshwar Reddy26-Jun-06 1:27
professionalTarakeshwar Reddy26-Jun-06 1:27 
QuestionRedirect file stream? Pin
Narthalion26-Jun-06 0:59
Narthalion26-Jun-06 0:59 
AnswerRe: Redirect file stream? Pin
Nader Elshehabi26-Jun-06 1:45
Nader Elshehabi26-Jun-06 1:45 
QuestionValue member & display member for combobox when using datareader Pin
ashishinfra26-Jun-06 0:56
ashishinfra26-Jun-06 0:56 
AnswerRe: Value member & display member for combobox when using datareader Pin
Paul Brower26-Jun-06 2:12
Paul Brower26-Jun-06 2:12 
GeneralRe: Value member & display member for combobox when using datareader Pin
ashishinfra26-Jun-06 2:31
ashishinfra26-Jun-06 2:31 

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.