1,201 Topics
![]() | |
how to use the listview into the other listview using the button | |
Hi, When I try and populate a listview with data from an array with 3 entries I find that the data goes into the wrong columns. The array consists of the following. ?ID {Length=3} (0): "T123456789" (1): "001" (2): "Smith" My list view has columns : ID, Location, Name. My … | |
I have a project which is 98% complete. Its basically a Shop(till) interface. I have a form that has tabs the first being the main till, second shows a listview with everything in stock and the quantity of items in stock. Im stuck on one part of the program where … | |
Just as the title says, how can I detect double clicking in a ListView? I'm trying to emulate browsing through a directory with windows explorer. | |
Im using this code ! con.Open() cmd = New OleDbCommand("select * from RoomTypeA", con) conreader = cmd.ExecuteReader Do While conreader.Read If conreader.Item("TimeEnd") = Me.TextBox6.Text Then Me.RTypeListA.Items(0).Selected = True Me.RTypeListA.Select() End If Loop cmd.Dispose() con.Close() conreader.Close() i want to select the item in listview that has the same TimeEnd with textbox6.. … | |
hi im having errors with listview binding navigation specifically in last >> and first << here's my code [CODE] Dim inc As Integer Dim MaxRows As Integer Dim dr As DataRow Dim ds As DataSet Public Sub navigaterecords() txtMed_ID.Text = ListView1.Items(inc).SubItems(0).Text txtMed_name.Text = ListView1.Items(inc).SubItems(1).Text txtfname.Text = ListView1.Items(inc).SubItems(2).Text txtMname.Text = ListView1.Items(inc).SubItems(3).Text … | |
Hi im having a problem on displaying my Date ng my listview here is my code [CODE] Private Sub frmTransaction_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try IsConnected("Select CONCAT(person.lastName, ',',person.firstName,' ',person.middleName) AS FullName, transaction.transactionDate from transaction INNER JOIN person ON person.personId = transaction.personId", False) Call Loader() Catch … | |
I have written to take Backup of any database automatically, at any time given by the user in config file. It's working fine, now i wish to take the Backup of a certain database which was already taken Backup previously for the next time. Any help.[CODE] private void FrmRestoreBackup_Load(object sender, … | |
Good day to all. How can I transfer entries from listview to disk using System.io? Help is appreciated. Thank you. :-/ | |
Good day to all. I'm a VB.NET newbie. How can I search, for example ID Number, and want to highlight the listview item found in search from my first form? I'm using combobox from my second form to search. Thanks. | |
Hey :) Im working on a project and ive come across a small problem. I have a listview that contains the details of a person(s) such as their name,address,e-mail address etc. I have a button that opens up another form where the user can edit the details of the customer, … | |
hi everyone, could anyone tell me how can i change my menustrip from menustrip1 to menustrip2. Well i have 2 forms, Form1 and Form2, in Form1 i have 2 menustrips menu1 & menu2. Once i click menu1, my form2 will show with a listview, so my form1 and form2 now … | |
anybody know how to sort item in combobox and listview in alphabert or numeric | |
I successfully implement in my application a listview that can get the values of selected items using a for loop [CODE] for (int i = 0; i < eventlv.Items.Count; i++) { if (eventlv.Items[i].Checked == true) [/CODE] and using this to get the specific value on my parameter [CODE]eventlv.FocusedItem.SubItems[0].Text[/CODE] Though, I … | |
how to print selected item in listview using crystal report | |
Please help me how to add all items that are checked into listview... thank you :D | |
I want to change the color of the group header text in listview which separates all the items into various groups, there is no such option to do that directly because no such property exists. As far as i can think of it can be achieved via overriding the paint … | |
How to put checkbox in listview header? Use of checkbox is for select all and vice versa... Thank You... | |
hello...anybody know how to print selected item in list view using crystal report..do i need to createcheck box in list view but how to print it... | |
Hi All. I am developing a website in asp.net 3.5. I am trying to retrieve records from a database and display. Before each record I want to dispaly the title of the record such as: "Department Accounts" where the word accounts is from the database. However, if a record is … | |
this is the code help me solve it. Public Class frmBorrowBooks Dim myConnection As New mysqlConnection Dim myCommand As New mysqlCommand 'im mycommandtext As New mysql Dim dr As MySqlDataReader Dim myCommand1 As New mysqlCommand 'im mycommandtext As New mysql Dim dr1 As mysqlDataReader Dim myCommand2 As New mysqlCommand 'im … | |
if the itemcheck is check then all the checks will be add separately to cash... i hope is it clear enough... thank You.. God bless... [CODE] Dim Cash As Double = 0.0 Dim Cheque As Double = 0.0 Dim Other As Double = 0.0 Dim DetermineCash As Boolean Dim CheckedItems … | |
Hi, I want to populate a listview with items from datagrid view. I've been searching for solutions but it seems that all the scenarios I found were about populating listview with items from tables in database, not from another listview or datagrid view. I'm trying this code: [CODE] For count … | |
i have problem guys about overload resolution 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 … | |
i want to get the row(s) when the checkbox is check/uncheck in the listview.. thank u... [ICODE] For Each Item In CheckedItems If (Item.SubItems(4).Text) = "Cash" Then 'Code Here ElseIf (Item.SubItems(4).Text) = "Check" Then 'Code Here End If Next If (e.CurrentValue = CheckState.Checked) Then If LstvwBankDeposits.Items(0).SubItems(4).Text = "Cash" Then 'Code … | |
Hello! I'm a programming student and a newbie in forums. :) How can I search for a data in listview from fist form using my second form? For example, I entered 7 entries to my listview, and when I press "Search in listview" button, the second form will open. (My … | |
Hello Everyone, I am new for asp.net and knows some basics of sql... I wanted to use linq with listview and the elements in the listview should be sorted according to the click event of bulleted list and i don't want this data to be editable i mean this is … | |
Hello Friends, i am working on my college project Online Sms Portal and i want to create a group sms facility and problem is that how can i make sms selector(or SMS TEMPLATE) like way2sms.com ?? in that when i click on the SMS and the particular sms display in … | |
Hello, I need some help getting started with saving all the items in a listview with a savefiledailog. The items in the list look like this IP , port. The IP and port are in different columns. The IP is in the first column and the IP is in the … | |
good day, im practicing databases and .net, can you help me in relating multiple tables and manipulating a listview? my scenario is about school subjects of a student, i have a database with data that has 2 tables, which is 'fnsh_table' and 'ofrd_subjects' fnsh_table Student_No nchar(4) Subj_No nvarchar(10) Title nvarchar(20) … | |
ok... i know a lot of you are probably tired of me asking questions but i am trying to learn and i am asking about stuff i dont know, not just to get you to do the whole program for me. this question is if there is a list of … | |
Hey I have a question.. I have a list in one form that looks like this: [column1] - [column2] item1 - 0 item2 - 6 item3- 8 item4 - 5 item5 - 2 soo.. now I open a new form and I need to select what kind of items I … | |
hi all, i had a folderbrowserdialogue. and wen i click on a folder it should get me that folder name, files names in that folder and subfolders and files names in that subfolder to be displayed in listview. i had tried this and it is displaying files in selected folder.Now … | |
I want to load values from a lstview column to a combobox in another form. The problem is that, my combobox style is 2 - Dropdown List and the values in it are from my database field. That's where the error occurs. Saying [ICODE]Text property is read only.[/ICODE] I could … | |
Hi guys. I am having a bit of trouble with the listview control at the moment. I am trying to change the position of an item in the listview but I have no idea how to do so. I am also trying to set a command button which can "click" … | |
Hello! I just want to ask how can I save the value of my first column of my listview to sql? I'm using OLEDB by the way. Thank you very much! God Bless. :D | |
Hi, i would like to create a listview in my application like it is in utorrent (and many other applications). With name, status... and they can be resizable. Any ideas how to google for tutorial? How to create it? I am using visual studio 2010 ultimate. | |
ahmm, please help me. I want to update the items in listview when my form loads up. this is my code for the listview. It actually displays the data on the database but when i add another data it wont appear on the listview. please help me guys. I'll appreciate … | |
What my question is, Is it plausible to have a listview item search a specific folder that has nothing but text files in it, pull the first 2 lines from the text file(s) and display them in columns 1 and 2 if so, how would one go about doing it, … | |
Good day 2 all .NET guru's, i am an IT student on my final year. Im developing a subject plotter program for enrollment(but not an enrollment system), i use a database to store retrieve/store and update data. What my problem is that i have 2 listview, one that holds the … | |
Hey guys! Can someone help me.? I have two tables named Questions and Examination, and two listviews named lstQuestion and lstChosenQuestion. I transfer the value of my lstQuestion to lstChosenQuestion through drag and drop and I already did that. My problem is saving the QuestionNumber equivalent of the transfered value … | |
I WANT TO UPDATE ALL ITEMS IN LISTVIEW USING PARAMETERS W/ DATABASE (ms acess) | |
Hi! Can someone tell me on how could I display the data from my SQL to a ListView? I only have one column to display. Thank you very much and God Bless! :) | |
![]() | Having an issue switching a listview from Tile to Details View with groups. When the list view has groups and the Default View is Tile, when changing the view to Details the first Group is not shown. Its under the column header. I jerry rigged it with creating a global … ![]() |
Hi! I have created a listview in which data is binded from a sharepoint list. There is an asp image button inside the listview on clicking which a an image should be displayed. The code is as follows: ASPX file: [CODE]<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ … | |
I'm working on a file organizer of sorts. The user can drag icons from the desktop into a list view, and drag items out of the list view to remove them. Dragging icons from the desktop to the list was straightforward, it's the other part that's giving me trouble. What … | |
Hello, I have a bunch of strings and a ready listview but my problem is to insert those strings into the list view in column 2, while running. I can't find any solution, I have only found tutorials on creating a list view and sub items via code, but i … | |
Is it possible to print a report in VB using only Data Environment. I mean setting the textboxes only to datasource and datafields in the record I really dont want to use codes (RS, things like that) cause you see, I'm kind of a rushing so i don't have much … | |
hi guys, i am using vb.net 2005 and i want to know the event name for a listview that happens every time an item is added. thank you. | |
Having looked at several tutorials I can't help but think data binding seems unnecessarily complicated... Let's say I want a label to show whether a user is logged in or not. The obvious way to me is in the login code put something like: lb_LoggedIn.Content = User + " Logged … |
The End.