@# Quotes DB     useful, funny, interesting





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


Comments:

<0> !search mindyvega
<1> hi guys
<1> is there an MIDDLE tag for ASP that searches between to strings, as opposed to character positions?
<1> eg: Mid(String_var, 'text1', 'text2')
<2> Hi.. How do I retrieve the url of the refering site?
<3> request.servervariables("HTTP_REFERER")
<4> hi.
<4> i need to convert some asp pages to a new layout and don't know how to port the asp in the background to it
<4> the layouts are simple
<3> "in the background"?
<4> well
<3> Do not /msg me.
<4> i'm willing to pay



<3> don't care.
<4> anyway
<4> in the background
<3> "in the background"?
<4> meaning behind the page
<4> view source
<4> and whatnot
<3> So... the source of the .asp page, you mean?
<4> if it were html, i'd know what i was doing
<4> yes
<4> i just want the same page functionality on a new design
<3> Without understanding what the ASP code does, you're probably not going to have a lot of success
<3> depending on how the code is laid out, it might be simple
<4> ok can i show you?
<3> No thanks.
<3> without understanding the ASP, you're just going to have to try and see what happens
<5> Subscript out of range: 'i' what does this mean? its from "For Each i in x" loop
<6> does anyone know where i can find a coding example of AJAX w/ cl***ic ASP?
<5> you can easily port this one to ASP http://www.codepost.org/view/120
<6> THANKX
<6> **thanks
<7> @find nextdooramateur
<3> brilliant!
<3> You weren't blessed with an overabundance of schooling, were you?
<7> @find oxp***
<3> Guess not
<8> Stealthba: did you read the topic you goat-f**ker?
<9> in 36 hours i'll go to a job interview and i need to be an expert on asp.net ;| *shivers*
<9> i installed vs2005 for the first time 4 days ago
<9> ^^
<8> xyzi: maybe you should step down and let someone else get the job?
<3> oh, yeah, you'll do fine
<9> well, i'm sure i will be good at it in a reasonably amount of time if i get the job ^^
<3> ***uming you can last that long
<9> yeah :)
<9> worth a try ^^
<9> been doing a lot of java and php though. still, it's a whole new thing so.. a challange -_-
<9> "ASP.NET server controls enable an HTML-like style of declarative programming that lets you build great pages with far less code than with cl***ic ASP or technologies like PHP or JSP"
<9> that part makes me worried
<5> how do you view full response from an SQL query ?
<9> oh
<9> sorry, i'm off topic, sorry ^^
<5> can't figure out why my stuff is giving EOF error
<5> :\
<3> because you're reading more records than you're returning
<5> right... but in query analyzer i get the correct response from DB
<3> then, likely, so should your recordset
<3> how many records are being returned?
<5> one
<5> how do i print the whole set without looping?



<3> You don't.
<3> loop.
<5> how do i find out if a certain fild was returned?
<5> field*
<3> loop through the fields collection
<3> oRS.fields()
<5> and the names?
<3> ... the names are IN the fields collection, naturally
<3> oRS.Fields(0).Name iirc
<3> or .FileName
<3> FieldName*
<5> kk
<5> does Fields() work in cl***ic?
<3> yes
<3> You're not literally typing .Fields(), are you?
<5> fields
<3> what code are you trying to use now?
<5> what you said, one second
<5> Object doesn't support this property or method: 'Fields'
<3> what code are you trying to use now?
<5> for each x in rs1.Fields
<3> ick
<3> For x = 0 to rs1.fields.count-1
<5> same
<5> rs1 = oConn.Execute(sql1) is that right?
<5> will rs1 have fields?
<3> did you forget the Set ?
<3> did you even declare rs1?
<5> ya
<5> Set?
<3> Set indeed
<3> it's an object
<3> one has to use set
<3> SET rs1 = oConn.Execute(sql1)
<5> lol
<5> yep forgot the set
<5> i can rs2.fields(3).Name but not rs2("userID")
<5> why is that?
<8> depends on your code :)
<3> because rs2("userid") requires a record
<3> that is pulling a VALUE from the current record, under that particular column
<3> the column names are always returned, regardless of whether or not records are returned
<3> are .BOF and .EOF true on this recordset?
<5> oh youre right, .value didnt return
<5> i guess the query is wrong?
<3> No one but you can answer that
<3> are .BOF and .EOF true on this recordset?
<5> yeah
<8> you can get "schema" info from an empty rs as well (OLEDB)
<8> oh darn, you said that already :)
<3> If they're both true, then the recordset is empty
<3> so the query may not be 'wrong', but regardless, it's returning no records
<5> in analyzer it returns a record, in code it doesnt :\
<3> then the two queries aren't the same, or aren't hitting the same database
<3> etc
<5> yeha found it
<5> thanks
<3> yep, quick and easy
<5> ok there we go :) thanks!


Name:

Comments:

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






Return to #asp
or
Go to some related logs:

#worldcup
#solaris
#politics
glock21 picture
#politics
driveimage fault
#ubuntu
#heroin
#politics
#debian



Home  |  disclaimer  |  contact  |  submit quotes