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

  • Home
  • SEARCH
  • 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 8574919
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:35:02+00:00 2026-06-11T19:35:02+00:00

Dear Colleagues I have a problem with sorting in DataGridView module. When i click

  • 0

Dear Colleagues

I have a problem with sorting in DataGridView module.
When i click on column which needs to be sort then system throws NullReferenceException. I understand that column has some null values and this couses error message.
Have You got any idea how to change sort module to thread null values as string without any characters?

Your prompt will be appreciated.

  • 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-06-11T19:35:03+00:00Added an answer on June 11, 2026 at 7:35 pm

    Dear Geaorge and Mamta

    Thank You both once again for help. I have found solution which ease resolved problem.
    As I wrote, all data is transfered from database to visual studio, so I changed query from:

    "SELECT number_of_invoice FROM invoices"
    

    to:

    "SELECT CASE WHEN (number_of_invoice is null) then '' else number_of_invoice END FROM invoices"
    

    This automaticly change null values to ”, and problem is dismissed.

    Have a good day!

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

Sidebar

Related Questions

dear i have a datepicker inside my form. after i click the textfield, datepicker
Dear stackoveflow, I have this problem. I'm working with an old version of mssql
Dear all, I now have a preliminary macro (defmacro key-if(test &key then else) `(cond
Dear stackoverflow members, I have a small problem, I want to replace some characters
Dear stackoverflowers, I have a website in which you can open a page (with
dear all.. i have a DB which built use Mysql. for this case, i
Recently I have found some classes in our system which are not covered by
Dear Masters of The Command Line, I have a directory tree for which I
Dear all, I have a data frame which comes directly from a sensor. The
Dear all, I have a question about Facebook Page: ( NOT user profile page,

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.