How to create reusable dialog lookup (inherited) form for a gridview
Posted on 2008-10-12
I have an application in C# 2005, using winforms, basically a rewrite of a VB application. Most of the forms have datagrids, and the database is Sybase, which requires a non-simple method of attaching to the database using my employer's custom interfaces. The grids are populated using existing stored procedures returning a datatable object. I can populate the grids fine but I need a simple pop-up box that I can reuse on these forms that will search for any existing rowvalue in the grid's datatable. I would think that this is what form inheritance is designed for, but I've never used it. Any ideas/help is much appreciated.