semicolon 0 Light Poster

Hello i need help for my project

I have a data grid view

    | column 1 | column 2 | column 3 | column 4 |
    _____________________________________________
    |          |  Forcast |user input|user input|
    |   item 1 |__________|__________|__________|
    |          |  stocks  |user input|user input|
    |__________|__________|__________|__________|
    |          |  Forcast |user input|user input|
    |   item 2 |__________|__________|__________|
    |          |  stocks  |user input|user input|
    |__________|__________|__________|__________|
    |          |  Forcast |user input|user input|
    |   item 3 |__________|__________|__________|
    |          |  stocks  |user input|user input|
    |__________|__________|__________|__________|

in column 2 user can iput data and save it in the database and also the user can view the data. how can i determine the current cell that the data won't mix up.
the purpose of the cell to be idenfified is because of calculation like

((item 1, stocks, column 3) X (item 1, forcast, column 4))

any help. thank you.

sorry for the bad english

`

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.