1,201 Topics
![]() | |
good day everyone, im currently using vs.net 2003 my problem is that i want to sort items in listview by date (mm dd, yyyy) format and sort by a button not in the column :?: please help me.. thanks in advance! | |
I am trying to update employee information in my web form but when I press Update Link, nothing happends.. [CODE]<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="ViewEmployees.aspx.vb" Inherits="ViewEmployees" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <p class="style1" style="text-align: left"> <table class="style1"> <tr> <td> Enter Employee Name <asp:TextBox ID="txtName" … | |
Hello everyone! Please Give me some guidance if u have any idea. im doing a database using vb6 and access. im viewing my database data from access to vb using listview. each data in database have its own picture or image to display. in the form where i put the … | |
Hi, i am using VB6 and in my project using List View Control. The checkboxes property is setted true. Now i want to implement a functionality so that to remove only those entries/items cheked by user from the list. Can anybody tell me how to implement this. ANY CODE | |
I am developing an application that accesses a SQL database, then displays the customer, order, and store information on various tabs. I wrote am implementing a function that opens a new form displaying the individual invoice. This new form "imports", so to speak the data from the current form by … | |
Hello, Firstly, i am not at my computer atm so i will not be able to show you my code (i will post it later). I am creating a program for my dad which is sort of like a stock control program. I have a form with two comboboxes and … | |
Hello guys help pls i'm trying to populate data from MS Database to list-view [code] string Collect_FULL = "SELECT FirstName, MiddleName, LastName, " + " Gender, DoB, Dependents, Address + ', ' + City + ', ' + State + ', ' + ZipCode AS Address, PhoneNumber, MobileNumber " Status … | |
Modal not showing up when show is called, also error on loading page. Attaching code below, can anyone help me discover my syntax / logic issues here? NOTE: Did some research on this before posting, some claimed it can be an issue of where the modal is placed on the … | |
The code bellow allow to select only item in a listView. That means there is only one tick in the listView - always. But I would like to change the code bellow that will allow to unselect too, that there will be no tick at all. So, no tick in … | |
Hi I am trying to add an image to a listview box. I have the below code and according to me this should work. However, the image does not show at all. I can add an image when I manually add each item but not when I add the items … | |
I have the following code: tb_Job_No.Text is a combobox This is the code [code] Public Sub RepCD_process() ssql_Job = "SELECT * FROM Rep_Dist" ssql_Job = ssql_Job + " WHERE (Job_Number = '" & tb_Job_No.Text & "') " Dim Main_Form As New Main_Form With Main_Form .DC_Reps.Open() .DS_RepDist1.Clear() .DA_RepDist.SelectCommand.CommandText = ssql_Job .DA_RepDist.Fill(.DS_RepDist1) … | |
Hey all, I am currently making a phonebook as a final project for my introductory c# class and I was wondering how can I save my form's contents to a database? and how do I export it to an excel file? I have a listview of items that indicate name, … | |
How do you change the size of a listview when the number of rows grow when a different where select is commanded on textchange. I have a textchange on coustomer name which fills the listview with just the names that start with the letters as they are typed in, this … | |
Hi guys, I am new to this forum.I need your help for my outlook sorting problem.I have a listview where i display the mails in my inbox.I need to sort them based on "ReceivedTime" in the descending order. this is my code for sorting m_Outlook.Inbox.Items.Sort("[ReceivedTime]", true); where m_Outlook is my … | |
I want to use a listview as a data source of my Microsoft Report file which is having a rdlc extension ? | |
How to read from a text file using a treeview and display in a listview? | |
The control is a Button. This is a Help button. After clicking the button the user can then move the mouse to the ListView and click on an Item and get detailed information. So, here is my problem, the Mouse is captured and the aforementioned code works, though I think … | |
Hello all! I am in the process of creating a restaurant application that lets the user select an item from a menu list (a listbox) and on a press of a button the selected item from the listbox transfers to to my current orders list (multicolumn listview, 3 columns; foodname, … | |
Hey all, I am currently creating a program that is like an automated food ordering menu. Imagine a form that has two listboxes (or listviews), the first listbox contains the items that can be ordered, I stored these items into an array and displayed them using a for loop construct … | |
Hi!!! I have made a database application and I am unable to delete the record in it.There is one comboobx, a textbox and a listview.For each item selected in combobox I am adding corresponding item entered in textbox . And each combobox and textbox item are displaying in listview.In database … | |
Hi , My program at the moment has 3 textboxes , 1 button and 1 listview. I've added 3 columns named "Name" "Address" and "Number" to the Listview. What I have done so far is I can enter text into the 3 textboxes , I click the button and the … | |
Hi, I am working with ListView. How can a ListView have multiple columns and also have CheckBox at the same time? (preferably in its View property set as "Report") | |
I have: Table1: Service: - IDService - ServiceName Table2: Order: - IDOrder - IDServiceFK (foreigh key) I have database table called "Service", in which I store service names. Then I have another table called "Order", in which is the foreigh key of Service. Services are shown in the listView control. … | |
Is it possible to have a combo box with a listview view drop down list? Help pls.. I have an attachment and i want to know how it is possible. | |
How can I use a DataTable to save data into it? I have a listView with ticks, and when a tick is checked, I would like to put the data of the row into DataTable. In the row I have a "ProductName" and it`s "Price". I am doing this becuase … | |
Hi, I really need line with this I can't figure this out . I am looping through items in a list view box, I am then adding them to a string. I need each new line in the listview box to be a new line in the string. I will … | |
Hello, I have a project where I am using a listview to display a data received through XML. One of the columns called "STATUS" display only 2 text data, either "ON" or "OFF". I would like to know how to count how many times the word "ON" it is apearing … | |
Hi friends! I have a listview that shows the user the details of the members who have sent friendship request. The table from which the data come has two fields namely, sender_id[id of the one who sends friendship request] and receiver_id[id of the one to whom the request is sent]. … | |
Zdravím, mám jeden dotaz, jelikož na komponentu LV nejde použít wizard jako na DGW, chtěl bych se zeptat, jak postupovat při vypisování jednotlivých řádku z DataTable, viz kód: Hello, i have got one questions, because with ListView component i cannot use the Wizard, i would like to ask, how to … | |
Hey guys... i am trying to view contents of a text file to a textbox via aid of a button (ViewBtn). i have a treeview(TreeView1) which shows the root folder and displays content in the listview. my query is how do i select a file from listview (ListView1) and display … | |
Dear All, I am using Listview contro in asp.net and is populated from access database and has four fields, Title Firstname Lastname Email I just want to get email from listview into a textbox, any simple way to do that? I am using c# s a programming language. Thanks in … | |
Hey all, I am a bit lost. I need something tje user can type in data to such a parts QTY cost etc. There are no predefined parts list so the user can enter any part name/Number and there is no limit to amount of parts that can be entered. … | |
hi!!! am palcy , am having problem in my listview with my save button whenever i try to edit something then press the command button for saving the update that ive' done it give's me the error "querry is too complex" then pointing my "rs.Update" code any solutions or proper … | |
Can someone please help me with this - it's driving me mad. I have a very simple app (at the moment) that stores file names/paths and folder names/paths in an SQL database and displays them in a ListView and TreeView respectively. All fine and dandy. I have an option to … | |
Please help me in VB6 ADO ListView Database Connection | |
I have a listView, in 1st column is are article names, in 2nd column are prices of these articles (data type of float). And I have checkBoxes. What I would like to do, is to count the prices in 2nd column of all selected rows. And then the counted value … | |
hi guys, I am getting this weird problem when I sort items in a listview control. Initially when my list has few items, it sorts fine. When the size of the list increases beyond a certain number of items, around 1000, then the LPARAM pointers passed to the sort function … | |
Hi, Trying to retreive the background color of a row in a listview but not having much luck. I have tried [code]if lsv.Items(i).BackColor = Color.White then if lsv.Items(i).BackColor.ToString = "Color[window]" then if lsv.Items(i).BackColor.ToString = Name=White,ARGB=(255,255,255,255)} then[/code] I do this because on load I set the background color depending on a … | |
I get into DataSet CostumerNames and Hours (type DateTime) of their registrations. I would like to sort customers my time of registration (time of a day). I show both in listView. This is my code: [CODE] string DanesRezervacije = "SELECT Stranka.ImePriimek, Naročilo.RegisterTime FROM Stranka, Naročilo " + " WHERE Stranka.IDStranke … | |
How can I simply do a list of hours - a date schedule (from 0 to 24) in a listView, that 1st column would show hours seperated by 30 min, 2nd column then will be filled with the name who will reserved that hour. Something like that: [URL="http://img189.imageshack.us/img189/5023/clistview02.jpg"]PICTURE[/URL]. | |
How to get row and column index when I double click (or some other event) of a cell on a ListView? | |
I would like to know if is possible to click on every single cell in a listView seperately, like in a datagridview? If I set a full row selection to false I am only able to select the cell in the 1st column. The point or this thread is, that … | |
This is how I have a listView:[URL="http://img200.imageshack.us/img200/2497/clistview03.jpg"] PICTURE[/URL] For example, I have clicked on the 6th row (which is colored blue) and with a double click I want to insert "SomeName" into a 2nd column (called 1.rezervacija) beside the 9:30. How to do it so? I need something else, with … | |
Ok, sorry to be so needy this week! Here is the situation. I have discovered how to do a linq query to get my data from my xml but when I return it as a string to a list box it is coming in as one large line. No breaks. … | |
These codes work fine to display data from listview to textbox. TextBox1.Text = ListView1.Items.Item(ListView1.FocusedItem.Index).SubItems(0).Text Is there any alternative codes for this purpose? | |
im trying to determine if there is an item selected on the listview.. i have a listview that displays customers name with a .tag that holds there ID. how do you tell if the tag is 0 or empty before executing code? in vb6 i simply did [code] if .lstwhatever.selecteditem … | |
im trying to make the listview sort the listview items by column (whichever column was clicked, sort the list based on that column) in vb6 it was done by: [code] Private Sub ListView1_ColumnClick(ByVal ColumnHeader As MSComctlLib.ColumnHeader) Static olditem& With ListView1 .SortKey = ColumnHeader.SubItemIndex If olditem = .SortKey Then .SortOrder = … | |
Dear Experts I have following codes to to show data in listview. It displays first column empty. The value of first column is displayed in column2. How to show value of first database field in column1 Please help Dim StudentID As Integer Dim Name As String Dim Address As String … | |
I would like to ask someone, even someone has told me it is not possible. I have a child form2 which is always visible (there is a listView, which shows some data). Then I have a new child form 3 (which is currently opened) and the form3 now does come … | |
How to know the cell which has been clicked in a ListView ? (on CF compact framework) |
The End.