c# - wpf - reference error with office assembly -
this question has answer here:
so i've been trying export wpf grid excel sheet. when tend import microsoft.office.interop.excel assembly error @ following:
public partial class skt : page;
it says this:
'page' ambiguous reference between 'controls.page' , 'excel.page'
can me out this, how need this?
p.s.
please add code example
many thanks!
"page" no longer unique type, have specify name of page class want inherit (control.page
or excel.page
).
sounds if want inherit control.page
:
public partial class skt : control.page;
Comments
Post a Comment