I have result System.Data.SqlClient.SqlDataReader
Some help?
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();
- }
Nanddeep NachanPosted Jun 1, 2018, 12:40 AM
Goran BibicPosted Jun 1, 2018, 12:55 PM
Sumit ChaudharyPosted Jun 1, 2018, 7:08 AM
Goran BibicPosted Jun 1, 2018, 1:15 AM
Manas Tripathi
Textbox value is empty....sql query is okGoran BibicPosted Jun 1, 2018, 1:14 AM
Nanddeep Nachan
Error...Index was outside the bounds of the arrayManas TripathiPosted May 31, 2018, 4:26 PM