I get the error "Calendar.Date.CV_SELECTEDMONTH denotes a field where a class was expected" when I am trying to use a private variable inside a class:
private DateTime CV_SELECTEDMONTH=DateTime.Today;
private int...
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: '[string: "9/31/2004"]'
is the error I am getting. I tried using datavalue and cdate to change the concatated string to a date. All of the functions are included below.
**** code below ****
<% @LANGUAGE = "VBScript" %>
<%...
I get "Error Type: Microsoft VBScript compilation (0x800A03EE) Expected ')'" for
dim pArray()
call testing("1","2","")
public function testing(pArray(0),pArray(1),pArray(2))
for each item in pArray
if pArray(item)="" then pArray(item)="0"
response.write(pArray(item))...
My webpage platform is sun one asp/mySql and I am having a problem with the following insert statement. The statement works in the query analyzer and I get a generic error page.
(id is a timestamp field)
insert into cv_archive
select * from cv
where id = 20040730134934
set conn =...
I am getting Error Number : 438 - Source : Sun ONE ASP VBScript runtime error - Object does not support this property or method: 'count'. Does anybody know where I can find info on Sun One's error object?
I need to find a way to change the background color of input text boxes. Is my syntax close to correct?
var tmpName = autoquote.elements[i];
...
tmpName.style.backgroundColor="yellow";
I'm trying to connect remotely to a website database with the same string I use for the website - conn.ConnectionString="DRIVER={MySQL};DATABASE=mediajunkie_us;SERVER=www.mediajunkie.us;UID=a304eb;PWD=###".
Does need to be changed and if so... how?
I am having a problem pulling data out of an Access2000 file with ASP. The statment I have been working with is:
select distinct([codeview].section)
from [codeview]
order by [codeview].section
which works fine in the SQL window inside Access but throws an unspecified error when launched...
This sql statement works in ASP w/MSAccess
- select distinct * from [codeview]
but these aren't
- select distinct section from [codeview]
- select distinct [codeview].section from [codeview]
All three queries work when I run them in MSAccess. What do I have to change to get it to work?
rsUpdate.Open (Request.Form("transaction")), conn
The above gives me "The specified table does not exist". Is there a way to force the value of Request.Form("transaction") into this open statement?
Why would
<%
dim i
i=0
Response.Write ("select recordid from table <br>")
for each item in Request.Form("recordID")
i=i+1
if(i>1)then Response.Write("and recordid = " & item)
else Response.Write("where recordid = " & item)
end if...
I am rather new to SQL server and writing stored procedures for it. Why does it require redundant declaration? E.G... the declared variables must be matched up with the fields of the table in the select statement and then in the conditional (set) statements used to get the final result.
Hello!
The program throws the exception on the last line below:
An unhandled exception of type System.InvalidOperationException' occurred in myprog.exe
Additional information: There is already an open DataReader associated with this Connection which must be closed first.
Is there anything I...
Is there a way to pre-allocate the space needed for a border for a:hover so the text doesn't move when the cursor is over it? My next question requires the page listed below. The darker gray span doesn't change with the rest of the hyperlink, is there a way for the whole byperlink to change...
Does anybody see why this wouldn't work? Or setting on my local system that would keep it from working? I just loaded VS.Net v.2003 Enterprise Architect.
code below:
<%
dim objFSO, objFolder, objFile, varFile
On Error Resume Next
Set objFSO =...
I don't know which forum to place this in so I put it in all three areas of javascript/asp/html.
My page info prints the first character to the far left, almost off the screen. Is there something I can do? <br> doesn't work and I found <br clear="all"> but that didn't either.
code...
I don't know which forum to place this in so I put it in all three areas of javascript/asp/html.
My page info prints the first character to the far left, almost off the screen. Is there something I can do? <br> doesn't work and I found <br clear="all"> but that didn't either.
code...
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.