Search

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

Matching Posts

  • How to display a users info upon clicking his/her username from homepage

    Hi I am trying to display a users info upon clicking his/her username(which will be a hyperlink)from homepage. i have already created the loggedin User's editable profile page called "UserProfile.apsx". But i want it to be like when the user is signed in, he/she can also click on another user's name(in hyperlink) and that persons details, including the profile picture, will be displayed in a new page called ProfileView.aspx Can anyone tell me how to go about this. Codes will be
    Posted to Web Forms (Forum) by akanetsamson on 7/5/2009
    Filed under: display a users info upon click his/her username from homepage
  • How do I Delete the real file from the server using a delete button

    Hi, i've been trying to write codes that will delete a file from my databae and also the real file from the server. I can success fully delete the URL from the database but i also want to delete the real file. I used the File upload control to allow users upload a file. I want to also give them a chance to delete it using a button. this is my code: dim userPhoto = ???? File.Delete(MapPath("~/UploadedImages/") & "\" & userPhoto) I need a value to set to the userPhoto
    Posted to Web Forms (Forum) by akanetsamson on 6/8/2009
    Filed under: How do I Delete the real file from the server using a delete button
  • The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Products_Categories

    Hi, I keep getting this error each time i try to insert a record from a form. i even tried inserting a normal string of word, but it still gives me that error. but if i remove the foriegn key relationship, it works, this also happens in other tables such as my product table, when i try to insert a new product. this was the error msg: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Products_Categories". The conflict occurred in database "C:\USERS\MR. CLEMENT\DOCUMENTS
    Posted to Data Presentation Controls (Forum) by akanetsamson on 4/17/2009
    Filed under: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Products_Categories
  • Re: The INSERT statement conflicted with the FOREIGN KEY constraint

    Hi, I did all that, it still gives the same error. i even tried inserting a normal string of word, but it still gives me that error. but if i remove the foriegn key relationship, it works, this also happens in other tables such as my product table, when i try to insert a new product. The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Products_Categories". The conflict occurred in database "C:\USERS\MR. CLEMENT\DOCUMENTS\VISUAL STUDIO 2008\WEBSITE3\APP_DATA\NORTHWND
  • Re: How do I delete files from a folder on my server?

    Ok, i understand everything except for the "txtFile.Text" Dim TheFile As FileInfo = New FileInfo(MapPath(".") & "\" & txtFile.Text) is there sumthing am supposed to put int the MapPath() and also, am i to replace the txtFile.Text with sumthing? -------------------------------------------------------------------------------------------------------------------- here are my codes: Using myConnection As New SqlConnection(ConfigurationManager.ConnectionStrings("NORTHWNDConnectionString"
    Posted to Data Presentation Controls (Forum) by akanetsamson on 4/16/2009
  • Re: am trying to make a hyperlink Invisible

    hi, i sovled the problem. i checked the value of Me.DetailsView1.Rows.Count it gave me 1 so i set said If (Me.DetailsView1.Rows.Count <= 1) Then HyperLink3.Visible = True :) thanx to all.
    Posted to Data Presentation Controls (Forum) by akanetsamson on 4/16/2009
  • Re: am trying to make a hyperlink Invisible

    [quote user="himanshu_hajariwala"] hi, you can chack the following If (DetailsView1.Rows.Count==0) Then HyperLink3.Visible = True End If [/quote] yep, tried dat already, didnt work. I just tried it again, it didnt work. any other properties?
    Posted to Data Presentation Controls (Forum) by akanetsamson on 4/16/2009
  • am trying to make a hyperlink Invisible

    Hi, I have a DetailsView control on a page and a hyperlink on the same page. am trying to make a hyperlink Invisible if the DetailsView has a record in it. And visible if there are "no records to display". the hyperlink says, "Click here to fill in your details" here is what i could come up with. I dont knw the value of "Me.DetailsView1.*" to use to check if it has no records to display. If (Me.DetailsView1.(********) = Nothing) Then HyperLink3.Visible = True End If
    Posted to Data Presentation Controls (Forum) by akanetsamson on 4/16/2009
    Filed under: am trying to make a hyperlink Invisible
  • how do i prevent a page from being accessed twice by a logged in user

    Hi, am trying to prevent a page from being accessed twice by a logged in user after a form on that page has been filled. how do it do that.? (VB COdes please) thanx.
    Posted to Security (Forum) by akanetsamson on 4/16/2009
    Filed under: prevent a page from being accessed twice by a logged in user
  • How do I delete files from a folder on my server?

    Hi, i just created a form with a 'file upload' option for pictures to allow users upload their profile pix. I use a 'photos' table to store the picture URL after the file has been uploaded to a folder called 'UploadedPictures', then i used a Datalist control to display the picutures by binding, using the URL form the 'photos' table. I only allow 1 single profile picture per user. The 'Photos' table (child table) is in relationship with the 'Customer'
    Posted to Data Presentation Controls (Forum) by akanetsamson on 4/16/2009
    Filed under: How do I delete files from a folder on my server?
Page 1 of 6 (59 items) 1 2 3 4 5 Next > ... Last »