Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Need Advice

thusharathushara Member Posts: 38
I am a beginner in .net.I have certain doubts regarding datagrid in .net.Is it possible to do calculation in datagrid. In datagridviewcomboboxcolumn how can we do selectedindexcahnged event.In my form i have cerain controls and one datagrid.during the lostfocus of certain controls it is dng some calculation and when i click ok button ,it will come to datagrid.No w my req. is to do same calculation in the datagrid also.so that i directly entered in the datagrid,it will do the same calculation.is it possible.??can anybody help me in this giving some good ideas,or name of the site



Comments

  • seancampbellseancampbell Pennsylvania, USAMember Posts: 684 ✭✭✭
    [code]
    [italic]thushara says[/italic]
    I am a beginner in .net. I have certain doubts regarding datagrid in .net. Is it possible to do calculation in datagrid.

    In datagridviewcomboboxcolumn how can we do selectedindexcahnged event.

    In my form i have cerain controls and one datagrid during the lostfocus of certain controls it is doinng some calculation and when i click ok button, it will come to datagrid.

    Now my requirement is to do same calculation in the datagrid also.

    So that I directly entered in the datagrid, it will do the same calculation. is it possible.??

    can anybody help me in this giving some good ideas, or name of the site[/code]

    http://windows-tech.info/3/37cffc23001984bc.php - The solution provided to this guy's question suggests that you cannot capture the SelectedIndexChanged

    http://p2p.wrox.com/net-framework-2-0/41774-datagridview-combobox-column.html - The solution provided here, in c#, demonstrates how to work around this and know when Values are changed in a combobox

    Hope this helps,
    Sean Campbell
Sign In or Register to comment.