|
|
Hi,
Would you be kind enough to help me to create Next and previous in asp page or point me in the right direction Please!
my code is:
<%
Dim oConn, rstData
listData
function listData
set oConn = Server.CreateObject("ADODB.Connection")
set rstData= server.CreateObject("ADODB.RECORDSET")
if not oConn.State then
oConn.open Session("CC")
end if
with rstData
.CursorType= adOpenForwardOnly
.LockType = adLockReadOnly
.ActiveConnection = oConn
.Source = "sp_e_data"
.CursorLocation = adUseClient
.Open
end with
end function
%>
Much appricated.
Bravo Two Zero
A pen is mighter then a sword.
|
|
|
|
|
Hi everyone,
I am trying to display a xml document in a separate file as a part of a html document. the xml document contains some data needed to be rendered in the html file and i don't want to use the server-side dynamic page scripts to coalesce them. can i achieve it just adding some html tags or css or xsl?
thanks
Kerry Chou from STU
|
|
|
|
|
|
I posted this somewhere in here, so if you see this somewhere else, please forgive--new to this site.
I am trying to read a text file in ASP and assign each line to a variable. THE CODE FOLLOWS:
<%
dim fso
fname = "admixture"
filename = server.mappath("data/" & fname & ".txt")
set fso = createobject("scripting.filesystemobject")
' read the text file
set fso = createobject("scripting.filesystemobject")
filename = server.mappath("data/" & fname & ".txt")
set readfile=fso.opentextfile(filename,1,false)
do until readfile.atendofstream
h = h + 1
text=readfile.readline
line&h = text
loop
readfile.close
%>
The challenge is when I try to assign the variable "line", place a number after it then make it equal to "text".
Can or would someone help?
God Bless,
mark
If the toothbrush were invented somewhere other than West Virginia, would it be known as the teethbrush?
|
|
|
|
|
Hi,
I need to customize a File Upload object in a HTML form. I want to change "browse..." text and button colors... Can anybody help me ??
Another possibility will be made it with Flash...is it possible ??
Regards,
|
|
|
|
|
if it's html then you can just edit the source to change the caption of the button, and use CSS tags to change the colour (a google search will show you how to do either of these)
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
I am populating a datagrid in page load event. On itemCommand event, i make some changes in data grid, however, these changes are not reflected in grid, unless i repopulate grid, as item command event is fired after page load. So, whenever item command event is fired, i have to populate grid twice.
Can any body suggest me some better way,so that i do not have to populate grid twice...
Your help will be greatly appreciated...
|
|
|
|
|
Hello everyone,
I am trying to get the higher level document object from the inner inested child object. There is the demonstration code.
<title>Demo
I want to get the objTable object reference using the inner img object "ojb", how can I do it?
I have tried this "obj.parentElement", but it returns null.
thanks!
Kerry Chou from STU
|
|
|
|
|
Hi,
Here is the way to access your table element:
document.all.obj.parentElement.parentElement.parentElement.parentElement
| | | |
| | | |
That's a lot of parentElements...
Pyt.
|
|
|
|
|
The formatting was not to good in my previous message.
Basically here is the hierarchy:
IMG -> TD -> TR -> TBODY -> TABLE
Pyt.
|
|
|
|
|
thanks Pyt.
Kerry Chou from STU
|
|
|
|
|
How would I accomplish this...?
In exact code please, cuz i've tried window.parent.location.href and that didnt' work...
I've used window.open() JScript...and I need the spawned child window to refresh the parent who created it...??
Any ideas...?
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
window.opener.location.reload();
|
|
|
|
|
awesome, thank you!!!
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
Is it possible to build up a Flash animation on the server and then dish it out to the client?
i.e. would it be possible to generate a complex graph on the server, based on some data store?
Links would be sweet.
Cheers,
Simon
"From now on, if rogue states want to buy weapons of mass destruction, they're going to have to go on eBay," Mr. Bezos said.
|
|
|
|
|
|
Thanks.
Cheers,
Simon
"From now on, if rogue states want to buy weapons of mass destruction, they're going to have to go on eBay," Mr. Bezos said.
|
|
|
|
|
|
how about you make the link to the php download page open in a new window?
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
Thanks for that. I'd already done that as a temporary work-around, but I'd like to get a better solution. Problem with this is you get a new IE with a blank window which you then need to close.
Neville Franks, Author of ED for Windows. www.getsoft.com
|
|
|
|
|
The following snippet can be used to verify URL well and simply:
Dim objHTTP<br />
Dim sHTML<br />
Set objHTTP = Server.CreateObject ("Microsoft.XMLHTTP")<br />
objHTTP.open "GET", strURL, False<br />
objHTTP.send<br />
sHTML=objHTTP.statusText<br />
if err or sHTML<>"OK" Then<br />
VerifyURL = False<br />
else<br />
VerifyURL = True<br />
End if<br />
Set objHTTP=nothing
So are there any ways to verify e-mail addresses the same alike?I am not meaning the expression check,but the real e-mail address existence checking.
I know cp has an article about it,but it's so complex to implement.
Thanks.
this is my signature for forums quoted from shog*9:
I can't help but feel, somewhere deep within that withered, bitter, scheming person, there is a small child, frightened, looking a way out.
|
|
|
|
|
zhoujun wrote:
So are there any ways to verify e-mail addresses the same alike?I am not meaning the expression check,but the real e-mail address existence checking.
I know cp has an article about it,but it's so complex to implement.
Two ways I know of.
One, send an command to the email addresses host server. There is some way of requesting the existence of an email address, not sure what it is though so look it up.
Two, send an email to the email address with a link to your site which has a unique code which verifies the address. Much like many sites do e.g. "Welcome, to verify your account just click the link below" then it would flip a boolean field in the database saying "verified" or not. I would go with this method, more reliable.
Paul Watson Bluegrass Cape Town, South Africa Colin Davies wrote:
...can you imagine a John Simmons stalker !
|
|
|
|
|
Thanks,Paul.
Can you give the details about how to implement the second way?
Thanks.
Maybe an article for cp.
this is my signature for forums quoted from shog*9:
I can't help but feel, somewhere deep within that withered, bitter, scheming person, there is a small child, frightened, looking a way out.
|
|
|
|
|
how can i test this, with c, php, asp???
|
|
|
|