CodePudding user response:
I didn't understand your meanCodePudding user response:
For example, to achieve what kind of effectCodePudding user response:
Is put a datagridview1 in a winform window, another datagridview2 input character when the cell is displayed, and from the database to find cell character match record, equivalent to a hospital workstation prescribing function, enter the charging items, datagridview1 is equivalent to a detailed prescription, datagridview2 is equivalent to charging items, only when unit lose character hair displayed, may need to control datagridview2 show here, if datagridview1 records many, add one row when close to the screen below, will be displayed in the upper part of the input lattice datagridview2