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 3348408
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:32:21+00:00 2026-05-18T01:32:21+00:00

Hi all i am having a text file which consists of some data and

  • 0

Hi all i am having a text file which consists of some data and each and every line in that particular is fixed to 94. Now when the user opened the particular text file and if my condition satisfies i will show it to datagridview. But when displaying to datagridview even the length of each and every line is 94 the content displaying in grid varies why it is happening . How to make sure that each and every row in datagridview should be displayed in a constant way

alt text

Any idea please

  • 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-18T01:32:21+00:00Added an answer on May 18, 2026 at 1:32 am

    You’re using a non-proportional font in the grid, which means that not all characters have the same size. F.e. spaces are way shorter then the 0. Use a proportional font, and the lines will be the same length.

    Edit: Let’s have a look at an example:

    This is a non-proportional font,
    the line will have different lengths,
    though they are 10 characters long:

    1234567890
    adilngvzus

    Now let's look at a proportional font:
    
    1234567890
    adilngvzus
    

    As you can see, in a proportional font (like your IDE is most likely using) every characters has the same width. In a non-proportional font (like your text-processor is most likely using by default) the characters are varying in width, making the i one of the ‘thinest’ and the O one of the ‘widest’ characters.

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

Sidebar

Related Questions

Hi i all having a requirement to delete particular data from a text file.
Hi all I am having some problems that I think can be attributed to
I have application reads in data from text file. Recently I realized that I
I have a text file which has first line as below: j0W82LBrSdUbw Basically it
I need to create a file that embeds an image as text within some
I'm having some trouble manipulating an array of DNA sequence data that is in
I'm having problems wrapping text within my container. I've already searched and all answers
I need to generate windows form fields based off of a text file that
I have a text file which was originally a mysql dump of a database
Hi all I have a local file which looks like this: AAA Anaa AAC

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.