asp.net - How to simulate a button click in C# with timer -
i want know how simulate click of button timer. want button pressed every 12 hours.
add below code timer tick event call button click event logic
btnsubmit_click(null, null)
hoping wouldn't use args or sender inside logic. better way write common method can called button click , timer tick.
Comments
Post a Comment