E
Eliezer
I have successfully added OWC 9.0 as a reference into my
ASP.NET project. I have the following code:
Private Sub Page_Load(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
Dim ow As New OWC.SpreadsheetClass
ow.Range("A1", "A2").Select()
ow.Selection.Value = "22"
End Sub
Intelisense works for the OWC 9.0 spreadsheet and I am
able to drag a Spreadsheet object onto the design
surface. That's all good.
The problem is that I can't seem to figure out how to name
the objects so that the designer connects to my
codebehind. In other words, I can drag a spreadsheet onto
the designer surface - set its ID and NAME to "ow" (I
don't know which is the proper attribute to be using -
"name" or "id") - and then in the code I refer to an
object as "ow" - yet my "ow" code doesn't at all effect
my "ow" designer object.
PLEASE HELP: How can I get my code in the codebehind to
manipulate/effect the object in the designer?
Thanks so much!
Eliezer
ASP.NET project. I have the following code:
Private Sub Page_Load(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
Dim ow As New OWC.SpreadsheetClass
ow.Range("A1", "A2").Select()
ow.Selection.Value = "22"
End Sub
Intelisense works for the OWC 9.0 spreadsheet and I am
able to drag a Spreadsheet object onto the design
surface. That's all good.
The problem is that I can't seem to figure out how to name
the objects so that the designer connects to my
codebehind. In other words, I can drag a spreadsheet onto
the designer surface - set its ID and NAME to "ow" (I
don't know which is the proper attribute to be using -
"name" or "id") - and then in the code I refer to an
object as "ow" - yet my "ow" code doesn't at all effect
my "ow" designer object.
PLEASE HELP: How can I get my code in the codebehind to
manipulate/effect the object in the designer?
Thanks so much!
Eliezer