-----------------------------------------------------------
New Message on MumbaiUserGroup
-----------------------------------------------------------
From: AjaySingala[Synergetics]
Message 10 in Discussion
Mahesh,
I have a question regarding yoru code. It has:
if (res > 0)
{
return 1;
}
else
{
return 0;
}
Which means, if it is "greater than 0" return 1, else return 0. What if res "is equal
to 0"? It will still return 0. Probably that's what is happening and it's not
affecting any rows? This may be 'coz the "WHERE" clause doesn't match any records in
the table.
This is just a clarification I'm seeking. Basically, I'm trying to find out, how do
you know it is returning "-1" and not 0?
Regards,
Ajay Singala [Synergetics].
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]