Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27189

[RESOLVED] DataGridView: Bound and Unbound information

$
0
0
Hey,

I have a data-grid-view that has a data source associated with it. Suppose the information contained in the database is:

0. ID
1. Number of Pieces
2. Price / piece

Now I manually add a new UNBOUNDED column in my DGV. Lets name it Total.

I want this column to display the "Number of pieces" * "Price / piece" multiplication.

But I want this multiplication to be made at runtime for all the records in the database, without having to store this information in the database.

How can I do this?

Thx.

Viewing all articles
Browse latest Browse all 27189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>