Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Property in a form
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Property in a form
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
00954513
Message ID:
00954513
Views:
43
I have a WinForm in witch I am creating a property - this will be moved to the base class later.

the problem I am having is that I try to set the property and it sets it then goes directly to the get and stays there, I then get a stack over flow.
public DataRow CurrentDataGridHitRow
{
	get{return CurrentDataGridRow;}
	set{CurrentDataGridRow = value;}
}

//shortened code for brevity.

//Set the value - dr was defined in my previous code
this.CurrentDataGridHitRow = dr
Shawn Dorion
Geo Sektor Dot Com
Website: http://www.geosektor.com

Web Hosting Plans
Visit : http://WebHosting.Applications4u.com/
Next
Reply
Map
View

Click here to load this message in the networking platform