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
Goran Bibic
484
2.9k
198.5k
Execute scalar c#
May 24 2018 1:15 AM
If put in text box username (a) and password (a) app say invalid column name "a"
Line 10 problem....some help?
private
void
prijava()
{
SqlConnection myConnection =
new
SqlConnection(cs);
String command =
"SELECT id FROM osobe_korisnici where korisnicko_ime = "
+ korisnikTextBox.Text +
""
;
myConnection.Open();
SqlCommand myCommand =
new
SqlCommand(command, myConnection);
korisnikId = Int32.Parse(myCommand.ExecuteScalar().ToString());
Reply
Answers (
5
)
Highest value reading Data Base Coloumn
how to Create Circular Progress Bar Dynamically from Databas