Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3485570
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T10:55:24+00:00 2026-05-18T10:55:24+00:00

Well, now i have a new problem. Im writing code in C# I want

  • 0

Well, now i have a new problem.
Im writing code in C#

I want to save from textBoxName into group.txt file each time i enter string into textbox and click on save button. It should save at this order (if its possible to sort it like A-Z that would be great):


1. Petar Milutinovic
2. Ljiljana Milutinovic
3. Stefan Milutinovic
4. ... etc

I cant get it to work, i tried to use tehniques from my first question, and no solution yet 🙁

This is easy one i guess, but im still a beginer and i need this baddly…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T10:55:25+00:00Added an answer on May 18, 2026 at 10:55 am

    Try to tackle this from a top-down approach. Write out what should happen, because it’s not obvious from your question.

    Example:

    1. User enters a value in a (single-line?) textbox
    2. User clicks Save
    3. One new line is appended to the end of a file, with the contents of the textbox in step 1

    Note: each line is prefixed with a line number, in the form “X. Sample” where X is the line number and Sample is the text from the textbox.

    Is the above accurate?

    (If you just want to add a line to a text file, see http://msdn.microsoft.com/en-us/library/ms143356.aspx – File.AppendAllText(filename, myTextBox.Text + Environment.NewLine); may be what you want)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Well i have a web page hosted in a IIS 7.0 now the problem
Well I have been writing in the same style for awhile now and all
Well, I have dealed quite well with several images onto canvas and now the
Mobile devices have started to do link detection fairly well. They now detect links,
I have developed an application using postgresql and it works well. Now I need
The code below works well right now; however, it's serially executed. I'd like to
Well, i took a break from RoR for studies, now I am back, I
Actually I am new to jquery as well as web designing Now I need
I have this new challenge to load ~100M rows from an Oracle database and
We have a relatively new database project that we have been writing views and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.