asp

asp: fastest way for sending email?

hi, i was wondering - what's the fastest way to mail out from asp: i'm currently using jMail but it seems pretty slow to me. would it be faster using CDOSYS? i think a problem is smtp-authentification which is slowing down mailing the most. thanks ...

Is it always better to used asp Control?

I'm confused which one is better. ASPX: <asp:HyperLink ID="HyperLink1" runat="server">HyperLink</asp:HyperLink> Code: String url = "http://stackoverflow.com"; if(IsShow) { HyperLink1.Visible = true; HyperLink1.NavigateUrl = url; } and the second option is: <%if(IsShow){%> <a href="<%=url%>">HyperLink</a> <%}%> This two ...

Update Syntax for Oracle 10g using ASP.NET

I have a GridView with an Update button. I want to update a field in the database but I think the '@' in the code below is causing the problem in my ASP .NET page. What can be done within the grid or in the update (UpdateCommand) statement? Note, I get an Ora 00936 error. <asp:SqlDataSource ID="dsBooks" runat="server" Provid...

MS Access default value

I have a text column in one of my MS Access tables that is empty be default when a new record is inserted. The problem I have is that I can't seem to check whether this field is empty with EITHER equals Null or equals "" . For example, neither of these "reads" the field as being empty: If [Field] = "" Or [Field] = Null Then I've alway...

Real time RSS display on web page (best practices and source codes)

Hello guys, i have a php script who parser a rss and give me the data in a know pattern. Im very new with ASP, JavaScript and Jquery so i dont have any idea of how to autoupdate the script and display the new data with a smooth animation (see this example, that exactly what i want). Thanks for the support and if you know a good script to...

Refactoring multiple instances of ecommerce software into single code base

Disclaimer, I am technical support and sysadmin for my company, not a developer. I'm not after the specifics, simply an idea if what I'd like to acheive is possible or not. We host hundreds of instances of our in-house classic ASP legacy ecommerce software application and due to countless customisations by clients and ourselves, version...

SOAP Web Service on ASP server consumed via PHP

I'm trying to use a Web Service using PHP and SOAP. The Web Service is built in .NET and hosted on an ASP server. I'm using the following code to interact with the API but I keep getting an error with parsing WSDL. The PHP UNIX server has an SSL certificate, the web service host also has an SSL certificate and I'm using https to initia...

Add a button and call corresponding function in asp page

I want to add a button to an asp page. The scenario is: If name returned from above function = 'abc' Then show button on button click call function 'A' Else End if Can anyone help me in adding this button and calling the function in the code. I have least knowledge of asp . ...

Global title variables

Due to a lack of choice I am architecting a aspx site where I do not have access to the global.asa file or a database. One of the requirements is the ability to easily change page titles, breadcrumbs and breadcrumb URL's. I am thinking of including a titles.apsx page at the top of all my pages and then storing the variables in it with un...

asp: get file name for a upload file

I am working on a bug fixing for a old asp web page. In this page, there is one field as file for user to browse a file for update. Here is what is like in the asp page: <input type="file" name="ufile" size="50"> In the browser, this field looks like a text field and a "Browse" button. When use click on another submit button, the inpu...

How do I merge excel cells using ASP

hi, I am using ASP to Import data from SQL server and then export it to excel. I though want a header text in row 1 ie cells a1 to n1 But how do I write command that can merge those fields ? then I would be able to insert my header txt. I have this asp code: 'setup the excel file Dim objFSO, objExcelFile Set objFSO = CreateObject("Sc...

How to execute a function when "Enter" is pressed?

Hi, I work on an old aspx website, and I should to debug some things. I would like to execute a function when the Enter touch is pressed, how do I do it ? The onClick on the imagebutton is working, but I don't know how to do it when you push Enter after typing a text in the textbox <td> <asp:TextBox ID="box_mot" Text="Entrez un mot-cle...

Web Site Upgrade from ASP .NET 2.0 to 3.5

We have a web application that runs on IIS using .NET 2.0 developed and built with Visual Studio 2005. We're going to upgrade to .NET 3.5 and begin using Visual Studio 2008. Here are my questions: I note the runtime is still 2.0-based. When I loaded the solution in Visual Studio 2008, I was asked to convert, and I did. I then ch...

Asp .Net 4 MCTS

When will Asp .Net 4 MCTS exams available? ...

cant edit access mdb files, keep getting asp error

hallo all. downloaded a forum from a web server to my computer so i can work on it. anyway the mdb files are locked or something like that and i keep getting this error: Error Type: Microsoft JET Database Engine (0x80040E09) Cannot update. Database or object is read-only. /forum/login_user.asp, line 168 the files are not read-only. i...

VB Script split issue

I use the split function of in VBScript to split the string. Below is the code am using. Dim inputText DIM resultArray inputText = "abc; def; ""xyz;123""" resultArray = Split(inputText, "; ") For i = 0 To UBound(resultArray) resultArray(i) = Replace(resultArray(i), """", "") resultArray(i) = Replace(resultArray(i), ...

ASP .NET Dataset to XML: Storage and Reading

Hi, [Below is the almost full Code modified. Currently shows illegal character error when being read]. I have a C# ASP.NET application which is currently reading an xml file from the file system and then loading it into a GridView control. In the grid I can Delete rows. There is also an file upload button below the grid which upload PDF...

Silverlight ASP.MVC routes

Hi, how can I emulate stuff like <%=Url.Action("Action","Controller" ... where I am using Silverlight 4 as the client to ASP.MVC in say OpenReadAsync? Aside from passing it a Uri with the full path as a string - not preferred. Cheers ...

error while uploading a large excel file data into SQL server from ASP interface

Microsoft OLE DB Provider for ODBC Drivers error '80040e31' [Microsoft][ODBC SQL Server Driver]Timeout expired ...

Why Flash not showing in IE

Hi i have created a simple menu in Flash. I have added the following code to my page and it works perfectly in Firefox but doesn t show in IE <embed height="50" width="540" align="middle" type="application/x-shockwave-flash" salign="" allowscriptaccess="sameDomain" allowfullscreen="false" menu...