Watch Pre-recorded Live Shows Here
Why Join
Become a member
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
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Goran Bibic
739
2.5k
117.5k
Query value to textbox c#
May 31 2018 2:35 PM
I have result System.Data.SqlClient.SqlDataReader
Some help?
private
void
ukupno_bez_pdv_roba()
{
SqlConnection con2 =
new
SqlConnection(cs);
string sqlquery = (
"select * from mp_racun_roba where tip_robe = 'Roba (Generalno)' and id="
+ id_fakture);
SqlCommand command =
new
SqlCommand(sqlquery, con2);
con2.Open();
SqlDataReader sdr = command.ExecuteReader();
roba_bez_pdvTextBox.Text = sdr.ToString();
con2.Close();
}
Reply
Answers (
6
)
SFTP Secure method
Error in selection Datetimepicker date