wHen i set CokSatan in my page load event it returns stack overflow..
When i try it step by step it stucks at
this.CokSatan = value; line.
what is the problem ?
class myclass : Controls.RProductList
{
public string CokSatan
{
get
{
return this.CokSatan;
}
set
{
this.CokSatan = value;
}
}
public override void GenerateSQL()
{
if (base.SQL_Top == string.Empty)
{
base.SQL = this.CokSatan ;
base.SQL = this.AddOrderBySQL(base.SQL);
base.GenerateSQL();
}
}
}
AND
private void Page_Load(object sender, System.EventArgs e)
{
myclass xclass= new myclass();
xclass.CokSatan =(Rproductlist22.getSQL(string.Empty));