473,386 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

ASP.NET function runs twice

I have a button on my ASP.NET form that takes information from the form and puts it into a database. However, whenever I push that button it runs the function three times instead of just once. What can I do to fix this?
Nov 22 '05 #1
4 1346
can u pls.place the code here

alliraja

----- Dan O. wrote: ----

I have a button on my ASP.NET form that takes information from the form and puts it into a database. However, whenever I push that button it runs the function three times instead of just once. What can I do to fix this?
Nov 22 '05 #2
can u pls.place the code here

alliraja

----- Dan O. wrote: ----

I have a button on my ASP.NET form that takes information from the form and puts it into a database. However, whenever I push that button it runs the function three times instead of just once. What can I do to fix this?
Nov 22 '05 #3
Hi,

Yeah I'd be interested in seeing the code too, and do you mean three times
or just twice (you say three times in the e-mail and twice in the subjet).

Ta,

Colin

"Dan O." <an*******@discussions.microsoft.com> wrote in message
news:7E**********************************@microsof t.com...
I have a button on my ASP.NET form that takes information from the form

and puts it into a database. However, whenever I push that button it runs
the function three times instead of just once. What can I do to fix this?
Nov 22 '05 #4
Hi,

Yeah I'd be interested in seeing the code too, and do you mean three times
or just twice (you say three times in the e-mail and twice in the subjet).

Ta,

Colin

"Dan O." <an*******@discussions.microsoft.com> wrote in message
news:7E**********************************@microsof t.com...
I have a button on my ASP.NET form that takes information from the form

and puts it into a database. However, whenever I push that button it runs
the function three times instead of just once. What can I do to fix this?
Nov 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Dan O. | last post by:
I have a button on my ASP.NET form that takes information from the form and puts it into a database. However, whenever I push that button it runs the function three times instead of just once. What...
5
by: Bruce Lawrence | last post by:
I'm running Access 97 and my modules are looping if someone puts an invalid value in. The setup: 3 macros - get_clock_num, verify_clocknum, append_to_history 3 functions. each in their own...
4
by: David | last post by:
Hi all, something wrong with my code, it seems that the destructor function has been called twice. I don't know why.here is my codes Fixture.h #ifndef _FIXTURE_H #define _FIXTURE_H #include...
4
by: Rene | last post by:
Hi, first things first, please take a second to check out the page on the link below. http://bookofjavascript.com/Chapter13/Assignment.html In this page, you are supposed to click on the "Make...
8
by: Learner | last post by:
Hello, I converted a VS 2003 project to VS 2005. It works perfectly alright in VS 2003 but when I try running in VS 2005 I got strange thing going on. The code (my button click event ) runs...
23
by: nsa.usa | last post by:
Hi, I used to use a function in other languages (TP or asm don't remember) where I could get number of clockticks since 1980. Is there a similar function in C? I don't seem to find it. I need...
6
by: RandomElle | last post by:
Hi there I'm hoping someone can help me out with the use of the Eval function. I am using Access2003 under WinXP Pro. I can successfully use the Eval function and get it to call any function with...
7
by: Just_a_fan | last post by:
I have a program which runs fine here (created in VB9). I publish it to my web site for download & install. It runs on some computers (one or two) but not others. When it does not run, it causes...
11
by: Gord | last post by:
When I open a certain report, it runs some code that generates the records that will be displayed in that report. This works fine. When I go to print preview the report it appears that the code...
3
mshmyob
by: mshmyob | last post by:
I am scratching my head over this. I have a combo box control where the afterupdate event or even the onchange event keeps runnning twice. Below is some simple code to emulate the problem I am...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.