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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -