TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ilhami caliskan
NA
76
91.7k
Sql C#
May 13 2014 6:01 PM
I have an error with following but I can't see it.
can anybody help urgently?
text is here a string
try
{
ConnUtil connUtil = new ConnUtil();
OleDbDataReader reader = connUtil.readData("select * from Must where CompanyName = " + text);
while (reader.Read())
if text is an int then code works (CompanyName is CompanyID in that case which is an int value)
but as I turn all to a string, I have null value in reader
Reply
Answers (
1
)
Export c# windows application picturebox to word
disable the controls in panel