Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
6
Answers
No data exists for the row/column error
honar abubakr
11y
1.4k
1
Reply
i have an error in this peace of code in my project in c# and access 2010
update_st_card is a textbox for card_id
ol_com.CommandText = "select [card_id] from student_info where [card_id] NOT IN ('"+update_st_card.Text+"')";
reader = ol_com.ExecuteReader();
//current_card_id = Convert.ToInt32(update_st_card.Text.ToString());
if ((string)reader["[card_id]"] == update_st_card.Text)
{
up_st_lbl2.Text = "error card_id is entered before";
}//end check for card id repeate or not if
else
{
//here i do update operation
}
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
exporting .dat file data to txt file
About Crystal Report