hi Desman2003,
In C# you add events to f.e. a buttonclick.
a buttonclick get 2 params, object(the objects where it came from) and EventArgs (f.e. mouseclick)
if you want to check which button is pressed / clicked
you can check sender.
example:
private void ChangBackground(object...
according to ms there's no sollution:
http://support.microsoft.com/default.aspx?kbid=308352
the only way is to create a datatable and use the count property of the rows collection.
Or you could use a select count(x)...
But why do you want a recordcount? Just for info or to do other things with...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.