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
R

RIPOUX

@RIPOUX
About
Posts
8
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • clickOnce question
    R RIPOUX

    :( thanks for the answer though :)

    C# help question

  • clickOnce question
    R RIPOUX

    hi :) i just deploy my program with clickOnce but i cant figure how i can decide where the program gonna be installed it seem to install it where he wants and i dont find where i can change the destination in my project if someone can help me thanks ;)

    C# help question

  • populate a listview
    R RIPOUX

    ok, i'm gonna try to be more specific, i think i missed something check this out please and tell me what i didn't do right there is my .csv file 3,One,Two,Three,Four,Five,Six,Seven,Eight, 0,5/19/2007 6:21:02 PM,A,B,C,777,,,, 1,5/19/2007 6:20:59 PM,A,B,C,666,,,, 2,5/19/2007 6:20:57 PM,A,B,C,555,,,, string[] Entier; string[] Colonnes; Entier = File.ReadAllLines("pdg.csv"); foreach (string CurrentLine in Entier) { Colonnes = CurrentLine.Split(new Char[] { ',' }); foreach (string CurrentCol in Colonnes) { ListViewItem item1 = new ListViewItem(CurrentCol); item1.SubItems.Add(Unit); listView1.Items.Add(item1); } } and there is my code. as you see i can read the file, can read only one line, can read one "item" in the line but i just dont know how to take all those parts and put it in my listview. something i just dont catch :(

    C# help tutorial question

  • populate a listview
    R RIPOUX

    thanks guys, i'm gonna look for this right now :)

    C# help tutorial question

  • populate a listview
    R RIPOUX

    hi all i'm a newbie in programming so there is some "basic thing/way/how-it-should-be-wrote in coding" i still try to catch so please be patient :sigh: i'm trying to populate a listview with a .csv file a i just dont catch how to put it in string to add it. I already find how read the file, take one line at the time but thats it. From this point, i'm lost. anyone ready to help ? Thanks :)

    C# help tutorial question

  • richtextbox newbie question
    R RIPOUX

    i just tried but it give me the time after the text i'm still working on it thanks for the answer though :)

    C# help question

  • SQLServer Express Edition
    R RIPOUX

    i add the same problem with i think. the problem is when you create the DB, it make a copy of it in your bin/debug forder and every update are in this DB the one you create is the basic one and every time you run the debugger, he takes all the info in the basic one to overwrite the bin/debug one but the screen result show you the bin/debug DB. so, it look like the add you made are not working in your db explorer, create a new connection and link it to the bin/debug one then when you add something, check in this one hope it help you ! have a good one ;)

    C# database question announcement

  • richtextbox newbie question
    R RIPOUX

    hi all ! i'm pretty newbie in the coding world and have a little problem that i cant find a solution i have 2 richtextbox. the first is to write the text and the second to see it (read only) so there is my code private void button2_Click_1(object sender, EventArgs e) { DateTime dt = DateTime.Now; string str1 = dt.ToString("H:mm:ss").PadRight(10); string str2 = richTextBox1.Text; string str3 = str1 + str2 + "\n"; richTextBox2.AppendText(str3); richTextBox1.Clear(); the real goal is simple, i want the time to be wrote at the start of every text add. Thats why i made it like that. My problem is the "\n" at the end of the string 3. If i dont put it, then the next text is wrote a the end of the first one. If i put it and the user finish is text and press enter then the click button, i have a empty line (witch i dont want it). The richtextbox2 gonna be print at the end and its a report to be showed to the boss as a clean copy so empty lines need to be removed. if someone can help me btw, sorry for my english, i know i'm bad but what can i say ? i'm talking in english like in coding :laugh: thanks ;)

    C# help question
  • Login

  • Don't have an account? Register

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