Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
7
Reply
compare database value with string value
anji marothu
May 30 2013 1:53 AM
1.5k
Reply
hi i was compare database value with string value but not working
here is a code
string value=dr["value"].ToString();
if(value=="valid")
{
// statement
}
else
{
// statement
}
here database value also valid
but the code jump to else part...
need solution.. thank you.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
7
)
Next Recommended Forum
Display Output in Listview
error in storing data with the help of windows form