Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

a Red X covers my dgv after a credit card transaction.

After I run a credit card transaction and return to the main form imagine my surprise when a big red X covers the dgv with red borders and a white background.  No dgv can be seen except for the place it is supposed to be

Any help would be appreciated.

Jerry
0
JDL129
Asked:
JDL129
  • 2
  • 2
1 Solution
 
käµfm³d 👽Commented:
You are getting an exception in GDI+, most likely. Are you doing any custom painting on the DGV? If not, the problem may be internal to the DGV.
0
 
p_davisCommented:
agreed....with the line of reasoning from kaufmed
how do you send/accept transactions to the dgv is it a win tool or a third party?

probably going to have to see all relevant code on this.
0
 
JDL129Author Commented:
Mr. Davis thanks for the response.

This is a C# control that we use to display sales choices.  We populate it using C# code.  All of this is inside a C# solution.  It looks like the form just doesn't redraw properly.  

Thanks,

Jerry
0
 
p_davisCommented:
OK, time for some code then =)
0
 
JDL129Author Commented:
kaufmed!!

You were right on!  I just replaced the  control with a new one and all my troubles went away.

Thanks for all who posted.

Jerry
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now