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

C#

 
GeneralRe: Changing the name of listbox element Pin
sinosoidal30-Mar-07 5:36
sinosoidal30-Mar-07 5:36 
GeneralRe: Changing the name of listbox element Pin
Mike Hankey30-Mar-07 6:00
mveMike Hankey30-Mar-07 6:00 
QuestionFiltering Dataset Pin
aranhamarvel30-Mar-07 4:23
aranhamarvel30-Mar-07 4:23 
AnswerRe: Filtering Dataset Pin
kubben30-Mar-07 4:54
kubben30-Mar-07 4:54 
GeneralRe: Filtering Dataset!! "help me" Pin
aranhamarvel30-Mar-07 10:50
aranhamarvel30-Mar-07 10:50 
QuestionSql inserts duplicated Pin
GermanDM30-Mar-07 3:52
GermanDM30-Mar-07 3:52 
AnswerRe: Sql inserts duplicated Pin
Christian Graus30-Mar-07 4:06
protectorChristian Graus30-Mar-07 4:06 
AnswerRe: Sql inserts duplicated Pin
Guffa30-Mar-07 6:08
Guffa30-Mar-07 6:08 
A regular insert query doesn't add multiple records. The code is executed more than once, and the probable cause is that a user manages to send multiple requests.

Regardless of how fast the response time is, there is almost always a possibility to click the submit button more than once. After the page has been posted to the server, the page remains in the browser until the response comes from the server.

Put a script in the page that stops it from being posted more than once:

<script type="text/javascript">
var stopped = false;
</script>

<input type="submit" onclick="var s=stopped;stopped=true;return s;" />


---
single minded; short sighted; long gone;

GeneralRe: Sql inserts duplicated Pin
GermanDM12-Apr-07 22:03
GermanDM12-Apr-07 22:03 
AnswerRe: Sql inserts duplicated Pin
Guffa13-Apr-07 3:36
Guffa13-Apr-07 3:36 
QuestionHow can I hardware interfacing by using the USB port? Pin
zeeShan anSari30-Mar-07 3:47
zeeShan anSari30-Mar-07 3:47 
QuestionDetect New mail arrival Pin
theScorp30-Mar-07 3:31
theScorp30-Mar-07 3:31 
Questionstring encoding Pin
marwan_siala30-Mar-07 3:12
marwan_siala30-Mar-07 3:12 
AnswerRe: string encoding Pin
andre_swnpl30-Mar-07 3:24
andre_swnpl30-Mar-07 3:24 
GeneralRe: string encoding Pin
marwan_siala30-Mar-07 3:39
marwan_siala30-Mar-07 3:39 
QuestionHow to check whether a specified character exists in a string ? Pin
Mr Perfect30-Mar-07 2:38
Mr Perfect30-Mar-07 2:38 
AnswerRe: How to check whether a specified character exists in a string ? Pin
Bekjong30-Mar-07 2:43
Bekjong30-Mar-07 2:43 
AnswerYou would have to do a speed test Pin
Ennis Ray Lynch, Jr.30-Mar-07 3:53
Ennis Ray Lynch, Jr.30-Mar-07 3:53 
AnswerRe: How to check whether a specified character exists in a string ? [modified] Pin
Russell Jones30-Mar-07 3:55
Russell Jones30-Mar-07 3:55 
AnswerRe: How to check whether a specified character exists in a string ? Pin
Luc Pattyn31-Mar-07 11:31
sitebuilderLuc Pattyn31-Mar-07 11:31 
QuestionHow to modify windows' Open and New dialog using C# Pin
dudedotnet30-Mar-07 2:12
dudedotnet30-Mar-07 2:12 
AnswerRe: How to modify windows' Open and New dialog using C# Pin
Christian Graus30-Mar-07 3:12
protectorChristian Graus30-Mar-07 3:12 
QuestionStream excel workbook Pin
Olleess30-Mar-07 2:00
Olleess30-Mar-07 2:00 
Questionmultilingual pages in asp.net Pin
biaali30-Mar-07 1:50
biaali30-Mar-07 1:50 
AnswerRe: multilingual pages in asp.net Pin
Pixinger7730-Mar-07 3:21
Pixinger7730-Mar-07 3:21 

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.