Click here to Skip to main content
15,902,764 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I created a component and define a little property like this

public int Valueint
{
  get
  {
    return Convert.ToInt32(someText.Text) ;
  }
  set
  {
    sometext.Text = value.ToString(); 
  }
}

when I Use my component on a form and go to propety form an DataBinding then advance
and set the ValueInt property to a field of some bindingsource
then every time I change the current row , Datatable.getchanged returns that some record has been changed . I found that my component and Valueint property made this problem I want to khnow how can I control the component that said datatable its value has not been changed ? thanks
Posted
Updated 2-Oct-11 23:59pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900