c# - wpf - reference error with office assembly -


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

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

r - Update two sets of radiobuttons reactively - shiny -