@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> where can I find more info on this : I would like to create a form in asp/html so that a visitor of my webpage can add some text to a textfield. That is then added to a database and after this it appears on the screen with the rest of the messages. So it looks like a simple blogthing. ?
<1> juse read/write to a table
<0> The thing what I don't know is how to show the info of the db on website as it is so dynamic and you cannot set a number of textfield as it can grow very quickly
<0> I can read from a db and add theinfo to a textfield when it is there but in such a case ...
<0> or maybe use a loop and do a response.write then ??
<0> ah yes
<0> and then use <td> </td> for each item to align it better
<1> just keep on adding to the db and pull out the most recent 10 for the front page



<1> when i did something similar, i would generate html of the top 10 everytime someone saved a new entry, save it as an html file and just <include> it in the front page
<1> to minimise reads
<0> you still have those codes ?
<0> :)
<1> let me check
<1> got the code but lost the database
<0> ah no problem, at least I have some basis of how it can be done well :)
<0> could you dcc it to me ?
<0> plz ?
<0> fell asleep ? :)
<0> thx
<2> anygirls want phone***?
<3> hi all..
<3> is there anyone can help?
<4> Whats the question?
<3> i have a button, and i stored it's ID in a hidden field
<3> can i use the hidden field value to do some operation to the button that have the same ID
<3> you got my point?
<4> I think I understand, and would like to say its possible, but I haven't done it before, personally.
<3> like button X .. i stored X in a hidden field.. how can i use the field value as an ID
<3> hmm..
<3> okay may i ask another question?
<4> I am very rusty in html, but cant you just substitute the variable holding the ID for the actual ID ?
<3> like button.ID = hiddenfield.Value ??
<4> response.write "<whatever html tag ID=" & myvarholdingID & " foo=233" etc
<4> Can you paste the line where you would want to replace the actual ID?
<4> So that I can see the code
<3> wait.. i wanna ask you the other question
<4> Ok
<3> i am trying to add a webcontrol daynamicly..
<3> when a i press a button.. it adds an image



<3> but this image disapears on the next post back
<3> i want it to last until the page life time
<3> until the page is closed
<4> Hmm..
<4> Well, set a value, and as long as that value is True show the pic?
<3> it's not really an element in the page.. i just added it in runtime
<4> Beyond my knowledge... Perhaps change the way the side works ?
<3> so the whole element will be lost on the next post back
<4> Since you can build your html code using asp
<4> If value = True then response.write <html bla bla pic=foo.jpg>
<3> it's too hard to do that..
<3> because i have many elements..
<4> Ok..
<4> Cant help with that part tho
<3> it's okay.. thanks anyway...
<3> do you know any tutorial link for matching game?
<4> Nope
<3> have you ever done that
<4> The little things i use ASP for, w3schools.com/asp can help with
<4> Done what part?
<3> a matching game
<4> Hmm, must say I dont follow.
<3> alright..
<3> thank you
<4> /over and out
<3> by the way. do you know what does the view state really do?
<5> how would i send form data to another page without redirecting it? ie. i need to send s=20&rt=5....I know I can do that by doing a response.redirect("page.asp?s=20&rt=5"), but I don't want to redirect it
<6> the only other option is to build up an otherwise empty page with a hidden form and use javascript to submit it via post. or use/rely on cookies
<5> actually, i googled & found xmlhttp could be of use in this case
<5> :)
<6> could
<5> what's the best way to run a scheduled task that is an asp page without using scheduled task?
<6> depends on what you need to do
<6> quite often one doesn't truely need to perform a task at a sheduled time. just before the next relavent page load after the scheduled time.
<6> which makes it trivial to just have said scripts look for such cases before they load
<6> gotta go


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #asp
or
Go to some related logs:

joblees
#kl
#worldchat
#india
#india
#india
#allnitecafe
interview at servcorp
#kl
sajna door thikana



Home  |  disclaimer  |  contact  |  submit quotes