1,201 Topics
![]() | |
[ICODE]Public Class Movies Dim a As Integer, b As Integer Dim titles(a) As String, rating(b) As String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ListView1.Items.Clear() Dim names As String, rate As String Dim listviewItem As ListViewItem names = TextBox1.Text rate = ComboBox1.Text titles(a) = names … | |
My assignment is using mobile 6 sdk for testing and code is visual basic In my assignment, i able to add record to txt file and view it at listview, now i want to delete the record file by check the checkbox at each row of listview and click delete … | |
[CODE] private void FillList() { listView.Items.Clear(); DataTable dtPeople = GetPeople(); listView.BeginUpdate(); foreach (DataRow dr in dtPeople.Rows) { ListViewItem listItem = new ListViewItem(dr["id"].ToString()); listItem.ImageIndex = 0; // Get child rows from a parent one. // person_name is a name of relation between two // tables. DataRow[] r = dr.GetChildRows("person_name"); if (r.Length … | |
Hi, i really need your help.. Can u help me to get selected value from listview? So that i can read one record.. thanks before.. ![]() | |
I have programmatically created a listview in n # of tabpages to display information gathered from an SQL database. Once created, i want the user to be able to select an item from any of the listview's. How can i reference the selected item? This is the code that creates … | |
Hello guys! Its been a very long time since I don't show up here. Now I am back with a small project for internal use, but I need a little help. I want to make a program that allows me to change file attributes, like 'hidden', 'read-only' and 'system'. It … | |
i have some data in the listview, maybe someone can help me.. how the script to insert all of the data in the listview into table.. help me please .. :( thanks,, sarah :) | |
i am an IT student and i have this idea of using a listview to see all the items i have in my database and to list all the items that has been selected into a listbox. The problem is i don't know how to get those selected items that … | |
im using a stored procedure to load a number of galleries and then photos within the gallery, however when linking them to the listView only the first two photos are returned. Stored procedure [CODE] ALTER PROCEDURE dbo.test AS declare @galID int Declare c Cursor For Select Distinct gallery_id From galleries … | |
I am having a issue as above title. How to show data from file (txt file) in list view control? Please help thanks | |
Hello everyone. I'm currently developing a download manager and converter for audio and video files. Does anyone know how can I get the music file from a specific folder from my computer (I already used openfiledialog) and putting it into a listview? e.g. FILE NAME FILE TYPE Born this way.mp3 … ![]() | |
I don't know how to insert image into column header of listview | |
Can't Get it right using switch on listview i need help or some suggestion about how can i convert the string array values open another layout webview.. [CODE] import android.app.ListActivity; import android.os.Bundle; import android.view.View; import android.widget.ArrayAdapter; import android.widget.ListView; import android.widget.Toast; public class chapters extends ListActivity { @Override protected void onCreate(Bundle … | |
Hi guys. What I'm trying to do is pass all items and subitems from a listview on my main form to a listview on a new form. After googling for a couple of hours the closest I got was the the code below which only passes the selected Item from … | |
Hello, I'd Like to do the Same thing as in this post I posted a while back. But in a Listview Control [url]http://www.daniweb.com/software-development/vbnet/threads/369754[/url] But there is no Selected rows... There is an Item Active But that did not work. And I cant find this anywhere else. Can someone help? Thanks, … ![]() | |
How can I add a timer in the listview that minuses 1 second at a time when the button starts click and stops when the stop button is clicked? Then save the remaining time in the database. Please help me in my school project. Thanks in advance. I prof. says … | |
im trying to enable a button that is disabled within an itemTemplate, if theres a session then the button will be enabled. however i cannot access the button object in the code-behind file. HTML CODE ---------- [CODE] <div id="gal_wrap"> <asp:ListView ID="ListView1" runat="server" EnableModelValidation="false" OnPagePropertiesChanging="listItems_PagePropertiesChanging"> <LayoutTemplate> <asp:PlaceHolder ID="itemPlaceholder" runat="server" /> </LayoutTemplate> … | |
I would appreciate a snippet of code for adding groups at run-time to a listview. I am currently listing books (and stats) without groups via the following code which is executed in a loop (one pass per book title). [code] item = New ListViewItem item.Text = seq.ToString item.SubItems.Add(Mid(titlenode.Nodes(N_CSTAT).Text, 3)) item.SubItems.Add(Mid(titlenode.Nodes(N_JSTAT).Text, … | |
Lets say you have lots of data your listview. Now you want to Group This data According to a Perticular Subitems. For Example: Suppose i have some books data in my ListView. this listview items contains Author name and Books Title. And there are 2000 Books in list view. Now … | |
i want to detect if listview has been updated eg: there are listview1,listview2 and a button1 .u can send items to listview2 from listview1 .if the listview2 has an item button1 will enable if the listview2 is empty button1 will disable what is the suitable event for this?? (there is … ![]() | |
hi i have a stored image in my database. i want it to be displayed in picturebox. anyone here know how to that? here is my code [CODE]Private Sub ListView1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListView1.SelectedIndexChanged Dim index As ListView.SelectedIndexCollection = ListView1.SelectedIndices Dim i As Integer = … | |
0 down vote favorite I am a programmer for winforms and asp.net. A new-comer to WPF application development. I wish to thank in advance for any help rendered to my query, I am working on a application for Banking. My job profile is to develop reusable usercontrols for the application. … | |
Hi please help me with this problem i really need it those kind hearted programmers out there please help me :) thanks | |
Hi, I have the following code: [CODE] try { var conn = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Database.accdb"); var cmd = new OleDbCommand("UPDATE Resources SET Image=? WHERE ResourceName=?", conn); cmd.Parameters.Add("Image", OleDbType.VarChar).Value = listView.SelectedItems[0].Tag; cmd.Parameters.Add("ResourceName", OleDbType.VarChar).Value = _username; conn.Open(); cmd.ExecuteNonQuery(); conn.Close(); } catch(Exception ex) { Console.WriteLine(ex.Message); } [/CODE] I keep getting the following error … | |
Hi this is my first post so hello everybody, I've recently been exploring the uses of linq to use for comparisons,but really need a bit of a kickstart. Say for instance i have a listview populated with numbered names and I want to put up a message box if certain … ![]() | |
Overload resolution failed because no Public 'Add' can be called with these arguments: 'Public Function Add(text As String) As System.Windows.Forms.ListViewItem.ListViewSubItem': Argument matching parameter 'text' cannot convert from 'DBNull' to 'String'. 'Public Function Add(item As System.Windows.Forms.ListViewItem.ListViewSubItem) As System.Windows.Forms.ListViewItem.ListViewSubItem': Argument matching parameter 'item' cannot convert from 'DBNull' to 'ListViewSubItem'. this is my … | |
Hello I have some doubts in listveiw I have a listview with two columns, i want to add items to the first column which are given programmatically and the other column is from database... like [CODE] column1 column2 apple from database orange " banana " so on " [/CODE] can … | |
Hi, I was just wondering, if I have a list view control, with 2 columns, and insert items to those columns, ex: LIST VIEW ANIMALS - CARS Col1 Animals === Col2 Cars [COLOR="Green"]Jaguar [/COLOR]................... [COLOR="Red"]XJR [/COLOR][COLOR="Green"]Tiger [/COLOR].................... [COLOR="Red"]DB9 [/COLOR][COLOR="Green"]Bull [/COLOR]..................... [COLOR="Red"]Gallardo [/COLOR] Can I move items from 1 COLUMN to … | |
Hi All.. I want to get selected item on listview. Does any one know how to solve this??? I'm using vb.net 2003 | |
Hi i have 3 list view...1=Courses, 2=Semester, 3= Section.. when i select any course so in semesterlist view semester should come with respect to Corses...similary when i select semester so section should come with respect to semester...but i m not able to do it...... i have written this code... [CODE] … | |
Hello Sir, I want to perform following action please help!!!!!!!!!! when i click on a item in a listview it would also show in a separate label..... i didn't know how to do this????? please help. | |
Here is the ListView I have for the products page: [CODE] <asp:ListView ID="list_view" runat="server" DataSourceID="SqlDataSource1"> <ItemTemplate> <table class="single_product"> <tr> <td> <img src="<%# Eval("image") %>" /> </td> <td> <asp:Label ID="nameLabel" runat="server" Text='<%# Eval("name") %>' /> </td> <td> <asp:Label ID="descriptionLabel" runat="server" Text='<%# Eval("description") %>' /> </td> <td> <form action="comments.aspx" method="post"> <input type="hidden" … | |
Good day guys .., just wondering if someone can help me out =) .., i have a program and i want the listview to display products as i enter text in the search textbox... my data is in the database .. for example when i type 'co' the products {coca … | |
Hi all,, How i can sum all item on listview column. Thank you in advance. | |
Hello, Please help me, how can i populate or display my newly added list in the listview, if i will click my addbutton.can you please help me. Thank you in advance and I am hoping for your positiver response. | |
Hello, can you help me please,why is that if i insert picture on my listview and then if i have many data to display it.my listview will be destroy,it will not display properly the data.can you help me please why is this happen and how to fix this.Thank you in … | |
Hello can you help me please, Is it possible to load only 30 data on my listivview?after i run my program?can you helop me please. Thank you in advance and I am hoping for your positive response | |
Hi, I'm new to ASP.NET. I began learning as I had to make a website for a college project using a language I didn't already know (I know PHP pretty well so I'm not a total noob :P). Basically what I'm trying to do is get a list of products, … | |
hello... Can you help me please, how can i use the checkbox if i want to display on my listiew Active or not Active After clicking the addbutton. Example Jemz Gimz 123 then i will check the checkbox and click the Add button it should display on my listview Jemz … | |
i am able to add items in listview at runtime ,but not able to add this items and subitems in database pls help me in code | |
Hello, can you help me please, how can be my newly added data to be selected in my listview after i clicked my Add button.Please help me. Thank you in advance hoping for your positive response. here is my code. [CODE] Private Sub cmdadd_Click() Dim Objlist as ListItem sql = … | |
i want to do in my program that i can drag and drop any video file and it will drag their's name one after one in the first column and when i will drag srt files (subtitles files) it will drag and drop them one after one to the other … | |
hi i manage to export a data coming from listview to excel here is my code [CODE] Try ' Open output file Dim os As New StreamWriter(filename) ' Write Headers For i As Integer = 0 To ListView1.Columns.Count - 1 ' replace quotes with double quotes if necessary os.Write("""" & … | |
Can you please help me in my problem regarding in using Listview in vb.net. I can manipulate some flow like searching and selecting data coming in database (SQL) but my problem is that i need a message thtat will pop up that there is no particular data in the database … | |
Hey, Basically I have a text box to search data from my SQL DB from, and I want the information to then display in a listview underneath. I have been trying for a while now and still can't get it to work, but on the button click it should display … | |
I want to extend my list-view displayed information to the next line in a column but i have tried the property it has refused what is the alternative? | |
Hello, I got a problem, I can save my data to access database and in the access database field I set it to date/time. But problem is when I get the value out from the database.. the format is always month/day/year hour:minutes:seconds example today: 5/2/2011 12:00:00 How to get the … ![]() | |
Hello, Can you help me please im trying to use the listview but i found difficulties on it.I don't know how to display my column header in my listview.Please help me.Thank you in advance hoping for your positive response. Here is my code. [CODE] Option Explicit Private Sub Form_Load() ConnectToDB … | |
Hey I'm trying to manage some processes So ive created a listview, the first column contains the name of the processes, the second should contain the id of the process, but I honestly cannot figure out how to get it working, making the "ListViewItem" control, but its not really working … | |
Hi, I need code to invert the selected items in list view. Can any one help me out.. Thanks in advance for help.. Regards, Sravanthi Ch |
The End.