xie 0 Newbie Poster

think I need your help...i've got a prob with datagrid in .NET
I give u the picture of datagrid on how exactly i want it to be... the process is like this, user have to key-in the quantity at the left hand side textbox, then they have to choose either 4 option given, then the total charge of that row will appear in the charge textbox. But i have a problem here on how can i calculate the charge of every option that they choose because of every item (for gent& ladies) have the different price and every option(for wet, dry,hand wash ,iron) also have the different price..for database, i've put the item and the price in one table... so every item have 4 price... is it right? or i've made a big mistake here?

the problem i face here is how can i bind the option(for wet, dry,hand wash ,iron) from database as a checkbox and how to calculate them when user choose the option .

i've think about using for each to find the checkbox in datagrid, then i dont know how to pass the variable to database to make it get the price.

can u suggest any solution?

thanx in advance

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.