is there an event where when the listview box is updated/changed i can call a function where i can do some calculations on the changed data.
the listview is updated from textboxes and a button and the calculated result is shown in a text box
thanks
steve
Wattsits
0
Light Poster
Recommended Answers
Jump to PostYou populate listView on clicking on a button, if I understand you well. So no need to use a listView even to do something with the data from it. Simply create another method for calculations which will be called just after listView population, and it will look something like it:
…
Jump to Postsure,
AND = &&
OR = ||
So you can write it like:if(textBox1.Text != "" && textBox2.Text != "") { //is both are empty, code will go in here } if(textBox1.Text != "" || textBox2.Text != "") { //is any of textoxes is empty, code will …
All 5 Replies
Mitja Bonca
557
Nearly a Posting Maven
Wattsits
0
Light Poster
Mitja Bonca
557
Nearly a Posting Maven
Wattsits
0
Light Poster
Mitja Bonca
557
Nearly a Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.