Hi Iam using winforms-vs2015-c#. I have small application, and I try to display the listview with images I get struck. Actually the table column contains Images. Also when I display the table datasource to DataGridView the Image columns displays the Images very nice. But I wish to use it from...
Is there a way to detect when a column cell in the Listview changes and triggers an event to do something else?
ie.
ListView has 3 columns: item,qty,desc
1,1,item_1
2,2,item_2
3,,3item_3
When any of the of the values in qty column changes, it trigger an event with the row subitem. When row 2...
please see the picture, I want to show records in listview as they are saved in table.
but with below code it is reading group ids only and showing this in a single line.
SqlDataAdapter dataAdap = new SqlDataAdapter(sqlcmd);
DataTable data = new DataTable()...
I have a datatable bound to a listview which displays the output of a SQL select statement.
I wish to filter what is displayed in the listview based upon text entered into a textbox above it.
I have found numerous examples of filtering listviews in this way but all of them are using hardcoded...
I want to get my listview to scroll to the user selected index and change its appearance. I tired to get this in many ways but nothing worked for me.
When I select any item from listview I am able to get the data and index of selected item but the SelectedTemplate apply on previous Index. Don't...
I currently have a listview that contain 5 columns and atextbox that helps search though the data stored. the search function isworking, but I want to link it to five bools (one for each column) so that Ican search though it faster. how do I attach a checkbox to just the columnheaders (and still...
I'm current creating an app (POC) that list events, and it is going to have a weekly view (Sun-Sat). when you click on a cell it will do something; I want to send a number at a method called "ShowDetails(int x), how would I tag a number onto a subitem and have it send it when the subitem is...
ools: Visual Studio 2010 Ultimate, Language C#, Database MySql
Hi,
I am searching this a while, but to date didn't find any suitable solution.
I've a form with bound DataGridView with 5 columns, ProductID, ProductName, Qty, Price and Amount. After normal data entry user can click button...
Here is list of things I want to do:
Display context menu strip only when mouse is over the item and right clicked on it, the code I have for that is this:
private void contextMenuStrip1_Opening(object sender, CancelEventArgs e)
{
if (listView1.SelectedItems.Count ==...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.