troubleshooting Question

how to add column header and its value into datagridview at runtime?

Avatar of jsctechy
jsctechyFlag for United States of America asked on
Visual Basic Classic
3 Comments1 Solution881 ViewsLast Modified:
hi,
how to add column header and its value into datagridview at runtime?
i know to add the column i just add a line like this:
mydatagriedview.Columns.add("Name", "Header")
but how about a value?
i nned to display the sum of two fields on the same datagridview
in other words i need to add this two values and came with only one and display it (BUY+SELL)=NewColumn
Thanks,
jsctechy

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros