i am new to .net.

i wrote the program for getting information from database.
when i click the ok button, the above action is called. and its take few seconds to fill into datagridview..

that time i like to show the busy curser in my windows form. (ie after click the ok button i like to show the busy mouse curser as busy....)
i have an no idea about it.

if u know please share ur idea...

Cursor.Current = Cursors.WaitCursor;
Cursor.Current = Cursors.Default;

i use this code its ok for the above problem ?

Does it work or not?

i used that one if i chage the curser type still not changed that type its shows like 'I' only .....