Hello,
Hey guys, love the forums here, very nice.
I am having a bit of coding problem with an assignment from college. (I read the announement no worries I am not looking for you to do it for me ^_^)
Anyway, I have a form, which I am not done coding yet, that needs to send all the data that is entered on the form to an object. This happens when the user clicks thr "add" button. I need to know, how can I get my object to recognize m form and accept data from it?
Here is what I am thinking migh be the code to do so (in the object)
public int STR
{
get
{
return str;
}
set
{
str = strBox.Text;
}
}
Am I close to the right idea? Also, could someone post a possible syntax for this?
I can post my existing code, but I do not think it will bw neccessary.