You dont. Mouse over would be a client side event handler and cannot be done server side. You must understand, in order for any server side script to fire, the page has to be resent to the server. The best way to do this is through the click of a button.
Ok so i do it in client side,right. but when i use ASP.net to run it, it wont give me the MouseOver. Probably it bcos the HTML doesnt work as in asp.net....hmmm wait i dont understand wat m i saying...lolz
There is no mouse over in asp.net. The only mouse over is in java script. You cannot have java script and asp.net communicate. The reason they will not be able to communicate is because the java script runs at the browser and the asp.net at the server. So basically forget about mouseover because there is no way to do it. The only way to run a server side script is if the page is posted back to the server, the most common example is when you click the submit button on a form, the server fires the form action code and you are redirect and the server grabs up all the form values on the page. This is post back. Therefore you cannot have effects like mouse over because the page would have to refresh to execute the code.