c# - Add multiple controls to GridView column in windows form app -



c# - Add multiple controls to GridView column in windows form app -

i adding 2 columns gridview below

datagridviewlinkcolumn editlink = new datagridviewlinkcolumn(); editlink.usecolumntextforlinkvalue = true; editlink.headertext = "edit"; editlink.datapropertyname = "lnkcolumn"; editlink.linkbehavior = linkbehavior.systemdefault; editlink.text = "edit"; datagridview1.columns.add(editlink); datagridviewlinkcolumn deletelink = new datagridviewlinkcolumn(); deletelink.usecolumntextforlinkvalue = true; deletelink.headertext = "delete"; deletelink.datapropertyname = "lnkcolumn"; deletelink.linkbehavior = linkbehavior.systemdefault; deletelink.text = "delete"; datagridview1.columns.add(deletelink);

can add together both buttons under same column?

for datagridview control, need create own usercontrol contains 2 buttons next link show example: multiple controls in single datagridview cell

c# winforms gridview

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -