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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. rico14d

    count with a join and where clause

    Thanks guys, all 3 solutions worked and have given me some good ideas for problems i had in the past. I couldn't see any performance difference for any of the 3 queries, they all were timed at 1 second using SQL Management Studio. If you know how i can test the performance more accurately let...
  2. rico14d

    count with a join and where clause

    Hi, im trying to report on 2 tables like the following tblMain MainId Name 1 a 2 b 3 c tblSub Id MainID Status 1 1 1 2 1 1 3 2 1 3 2 2 basically i want to show all the rows from the main table...
  3. rico14d

    SiteMapPath

    Hi, I am trying to use a SiteMapPath item in my page which works fine for most of my pages. However a number of URLs in the web.sitemap incorporate URL rewriting i.e. '/Products/ID=5/ipod.html' and the SiteMapPath wont seem to resolve it and display the correct node. Is there any way i can...
  4. rico14d

    asp:literal or asp:label

    Thanks for your comments, i think i will start to use it instead of a label all the time. Rich
  5. rico14d

    asp:literal or asp:label

    Hi, What do people think of using the literal control instead of a label control? Im thinking of just using the literal control as i've had a lot of grief from a customer regarding SEO and the amount of redundant HTML code that is produced in ASP.Net. With the label control you might...
  6. rico14d

    Make SP return only 1 table

    Borislav, That would work for the example above, but my scenario is much more complicated than that. For your example i have to repeat the initial query in code twice, i really wanted something cleaner that could just remove the contents of the buffer. Thanks for your help, Rich
  7. rico14d

    Make SP return only 1 table

    Hi, Is there anyway i can clear what is returned from a stored procedure? Basically i only want to only return 1 table from the example below, instead of 1 empty table then a table of results. select * from Product where name = 'test' if @@RowCount = 0 begin -- I would want to 'clear'...
  8. rico14d

    NT Authentication without IIS

    Hi, I am trying to add NT authentication to a sub folder of my site but am struggling to do so. Is it possible to achieve this without making any IIS changes, the reason I ask is because when publishing a site, all sub-folders are deleted and therefore the IIS settings are lost. I thought I...
  9. rico14d

    Virtual Directory .Net 2.0

    Hi, How do i create a virtual directory in asp.Net 2.0? Im doing this so i can add an image folder to a project which isnt published to the live server. Thanks, Rich.
  10. rico14d

    Free hand Measure

    Hi, Does anybody know if there is a free-hand measure tool? Ive got a map and i wanted to trace my route and then work out the distance to scale. Thanks, Rich.
  11. rico14d

    Datatable Select - Using convert() ?

    Hi, I have a datatable which i need to order numerically. However, even though the column contains numeric data, it is a string datatype. Can i use a convert() in the order parameter? Ive tried the below code but it didnt work. drChildMenus = dtMenus.Select("Menu = 1"...
  12. rico14d

    Convert number to hex

    Hi, I'm trying to convert a number to its hex value which i can do with- System.Convert.ToInt32(12323) However, the number im trying to convert is much bigger (a MD5 hash result - 975415459309518814222848482335161230234) and the function errors. Any ideas anyone. Rich.
  13. rico14d

    Computer wont boot

    Thanks for all your replies people! We've managed to solve the problem rather simply. My friend had access to an extra machine and tried to use it with his mouse/key etc and it got the same error, just with a different processor speed showing. I told him to remove everything from the computer...
  14. rico14d

    Computer wont boot

    Hi, On a friends computer i recently installed office XP. On the next reboot the processor speed is shown at the top of the screen and at the bottom it shows Press DEL to enter setup and it just hangs there. Pressing DEL does not do anything and none of the 'lock' lights work. I tried...
  15. rico14d

    Response.Write in Module

    Try this System.Web.HttpContext.Current.Response.write Rich
  16. rico14d

    turn off validateRequest at runtime

    Hi , Is there anyway i can turn off the validateRequest at runtime? I want to allow only administrators to be able to submit HTML in a form. Thanks, Rich
  17. rico14d

    Regex help

    Nice one Tom
  18. rico14d

    Regex help

    Hi, I could'nt find a regex forum so being as im using VB at the moment, ill post here. Im trying to test if a string contains 2 consecutive pairs e.g. 323535577091 true (5577) 312339565444 false The closest i've got is (\d)\1(\d)\1 but this only matches if the 2 pairs are the same -...
  19. rico14d

    Cookies do not seem to save

    Hi Jason, Can you post your code for setting the cookie. Im having trouble and cookies really wind me up some time! Rich
  20. rico14d

    conditional 'where COLUMN in'

    That didnt seem to work for the in clause, i used this instead where '%,' + CategoryID + ',%' like @CategoryList

Part and Inventory Search

Back
Top