|
-
Feb 23rd, 2006, 07:23 AM
#3
Thread Starter
Lively Member
Re: Get and Set Help
 Originally Posted by Shuja Ali
First of all I am confused. If you are creating a property why would it be private?
To have the property use array, you will need to declare the property as array
Code:
//private member that will hold the data
private string[] acAccountNote;
public string[] AccountNote
{
get
{
return acAccountNote;
}
set
{
acAccountNote = value;
}
}
oops sorry lol, it is public in my code just I typed it wrong on this hehe. guess i should start copy and pasting Thanks for the help it works now!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|