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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:44:45+00:00 2026-05-31T04:44:45+00:00

I need to fill my screen with grid which will be certain size. I

  • 0

I need to fill my screen with grid which will be certain size. I don’t need headers just cells.
I know I can use datagridview in c# but I don’t know how to use it correctly.

I need some example for filling full screen with grid, without headers and with possibility of changing height and width of cell.

And is it possible to go trought the cells like cell[9,4], for example.

When form loads I will measure widht and height of the screen and fill it with cells.

Thank you

  • 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-31T04:44:46+00:00Added an answer on May 31, 2026 at 4:44 am

    Set the Dockingof the DataGridView to Fill
    Then set the ColumnHeadersVisible to False and do the same with RowHeadersVisible(in the Appearancegroup)

    That should give you a DataGridView that has the full size of its container, and without visible headers.

    Programmaticaly this would give you :

    DataGridView1.RowHeadersVisible = False
    DataGridView1.ColumnHeadersVisible = False
    DataGridView1.Dock = DockStyle.Fill
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to know the information when i fill the form and then submit
Some of my columns need explicit widths, while others should just fill up all
Just need, say, 3 columns [will change - could be up to 4] that
I was trying to make a div fill a certain part of the screen,
What I need to do is have the background image just fill up the
I need to fill textboxes depending on the item selected in a combobox. I
I need to fill a rectangle with a black to white (transparent) gradient. However,
For example, I need to fill lots of DataTables with SQLDataAdapter's Fill() method: DataAdapter1.Fill(DataTable1);
I need to guess the mime type with the purpose of fill the Content-Type
I need to create a fading background image that stretches to fill the browser.

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.