all groups > inetserver asp db > october 2007
Merging recordsets from two different DBs
Posted by Massimo at 10/31/2007 8:07:41 PM
I have an ASP (classic ASP) page which queries data from two databases
residing on the same SQL Server 2005 instance; it takes advantage of this by
using a query like this:
SELECT Something FROM DB1.dbo.SomeTable
UNION
SELECT SomethingElse FROM DB2.dbo.SomeOtherTable
The two tables have,... more >>
BLOB to MS Word via ASP/VBScript
Posted by at 10/31/2007 9:43:07 AM
I've been researching this for two days without little success. I have
an ASP that accesses an Oracle BLOB to extract MS Word documents
(later to include excel, power point, pdf, and text). The document is
stored there via Rational ClearCase.
I'm able to access the data in the BLOB, but when I... more >>
Updating text box based on value from Drop down
Posted by navin at 10/29/2007 7:27:29 AM
Hi All,
I have designed a webpage for my office and have published the site
from my system. In my webpage, I have a drop down which contains
different activities we work on, which is stored in a database. My
requirement is that, as
soon as user selects an activity, page should retrieve all th... more >>
Drop down list
Posted by navin at 10/25/2007 11:28:47 AM
Hi All,
In a drop down box i am populating all the weeks from 1 to 52, but
whenever the page loads, i want it show the current week number as
selected value.
Below is what is did:
<option selected value="<% DatePart("ww", Now()) %>"> <% wkCnt %> </
option>
But when my page load... more >>
Page inserting blank
Posted by navin at 10/13/2007 6:57:28 AM
Hi All,
i am trying to insert some records through ASP. In order to insert new
record, i have a link "Add New". Problem is when i click on link "Add
New" and go back to the view page, without saving any data, my page
still inserts blank data into the database. i am using the below code:
<%... more >>
(0x80004005) Data source name not found
Posted by navin at 10/8/2007 1:30:22 AM
Hi All,
I am trying to connect to the database through DSN. i have set it up
as System DSN, but when i open the page, i get error "(0x80004005)
[Microsoft][ODBC Driver Manager] Data source name not found and no
default driver specified.
below is the code which i am using:
<%
' Quick sec... more >>
updating information to database
Posted by navin at 10/6/2007 11:45:05 AM
Hi All,
i have page which shows supplier information in a table format.
Supplier Name Contact Email
AAA xxxxx xxxxxxx
In order to change or update information for the supplier, i want to
display supplier name in the table cell as a link.
... more >>
SQL Error
Posted by J-P-W at 10/1/2007 1:59:07 PM
Hi,
My ASP page is accessed from a form, the aim is to update a record.
The SQL generated is:
UPDATE tblSales SET ItemDescription='Seven',
ItemBriefDescription='Sev', ItemCost=0, ItemPhotoURL='', Current='No'
WHERE ItemID=7;
On the web server I get an error "Syntax error in UPDATE stat... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
|