TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Administrator
Tech Writer
2.2k
1.5m
Create a component for asp.net ..... please give me a hand,thanks
Mar 10 2003 11:37 PM
I defined a component wich c#. The component have a property that datatype is customed define class inherit "System.ComponentModel.Component". Then I make it to VS.net toolbox in a asp.net solution. I draged it in a webfrom, and make the property some values,but the property can't keep value by themsefe while finish compile. please tell me way.thanks very mach. source code: class myComponent: Component //this class is a Component I want use to webform. { ComponentProperty aaa = new ComponentProperty (); public ComponentProperty aaa { get{return aaa;} set{aaa = value;} } } class ComponentProperty : Component { string a = ""; string b = ""; public string Name { get{return a;} set{a =value;} } public string Age { get{return b;} set{b =value;} } } //In VS.net properties editor,I make "Name" and "Age" value, Ctrl+Shift+B compile, then I maked value disappear...
Reply
Answers (
2
)
accessing server side exe's from asp.net
Controls and WebControls