I am in the process of writing code for uploading PDFs. The page will contain (1) upload control for adding new PDFs and (2) grid that lists current PDFs.
The table in which PDFs will be stored contains fields named AttachmentId (int), Attachment (varbinary(MAX)) and AttachmentFileName...
I have a gridview, in which there's a notepad icon as an image. When the user mouses over the icon, I want a pop-up to display any notes associated with that record. However, nothing happens.
Gridview code:
<asp:ScriptManager id="ScriptManager1" enablepartialrendering ="true"...
Which is the more efficient method of binding controls (listbox, dropdown list, gridview, etc)?
- Using a SQLDataSource control for each
- Creating a single connection in the codebehind page & using it to retrieve all data
My first instinct is to code everything by hand, but I wanted to take...
Membership.CreateUser takes arguments for username, password, email, password question, and password answer. However, in the current project, we're not using the security question and answer.
Does it matter what is entered for the question & answer? They're required, apparently.
This works...
A gridview contains a list of links, a menu of sorts, for users in an app. Some are external, some are internal. (Aside from the external beginning with "http://" they are also flagged in the database with an IsUrl field.)
We'd like the external links to open in a new window (target = blank)...
This is probably so simple that I'll beat myself repetitively after learning the answer :)
Problem: I have a listbox, lstUrls, that is populated by a dataset. It contains a list of web sites. And there is a button, btnRemove, that attempts to recognize the currently selected record in lstUrls...
I have a gridview that I'd like filtered by the current username.
Its source is a stored procedure, taking one argument, Username (string).
The datasource configuration provides the ability to select from such choices as form control and query string, but I'm not sure how to retrieve the...
Is it possible to write settings to the web.config file?
I'm deploying an app, and the smtp server name will be stored in web.config. I know that if the value changes, the web.config file can be edited per usual. However, I was wondering if this would be something that could be set by the admin...
There's some code I'd like to be executed every x number of seconds.
The only way my web host says it can be done is by putting it in an aspx (or ASP or CFM) page, and they can add it to Windows scheduled tasks. While this is an option, they schedule it to run far less frequently than I'd...
I have an Access 2007 application that "watches" a folder to determine if new files or added, or if existing files are renamed. This uses the .NET FileSystemWatcher class, incorporated into a DLL wrapper named IOLib.
I've downloaded all the code and made it work without error in a VB6 form...
I've downloaded some VB code that creates a wrapper for the FileSystemWatcher class in .NET.
http://msdn2.microsoft.com/en-us/library/ms364070(vs.80).aspx
Included was an install.bat file to register everything.
It worked great on one machine. However, on another, I got the following error...
Most of the time, it seems as though we're sending things to PDFs. Well, this time it's somewhat the opposite :)
Here's the situation. A client wants to save scanned files as PDFs, and store the files in a database table. Since Access 2007 has the Attachment data type, that's what we're going...
(Please forgive me if this isn't in the proper forum)
Some support sites allow users to submit "help" requests via email. These are then loaded into the support database and case numbers issued, confirmation emails sent, etc.
My question: how does the automated process access and load the...
I'm designing a new paid membership-based site. It's conceivable that some subscribers will want, and pay for, customization to one or more pages. Some of the ability to customize will, of course, be built into the design (such as choose fields for creating a download), and I will make some...
Bit of explanation to start: This particular client has used -- with little success -- WinFax in the past to attempt sending reports to clients via fax. He's not willing at this point to consider using anything but the fax capabilities of Windows Server 2003.
What we're wanting to do...
Bit of explanation to start: This particular client has used -- with little success -- WinFax in the past to attempt sending reports to clients via fax. He's not willing at this point to consider using anything but the fax capabilities of Windows Server 2003.
What we're wanting to do...
Bit of explanation to start: This particular client has used -- with little success -- WinFax in the past to attempt sending reports to clients via fax. He's not willing at this point to consider using anything but the fax capabilities of Windows Server 2003.
What we're wanting to do...
I'm just now learning of the membership tools available in ASP.NET 2.0 ... looks very powerful, and relatively easy to manage. It brought up some questions about how they'd relate to SQL logins and roles.
An app that I am expecting to begin working on shortly will have a hosted SQL Server 2005...
(Note: Please let me know if this is best asked in a different SQL forum)
I'm not sure of the exact terminology ... terms such as replication and synchronization come to mind, but I want to make sure I'm speaking properly :)
The situation is that users would carry a laptop or have a home PC...
A custom object returns an ADO recordset to Access. I'd like the contents to be inserted into a table as quickly and efficiently as possible.
I know that this can be accomplished by looping thru the records, but I was curious whether there was a more efficient operation.
I'm particularly...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.