Commit And Rollback In ASP With JAVASCRIPT LANGUAGE (not VBS)

I need to have transactions control with JAVASCRIPT ASP LANGUAGE (server-side, not client-side...Remember asp can use VBS, JS or Pearlscript).

I have one table A and one table B (1:n) and so i need to use INSERT(table A), SELECT (PK from table A) and INSERT (n times in table B).

In the end, i need to return to ASP if the transaction was commited or rolled back!...if i didn't need that, i could just make a big sql string to send to the database, but if i did, how would i return the result to the asp?

View Replies


ADVERTISEMENT

Using ASP Language JAVASCRIPT

seems like alot of things in ASP VBSCRIPT dont have equals in ASP JAVASCRIPT. tryign to do a lowercase on a string
"101:121:212 ABCA"
so it becomes
"101:121:212 abca"

LCASE doesnt work , get error so i assume its not in the JScript version of ASP.

View Replies View Related

Javascript Language Paging Larger Database Record Sets

I am fimliar with asp javascript and not asp VB.

i can display the results ok, but if i return 100 records from my table i would like it to display 5 records per page. i have looked at asp recordset paging on several sites, however cannot find any scripts that work with ASP JAVASCRIPT....

View Replies View Related

Commit To Database = 404

I have a site that uses ASP to create an online form so that uses can input into online fields and then save that info to a database on the server.

Here's the problem... It works fine for me and other users, however other users keep getting a 404 error page when they hit the save button!

Its been noted also that the users having the problems only have is problem in Explorer (fine when using Firefox).

Does anyone know of a reason this is working for some and not others? Perhaps a particular IE setting or something.

View Replies View Related

Turning Auto Commit Off

I am runnig a Oracle procedure(this inserts records in table)with asp.command object.I dont want to commit the inserts, I want to turn auto-commit off when I execute this procedure.Can this be done in ASP,if so,can some one give me a example.

View Replies View Related

Rollback In ASP

I want to know the method of doing rollback in ASP.
Like in java we can use Connection.RollBack for this.

View Replies View Related

ADO Rollback

While scouting around this group, I've stumbled upon this ASP script which deals with rolling back transactions -

'-- Error Handler
if oConn.Errors.Count > 0 then
oConn.RollbackTrans
Response.Write("FAIL")
Response.End
Response.write(err.description)
end if

Which has given me pause to wonder if what I am doing is correct. I'm basing my rollback on the err.number not being 0 (sample code below).Is this ok, or should I be using the conn.errors.count property instead?

View Replies View Related

Rollback Transactions

I'm implementing a version control system but i need some help
in setting it up.

I use access as the database.
My routines are setup to allow insert, update, delete on the same form.

View Replies View Related

File System Object Rollback

Is there any way of rollback any changes made by the file system object in
the event of an error. I delete a file and copy one somewhere and the copy
fails is there anyway to rollback the delete. Essentially a file system
version of a transaction.

View Replies View Related

Language

I have a problem with displaying data from a database where text is written
in slovenian and in czech. The accents aren't displayed. What can I do to
display all the accents in Slovenian and Czech?

A word in the database: prijímání (f)
Displayed on my ASP page: prijímání (f) (the accent at r is missing)

My database is a Access-2000-database. All the accents are displayed in the
database.

View Replies View Related

Which Language To Use?

I really want to build mine using classic ASP as this is the language my trusted friend has a talent for.This seems to make sense in the short term. However I worry about the lack of social networking sites built with ASP.

There must be reasons for this. So plan to recode using PHP and transport existing database across once I have earnt enough from the website to pay for the services of a qualified person.Is this plan sensible, should I stick with my friend and ASP OR should I code with PHP from the start?

View Replies View Related

Which Other Language Is Like Asp

I have built a couple using a little ASP code for example the 'include' comand. The server I am using obviously supports ASP but I want to move to another host but they dont support ASP.

What other language would be similar to ASP. The new hosting site supports cgi, php and ruby. I know nothing about any of these. I may want to be able to access a database in the future or add a message board to a site so the language needs to be a bit interactive.

View Replies View Related

More Than 1 Language

I'm looking for the best solution, for example, I don't know if it's better to have all the text in the page in all languages and then select it with a querystring:

page.asp?lang=1

And in the code:

lang = CInt(Request.QueryString("lang"))
If lang = 1 Then
' xhtml for language 1
else
....

I don't consider this a good solution, it's a nightmare to update.Maybe storing text in a database? XML? I would like to hear your suggestions and opinions about best methods.

View Replies View Related

Multiple Language

how to have multiple language asp pages? For example, you have a database driven website that you want customers around the world to use. How do you setup the asp pages so that it is easy to change the text based on where the user is
connecting from?

View Replies View Related

When To Write <%@ Language

Since ASP server scripts use VBScript by default, does it mean it is
redundant to put the following in ASP page? Then when do we need to use
this? In client-side VBScript?

View Replies View Related

Multi-language

I was trying:
Code:
<!--#include file="lang/<%= Request.QueryString("lang") %>.asp"-->
But it doesn’t work.

View Replies View Related

Asp : Is This A Similar Language To Php

I have learnt how to use some aspects of php. But have got a little stuck on databases. Are there some easy examples to follow from the internet on how to modify databases in asp?

Is asp very similar to php? In the sense that you can achieve the same things with it?

is there an online dictionary that I can use to learn asp? especially one that can be kept and stored offline(I am not on the internet at home)

View Replies View Related

Language Setting

I have no idea what would cause this because my system setting is set to English and all of my other programs that use the date and time are doing it in English but my ASP seems to be giving me the date in Italian
For example..

WeekDayName(WeekDay(Now())) = venerdě instead of Friday.

View Replies View Related

Change Language

I have some dynamic pages like asp files and the data comes from database.
What I need is to display the page content to diffrent languages.
Suppose user selects Germany and the page content changes to german language.

View Replies View Related

Language Detection

Is it possible to detect browser/system language with:

Server.CreateObject("MSWC.BrowserType") ?
~

View Replies View Related

Toggle Two Different Language

What's the best way to toggle two different language on
the web site using asp. Some web sites seem to store
html links in database and call it on demand. Please
advise and show the best way to program it.

View Replies View Related

Multilingual (more Then One Language )

I want to make a website both in English and in French, I dont know how to design the database (same for both ) or different.

Can anyone of you suggest me how can i make a website for more then one language.
The two versions of the website will have both the graphics and contents different and there is a search option too.

How can i search an english database with a french keyword?

View Replies View Related

English Language CD

My set of .NET 2003 CDs has 2 .net cds; 1 prerequisite cd; plus msdn. I get to a certain point in the installation and it prompts me for the English Lanaguage CD and I don't know what this is. I bought the set from someone who didn't want them any more - did I not get one of the CDs?

View Replies View Related

Watermarking On The Fly In An ASP Language

I want to watermark images already on the server, on the fly as they're being called. I've found some PHP scripts that do it but I need them in an ASP environment using either VBScript(preferred) or Javascript. Anyone have any ideas or suggestions?

View Replies View Related

Language Convertion

How can i convert my site in to language. Just like http://www.Google.com

View Replies View Related

Learning The Language

I'm sort of trying to force my way through some manuals and w3schools trying to pick up asp. i'm farmiliar with PHP so i figure it will be a breeze there's just one general theory idea i don't understand. if ASP can be written with either javascript or vbscript. then is ASP just adding the <% %> tags around the code?

something like "Session.Timeout" or "response.write" this doesn't look like VBScript to me. are these elements of ASP, VBScript, or something else?

I hope you can understand my question.I'm sort of confused with the languages / where to look to find information because i dont know what to look for.

View Replies View Related

Cross Language Variables

Can anyone tell me how i can access the value of a variable created in javaScript, within an ASP statement and vice-versa if poss??

View Replies View Related

Convert To Arabic Language

text into the text box with shift+alt key.
A normal user is unaware of it. ifI upload pages into my remote domain. There how a person who has not installed arabic in his pc is able to enter arabic. now i think my concern will be more clear to u if u need some further assistance then don't hesitate to ask.

View Replies View Related

Multi Language Search

Iam working on a search that needs to fetch words from other languages for any given word entered in english. I use an access database to store the english words and its equalent words in other languages. For example:

When i search for chinese equalent of Invoice (or any other word), the retrieved result is?.

View Replies View Related

Script Language Choice

I see that ASP allows you to specify the scripting language of your
choice - including (if you get the COM object) PERL, REXX and more. That
seems pretty good, I think.

Out of the box, it supports VBScript and JScript.

The question is (and I know that personal preference will come into
this) what would you choose to use out of JScript and VBScript? Does one
actually have more capability than the other?

View Replies View Related

Multi Language Site

I am currently creating a multi-language site using ASP .NET and was wondering what people think the best way to do this. Keeping a session variable of the users's choice? Cookies?

View Replies View Related

Operating System Language In ASP

How do you obtain the nationality of the person surfing to your site in regular ASP not ASP.NET? Windows CE's webserver supports HTTP 1.0. I intend to use Windows CE's webserver.

View Replies View Related

Choosing Scripting Language

I am learning them and using them in a project simultaneously. I felt VBscript is a little primitive when it comes to error handling. I mean I can't put "On Error Resume Next" command before every code line of the program. That's one of the problem I came across so far - and for me it is a major draw back to develop a application with no or little error-handling.

which is better to use along with ASP - VBScript or JScript or JavaScript. As I don't have experience using them, I can't judge which is better to use in a real time project.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved