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

VS 2010 Datagridview: How to delete row if a cell in a column contains x

$
0
0
After almost 2 days of searching the world wide web, I still didn't found the solution. I have a database (.mdb) of a list of sheet metal (from an automatic store) at work. Now I have imported this database into my program for stock control (so every month we want to know how many of that material we have). The database contains a column called 'Type'. If the text in that column = 1, it means that the material is already processed. But obviously I don't want to have that in the stock database.
I want the datagridview only showing the 'Type' = 0.

Also, the dimensions of the sheetmetal is displayed into 2 columns (X and Y in mm) and a column with the amount of sheets (lets say N). How do you create a new column that calculates the complete surface of the sheets with the formula ((X*Y)/10^6)*N = A (surface). I already noticed it's complete different to Excel :D

Any help, even a link or hint what to search for is very much appreciated! :)

Viewing all articles
Browse latest Browse all 27214

Trending Articles



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