|
by: Bill H |
last post by:
I'm really new to Internet apps and such sorry, if this is a "duh"
question.
What is the standard approach to saving input from a form if on submit
the database connection fails?
I'm thinking along the lines of after the submit the first thing to do
is save the text somewhere (cookie?) and then check for the presence
of the cookie on the form page and if it exists load the text from it.
Destroying the cookie after a successful insert....
|
by: G-Factor |
last post by:
Hi all
I've just started learning about saving files. I got bit of a problem. The
following code gives me an error about incompatible types. (Cannot covert
from class character to char *). I would appreciate it if anyone could
either help me out, or direct me to an online resource site that has
information on saving/loading classes. I have found several tutorials, but
they either do not really help (saving text files) or are too...
|
by: John Pastrovick |
last post by:
Is there a way to load an image locally (in the client) when a
selection of a file is made using input type=file.
The purpose is to allow selection of a file and put the image in the
browser without loading the reloading the page.
I thought about
1. putting a function call in the onchange event of the html input
|
by: M. D'Costa |
last post by:
Hello,
I am saving a csv file through an ASP.NET web application. The data is
obtained from a database and
saved to the local users machine.
I am using the Response objects methods of Addheader and ContentType. It
works fine on my machine to save the file, however on another machine
browser(Internet Explorer), it prompts to save the aspx page. When I say to
save the aspx page, it then opens up the 'save dialog box', and saves the
|
by: Key9 |
last post by:
Question about basic input output.
HI All
I am a new C++er
Suppose I am designing a i/o device .
system have screens .
system have keyboards.
|
|
by: Maris Janis Vasilevskis |
last post by:
Hi,
I create a binary file on client side using ActiveX.
Now, I need to upload it.
First idea - hidden Input type=file
Does not work, because value is read only.
A quickly made working solution:
Visible input type=file
|
by: hrpreet |
last post by:
Hi All,
I need the file chooser in the jsp, just for brosing and saving the
file path in the database, so i have used the following code.I dont
need to read the file content. I have to make it hidden because in
edit mode i need to show the field prepopulated with the file path,
which doesnot happen with input type=file, it cant be shown
prepopulated. But the following code gives access denied error.Please
help.
|
by: Larry Bud |
last post by:
I rarely crosspost, but this affects both ASP and Javascript
REALLY odd bug that I ran across in ASP 3.0. I have an input type of
file, user clicks browse, then places his cursor in the filename, puts
a space at the end of the file, and uploads it. Web server doesn't
translate the MIME type of document properly because it doesn't end
with a valid extension, yet the file itself uploads successfully. I'm
using SAFileUP for my uploading...
|
by: =?Utf-8?B?R2VyaGFyZA==?= |
last post by:
I have a control on a page in .net 2.0:
<input id="AddReport" type="file" name="AddReport" runat="server" />
which I use to get the path, etc. of a file. I then have a button:
<asp:Button ID="btnInsertTab8" runat="server" Text="Add Report" />
that when clicked takes the file data and moves the file to where I want it.
This has all been working fine for months. Recently there was an issue with
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|