Can someone tell me why I get a run time exception of "Invalid Cast" on the
following code sample on the second line?:
SqlCommand identity = new SqlCommand("SELECT @@Identity", conn);
int temp = (int)(identity.ExecuteScalar());
I Looked in the sample code that somes with VS and this cast...
more >>
hello everyone,
i want to subtract 30 days from the current date and get the resulting =
date in vb.net. How can I acheive this result?
i have tried the same by subtracting 30 from NOW() but its not working.
Waiting for immediate feedback.
--=20
Abul Hasan Lakhani...
more >>
Hello,
I would like to uninstall the SP1 "critical update" on a Server 2003, but I
can not figure out how to do it. Any idea?
TIA,
Jens.
--
Replace MSDN with my first name when replying to my email address!
...
more >>