Calling Class in ASP.Net

  • Thread starter Thread starter Eliyahu Goldin
  • Start date Start date
E

Eliyahu Goldin

If you are talking about calling a class, as opposed to a form, the syntax
is the same:
Dim aaa as new someclass
aaa.somemethod
If you mean referencing another form, you have to understand that asp.net
serves one form (page) in the time.

Eliyahu
 
mac,
You can do it. Its exactly the same!
dim someclass as new someclass
someclass.whatever

Good Luck
DWS
 
What have you tried that doesn't work ? This is the same language. It works
the same way (of course you woan't use the same classes to create your
pages)...
 
Hi!

Please help me on this, What is the code when calling or referencing a
class in ASP.Net
just like for example in windows forms. the coding is just like this.


Dim frm as new form1
form1.showdialog

Please help me on this topic,

You call and/or reference a class in Webforms exactly the same way as you do
in Winforms - it's the same language.

Obviously, though, you don't open a Web form using the above syntax - that's
not what you're asking, is it...?
 
Hi!

Please help me on this, What is the code when calling or referencing a
class in ASP.Net
just like for example in windows forms. the coding is just like this.


Dim frm as new form1
form1.showdialog

Please help me on this topic,


Thanks and regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top