menelaussa 0 Newbie Poster

Hello,
How can I put conditions on a cell from a gridview in edit mode?
For example I have the dataview called grdSeasons with the columns From, Until, MinStay, MaxStay, Release

in edit mode From, Until, MinStay keep the value data that was saved before
when add a new row From, Until, MinStay should be empty

in edit mode MaxStay and Release keep the values that was saved before
when add a new row should apear the DEFAULT VALUES 3 for Release and 99 for MaxStay

Can someone help with this?
thank you

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.