Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
135
Context Menu Linking to Function (C#)
posted

Hi All,

I have an application that includes a WinGrid and reads data from a stored procedure. I hide a couple of fields from the users view as they are not relevant to them.

I have created a context menu on the Grid for right clicking on a row. I then have a 'Delete' option that will execute a Stored Procedure which will then delete the records based on one of the hidden fields (unique identifier for a group of records).

Having trouble trying to figure out how to code that it gets the hidden field value from the row that is selected and then pass that across to the stored procedure execution.

Any help would be greatly appreciated

Cheers,

Andrew