Search

You searched for the word(s): userid:667146

Matching Posts

  • Url Rewriting - Some advice please? :-)

    Hi All, I was just wondering whether somebody could point me in the right direction. I've developed a solcial networking website that uses profiles. I am wanting users to choose a nickname that can be used to access their profile. e.g. www.website-address-here.co.uk/nickname-here rather than having www.website-address-here.co.uk/Profile.aspx?profileID=xxx etc. What would be the best way to achieve this? I'm not sure which would be the best solution. Any advice would be great, thanks very
    Posted to HttpHandlers and HttpModules (Forum) by scooner on 6/29/2009
  • Re: Url Rewriting - Some advice please? :-)

    HI, THanks for the link - it makes sense, however when I convert the code to VB i get an error on the word path on the line "Path.GetFileNameWithoutExtension(strCurrentPath)" - it says that "name path is not declared" should it be a different word? does that make sense or am i just doing something stupid? Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) Dim strCurrentPath As String Dim strCustomPath As String strCurrentPath = Request.Path strCurrentPath = strCurrentPath
    Posted to HttpHandlers and HttpModules (Forum) by scooner on 6/29/2009
  • Joining 2 columns - MS SQL

    Hi, I am trying to join 2 colums within my table adapter - which i'm sure the code is correct but I cant then use the joined field within my WHERE statement. It is saying that the "fullName" column doesnt exist. Can somebody please point me in the right direction? SELECT (registrationFirstName + ' ' + registrationSurname) AS [fullName], registrationFirstName, registrationSurname, registrationEmail, registrationTown, registrationCounty, registrationCountry, registrationWebsite
  • Getting values from a gridview column

    Hi All, Here is my problem, I have a gridview that is using an objectdatasource from an SQL DB. I am wanting to check one of the bound coumns in the gridview for a certain value. Here is the code for my gridview: ' Visible="false" /> ' AlternateText='' /> Gallery Name ' NavigateUrl='' /> Last Updated: ' /> Artist ' NavigateUrl='' /> ' NavigateUrl='' /> And some codebehind: Protected Sub gdvPortfolios_RowDataBound
    Posted to Data Presentation Controls (Forum) by scooner on 2/26/2009
  • Re: Getting the event of a nested button

    Thanks for the reply Ed, Easy when you know how :-) Thanks very much, also, thanks for the reply Rob - that was also a useful link.
    Posted to Web Forms (Forum) by scooner on 2/10/2009
  • Getting the event of a nested button

    Hi All, Im not sure how simple this is to do, I have a button within a formview that is in turn nested within an asp:panel, my question is how do I capture the click event of the button? I'm sure this is an easy one for some of you guys. Thanks very much in advance, regards Scott
    Posted to Web Forms (Forum) by scooner on 2/10/2009
  • Re: using trim with a hyperlink

    Hi, I was having a stupid moment: i've fixed it. If Web.Substring(0, 7) = "http://" Then lnkWeb.Text = Web.Substring(7) Else lnkWeb.Text = Web End If Thanks for the help Scott.
    Posted to Getting Started (Forum) by scooner on 12/3/2008
  • Re: using trim with a hyperlink

    Hi Steve, Thanks for the reply, that does work - however it was not exactly what i'm after. Sorry, I meant t say that some of the records do have "http://" and some dont - so it would need to check the record first. Thanks again for the reply Scott.
    Posted to Getting Started (Forum) by scooner on 12/3/2008
  • using trim with a hyperlink

    Hi All, I am trying to display url links from a database, how would I go about removing the "http://" from the result? I have tried substring which works but I do no know how long the URL is going to be. I'm guessing I need to use trim but im not sure how I would go about doing this. lnkWeb.Text = WebsiteLink.Trim("http://") doesnt work either :-) Any help would be great, thanks, Scott.
    Posted to Getting Started (Forum) by scooner on 12/3/2008
Page 1 of 12 (112 items) 1 2 3 4 5 Next > ... Last »