Data Grid View Trim
  • Hi friends I found How to avoid the Space value while u Show Data at the grid
    private void dataGridView1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
                if (e.RowIndex > -1) 
                    if (e.Value != null) 
                       e.Value = e.Value.ToString().Trim();
          } I hope it will help your code 

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Popular Posts of the Week

    Optimum Creative