tPlease help. How to put two columns in a combo box. I work with VS2015, c # and mjskl 5.7. Attached part of the code.
private void comboBox1_Click (object sender, EventArgs e)
myConnectionString = pwput;
conn = new MySql.Data.MySqlClient.MySqlConnection ();
conn.ConnectionString = myConnectionString;
catch (MySqlException ex)
MessageBox.Show ("DO NOT SUCCE TO CONNECT ON SERVER, CLOSE PROGRAM TO TAKE A REPLY");
MessageBox.Show ("NOT ACTIVE SERVER, SUBSCRIBE SERVER PA REPEAT CONNECTING");
if (conn.State! = ConnectionState.Open)
MessageBox.Show ("DO NOT SUCCE TO CONNECT ON SERVER \ r \ n CLOSE PROGRAM TO TAKE READY \ r \ n");
AutoCompleteStringCollection kontoopis = new AutoCompleteStringCollection ();
string wnadidok = "SELECT idkonto, FROM account name";
loadingData = false;
DataTable dtkon = new DataTable ();
MySqlDataAdapter mdkon = new MySqlDataAdapter (wnadidok, conn);
loadingData = true;
comboBox1.DataSource = dtkon;
// which field is shown in the table below
comboBox1.DisplayMember = "idkonto";
comboBox1.ValueMember = "idkonto";
comboBox1.DisplayMember = "title";
comboBox1.ValueMember = "title";
comboBox1.SelectedIndex = -1;
comboBox1.Text = "";
loadingData = false;
I am a developer relatively new to Visual Studio 2017.
I created a Windows Forms App to maintain legal visitor data but am experiencing this issue:
Symptoms: Receiving error (Concurrency violation: the UpdateCommand affected 0 of the expected 1 records)
I can Add records and edit records no problem, but this error only occurs when I:
Add a record successfully and then try to Edit the same record directly
(In other words, I get the error when trying to re-edit the same record).
Can anyone please assist?
-Add Button calls this:
Private Sub InsertData()
-Edit Button calls this:
Private Sub UpdateData()
I want to extract class attributes of specific text which is present in the pdf files, for ex: If I want Date paid text class attribute from pdf file, When i double click or hover the Date paid text in pdf it should return class attributes like:
Was going to make a offline install disk of the Community Edition of VS 2017. Can't even do that without surfing through bullshit. The file you download isn't good enough. Now they say you have to update Windows 8.1. So I try to do that and they say "this update not applicable for your computer".
Oh yeah...if you have the time or patience you may discover something called a hotfix that you can install first.
Oh so let me see...
You gotta download one file to your drive to discover it doesn't work properly. Then you do what they tell you to do only to find out that doesn't work either.
I am trying to create a grid to use in IE 11 using VS and coding the CSS in VS 2017. I get the message 199px not a valid value for CSS3. Also the intellisense gives me -ms-grid-colum and not -ms-grid-columns. Can anyone help me out as to why VS is doing this. The code is:
It should be in the Project's intermediate output folder, usually called Debug or Release, depending on the build type. You should take a good look at the solution directory tree and get familiar with the different directories and what they are used for. Also look at project properties and expand the Macros link to see all the macro expansions that are available.