I was given just one table with many information in it. The requirement isas follows.
I have added columns that are only required.
UId(string) Class(string) Primary Subclass(string)
1. Select Min(UId), Max(UId), Class
2. Display in a box Min-Max and Class
3. List the distinct Primary subclasses when clicking 'View More', as it is one to many
4. Each list item link to further details in another page.
I have created a Repeater and inside the ItemTemplate, I added two literals for UID and Class, and a BulletedList to display the distinct Primary subclass. However, I cannot get the text of the clicked list as it is inside the ItemTemplate. How can I achieve this? Please help.
when selecting the find and replace dialog box in the VS2015 IDE i no longer have the check box's to select things like "Match Case", "Match whole word" etc. just the text, ive searched for hours on the web and nothing has shown up, with this driving me mad - has anyone else had this as it seems to have happened recently and i have no idea how to fix it. any help appreciated
It started as an extension for VS2010, and was then integrated into Visual Studio. There have been various changes to the UI over the years. In VS2017, the "match case" and other options are displayed below the search box. In earlier versions, they were accessed by clicking the arrow next to the search box, or pressing the down-arrow key when the search box is focussed.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
Thanks for the reply but upto a week or two ago it was all working as it always had in versions of VS2005 to VS2015, you could tick the 'match case' checkbox and all others, but now you just see the text 'match case' with no checkbox. at first glance i dont have the down arrows showing the options but will study the links you kindly supplied to see if i can figure anything out.
ive gradually got more peed off with microsoft over the years for making lots of stuff stop working, and changing things for no good reason, and ive been using their products since 1982. grrr
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()