How Do I Perform Calculation Functions In a DatagridView.

  • 12 years ago
    Hi All, I need You help I need to perform some calculations in a datagrid, EX. I have these infomation i a Textbox Total Pieces= 10, Total Weight(lbs)=100, Total Weight(Kilo)=220 and i have these datagrid culomns | Pcs | WT(lbs) | WT(Kilo) | ------------------------------------- | | | | When i enter a value into Datagrid Culomn(Pcs), I need to perform these calculations (1) Calculate the WT(lbs) (ex. culomn(Pcs)=1, Calculation((100/10) * 1)). This is the WT(Lbs) and then I do the same for The WT(Kilo). the problen is, I can't get the values to show in the datagrid afther I enter the value for the (Pcs) and I dont Know were to place these calculations. Can Anyone Please Help?????

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” - Rick Osborne