Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by tyt2000

  1. tyt2000

    Display one particular record

    Simple. Just edit your SELECT statement in your GridView and add a WHERE clause. Example: "SELECT ID, First_Name FROM Employees WHERE ID = 19" This SQL statement only gives you one record based on the ID inputted in the WHERE clause. Here is a useful resource...
  2. tyt2000

    Making a "most popular" list?

    You can do this manually using an UPDATE statement where you take the ID of a tip from the querystring and update a field in the tip's record by 1 each time the tip is clicked. Just like a counter. Then you SELECT TOP 5 and ORDER BY descending to view the top 5.
  3. tyt2000

    display a particular record

    Simple. Just edit your SELECT statement in your GridView and add a WHERE clause. Example: "SELECT ID, First_Name FROM Employees WHERE ID = 19" This SQL statement only gives you one record based on the ID inputted in the WHERE clause. Here is a useful resource...
  4. tyt2000

    Copying a Substring of a String

    Definitely, thanks for the clarification, I should have included more info in my post (after reading your signature, lol). - Thamer
  5. tyt2000

    Copying a Substring of a String

    bclt, Thanks a lot for that piece of code, this one works too, and forces the users to re-enter the e-mail instead of redirecting them to the next page. I really appriciate your help! now I know how it works... Although I'd still like to know why Dan's piece of code didn't force the user to...
  6. tyt2000

    Copying a Substring of a String

    Dan, Thanks a lot for the quick response, it was very helpful. I had to modify it to make it work: var myEmail1 = document.frmUser.email.value; checkEmail(myEmail1); function checkEmail(address) { if (address.lastIndexOf('@ut.edu') != address.length - '@ut.edu'.length)...
  7. tyt2000

    Copying a Substring of a String

    Hi, This is my first time using Java code and I'd really appriciate it if someone helped me with this little problem. I have a registration form that has a Java script at the top to validate fields, I did the code for validating blanks and a verify password. There is one piece of code that I...

Part and Inventory Search

Back
Top