Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. is this coding correct?

is this coding correct?

Scheduled Pinned Locked Moved C#
sysadminhelpquestion
24 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Thomas Toh

    heh i might missed the entry, sorry about that. i know i'm not an expert but please at least if you're not gonna provide something constructive, then shut it. for sure a book may help but if thats the option i wouldn't post here lol.

    M Offline
    M Offline
    MumbleB
    wrote on last edited by
    #21

    Thomas Toh wrote:

    i know i'm not an expert but please at least if you're not gonna provide something constructive, then shut it

    SPeaking like this to the guys that are trying to help you is never ever going to get you anywhere. CHristian has helped me numerous times. I suggest you leave the being "RUDE" issues from your posts and be nice!! :mad: It is people like you who make it difficult for others like us.

    Excellence is doing ordinary things extraordinarily well.

    1 Reply Last reply
    0
    • C Christian Graus

      Thomas Toh wrote:

      for sure a book may help but if thats the option i wouldn't post here lol.

      Why is it not an option ?

      Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #22

      Christian Graus wrote:

      Why is it not an option ?

      Answering your reply to his original post, so he must reply to his originaal post instead.

      Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004

      1 Reply Last reply
      0
      • T Thomas Toh

        heh i might missed the entry, sorry about that. i know i'm not an expert but please at least if you're not gonna provide something constructive, then shut it. for sure a book may help but if thats the option i wouldn't post here lol.

        J Offline
        J Offline
        Jeremy Falcon
        wrote on last edited by
        #23

        Thomas Toh wrote:

        then shut it

        Don't look a gift horse in the mouth, lest ye be retarded.

        Thomas Toh wrote:

        for sure a book may help but if thats the option i wouldn't post here lol.

        I don't know anything about C# (I'm a C/C++ programmer), and I noticed some of the stuff Christian mentioned right off the bat. What does that tell you? It means you're missing basic knowledge in regards to programming. Him recommending you to read a book to help cover the foundations is a favor dude.

        Jeremy Falcon Oatmeal Engine[^]

        1 Reply Last reply
        0
        • T Thomas Toh

          string sFilename = System.IO.Path.GetFileName(myFile.FileName); string ans; while (System.IO.File.Exists(Server.MapPath(sSavePath + sFilename))) { Console.Write("Do you want to overwrite? (Yes/No)"); ans = Console.ReadLine(); Console.WriteLine(""); while (ans = Yes) { } logic: check if image already existed when uploading, if yes, ask user for input yes/no, if yes overwrite, if no, change a new filename. im lost.. plz help

          T Offline
          T Offline
          Thomas Toh
          wrote on last edited by
          #24

          hi, sorry to post again lol. is there a basic code sample or guide for html search/parse/display? on this search.aspx.. i have to do a search function whereby it'll search/parse my HTML files and look inside their's metadata for eg and then display a link to the HTML file. my html basically looks like: ImageFilename.html

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups