Hi,
I have the following code:
ID=Request.QueryString("ID_No")
....
if(....) then
.......
if ID>0 then
........
else
.......
end if
end if
My problem is the following:in the if condition , the ID variable has lost its value.Am I doing something wrong?
Hi,
I want to insert an image into my site.My problem is I cannot see the image when running the site.The code I'm using is:
<asp:Image ID="img1" ImageUrl="~/App_Data/image1.jpg" runat="server"/>
How can I fix this problem?
Thanks!
Since I cannot use xp_sendmail(in MS SQL Server 2000) , I've created my own stored procedure for sending emails.The problem is I get error messages regarding the usage of sp_OACreate , sp_OAGetErrorInfo , sp_OASetProperty , sp_OAMethod.It seems I cannot use the stored procedures from the master...
Hi!
I want to use the xp_sendmail procedure for my database.The problem is I don't have the rights to run the procedure. Instead , I recieved a name that I should run the procedure under.From what I read , I should call the procedure like this:
EXEC master.dbo.xp_sendmail...
Hi!
Is it possible to update the content of a column from a table(smalldatetime) with nvarchar data using CAST? The nvarchar string is mm/dd/yyyy and so is the date format
Hi!
I developed a com+ component for sending emails with multiple attachments.The uploaded files are stored on a directory and after the email is send, they are supposed to be deleted.The only problem is that the files aren't deleted.The code looks like this:
Set oFolder =...
Hi!
I have recently added the option of attaching files to my email component.I have a question:what should I use so that after the user attaches the files he can contnue to write the message.What should I do to retain the text?
Hi!
I have to move a file from a server to another.I tried to use the MoveFile method for this , but I'm getting the following error:
Microsoft VBScript runtime error '800a0035'
File not found
the command looks like this:
fs.MoveFile Server.MapPath("upload/tmb.xls")...
Hi!
I developed an application for importing data from an excel file to a sql table using openrowset.My problem is that some values are 'truncated' somehow.
For example,a value from the excel file like: 87987845 will appear in the sql table like: 8.79878e+007.Can somebody help me with this...
Hi!
I have an application that uploads files.The files are uploaded in a folder(called upload) where the asp script is.The code:
objUpload.File(x).SaveToDisk(Server.MapPath("upload"), "")
Could I save the files to a different server?(different than the one running the asp script)
Hi!
Dunno if this is the right place to ask,but....can somebody recommend a good script for transforming excel files into csv files?
Thanks in advance!
Hi!
I want to import data from an excel file into a ms sql table.I tried to use openrowset for this,but i ended up recieving this error:
[Microsoft][ODBC SQL Server Driver][SQL Server]OLE DB error trace [OLE/DB Provider 'Microsoft.Jet.OLEDB.4.0' IDBInitialize::Initialize returned 0x80004005...
Hi!
Can somebody tell me what's wrong in this SQL command:
SELECT * INTO dbo.shopping_TSR FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;Database='c:\inetpub\wwwroot\fileuploader\upload\tmb2.xls'', 'SELECT * FROM [Sheet1$]')
because I'm getting this error:
Incorrect syntax near 'c:'
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.