By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,948 Members | 795 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,948 IT Pros & Developers. It's quick & easy.

passing form data to a new class, not code behind

P: n/a
I have a file: here.aspx
within this aspx file, there are 2 textbox, name and age.
I call a new class from within this file.
The new class is in the file yaya.vb
The main purpose of yaya.vb is to fill a xml file using
xmltextwriter.
I can post any constant data to the xml file. BUT
I do not know how to post the name.text and age.text onto
the xmlfile because I cannot use the code behind in this
case because the new class is not inherit from the
here.aspx file.

I have checked the microsoft web site and the
Reference: dot net framework help - SaveXmlDocument Sample.

Anyone help please. Thanks a million

Ray
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I found a solution to the problem.
Do not call the class from the here.aspx file
call it from the vb file.
Then everything fixed.

Ray
-----Original Message-----
I have a file: here.aspx
within this aspx file, there are 2 textbox, name and age.
I call a new class from within this file.
The new class is in the file yaya.vb
The main purpose of yaya.vb is to fill a xml file using
xmltextwriter.
I can post any constant data to the xml file. BUT
I do not know how to post the name.text and age.text onto
the xmlfile because I cannot use the code behind in this
case because the new class is not inherit from the
here.aspx file.

I have checked the microsoft web site and the
Reference: dot net framework help - SaveXmlDocument Sample.
Anyone help please. Thanks a million

Ray
.

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.