>I have a textbox that fires when user changes the entry. The OnTextChanged method calls database and validates that the entry exist in the database. However, the user may not change the default entry in this text box (the text box gets a default entry from a cookie) and simply click on Submit. I need to call this OnTextChanged method in the Submit method. The following is the top line of the method:
>
>
>public void txtCostCenter_TextChanged(object sender, System.EventArgs e)
>
>
>In order to call this method in the Submit I need to pass the parameters (that I don't even use). How can I pass some dummy parameters that would satisfy the compiler in terms of type of parameters?
txtCostCenter_TextChanged(new object(),new EventArgs());