1,201 Topics
![]() | |
Hi, I have just started using VB.NET 2005 after a long break. My question is that I retrieved data from access table and showed them on to ListView. Now some of the data has been changed. How can I update the data into database again. I hope my question is … | |
Hey, I was working on a ListView that was supposed to look something like the OpenFileDialog except with some differences. Up until now I've used my own images to represent each type of extension that is added to my listview (well, only two images are used, Directory and File, to … | |
Hi, Did anyone implement or can direct me to an implementation of virtual mode (render only visible rows, but still have the scroll work right) or something similar in the AJAX Sys.Preview.UI.Data.ListView? I need to display a very large table (`1000 rows) and it simply isn't feasible to render everything. … | |
[COLOR="Green"]hi Im just newbie here. I want to ask help from you guys, about on how to use the listview functions in vb.net. I also just starting to study about the vb.net for my object-oriented programming. Please help me in writing the codes for a simple listview. thanks in advance..... … | |
Hi, I'm using AJAX in a rich-client environment (no UpdatePanel, everything is done by the client). I use the ListView. It appears that when I have many rows it is very slow especially in row additions/removals. Using the profiler I saw that even when adding a row the ItemTemplate is … | |
hello everyone.. i have a question.. i am using datagrid and binding the columns using datatable..i have grid with columns Area, name, date, country, comments. Now i have to filter the data using two list boxes with contains area and name distinct values. if user selects one location or more … | |
Hello plz any 1 tell me how to use ListView Control n how to set/work it to user side (as its respective file also needed there at same location) n how it can reflect after making program setup exe file n to insert it in my program ? | |
hi to all I have found some code using google for listview printing. I modified the code base on my needs. I have some problem if the list view more than one pages. It will not stop counting "Generating Previews" of my document. If I press the cancel it was … | |
I want to get a ListView to display some items with a different color. I have been setting the forecolor of the item in the lv_SelectedItemChanged event, by using item.ForeColor = Color.Red; This all works fine, except that when the item is selected, it defaults to using the system norm … | |
Hi, I am having throuble resetting my textboxes to nothing if the selection in the listview is nothing. I.e. when i select a record my textboxes are updated with teh selected data, but if nothing is selected after something is selected I would like to clear the textboxes to blank … | |
How to bind data in listview? I usually use [CODE]gridview.Datasource=ds.Tables[0];[/CODE] for my datagridview. How can I do this in listview? | |
Hey guys, i'm struggling slightly with my UI for a project. I have a listview bound to a observablecollection (userList) of users, users has 3 properties (windowsUser,PhoneUserId,PhonePin) i have an edit button, and update button and three text boxes (TBWindowsUser, TBPhoneUserID, TBPhonePin) when i click the edit button i want … | |
hey guys i have a web page involving a listview and every supitem has a button !! deal is tht wen i click on the button i need to get the INDEX of the listview subitem in which the button was clicked!!! please help me through this :) | |
Hi, I have a listbox that is connected to a text file and this file is created when the program opens for the first time and then users can add data to the file as they wish. However what I am having a problem with is that how can I … | |
can anyone help me about this error. "Invalid attempt to call metadata when reader is closed". Thnx in advance. [CODE] Public Sub DisplayCust(ByVal lv As ListView) If cnSQL.State = ConnectionState.Open Then cnSQL.Close() cnSQL.Open() cmd = cnSQL.CreateCommand cmd.CommandType = CommandType.StoredProcedure cmd.CommandText = "sp_DisplayCust" Dim param = New SqlClient.SqlParameter param.ParameterName = "@cust_no" … | |
Hi I've recently started learning Windows Forms and I've encountered a problem. I have a form (lets call it a mainForm) In this mainForm some data is loaded and displayed to user in ListView control. I want this data to be available in other forms. I wrote a static class … | |
I want to give different colors to alternate rows of listview Control in asp.net(c#). How can i do this? | |
Hi all fri, Pls help me ; how can i solve this problem " Cannot implicitly convert type 'System.Windows.Forms.ListViewItem' to 'int' " I tried in so many ways but still can't. i'm new in c# . i wanna get value from listview (it's view property is set in 'Detail')/multiselect is … | |
I have a master page named "masterpage1.master". And a content page named "listTopic.aspx". Now there is one listview control on my masterPage called "listview1" "listTopic.aspx" uses "masterpage1.master" as its master page. Now i want the CommandArgument of listview1 when any item in listview1 is clicked. I want this commandArgument in … | |
Hi all! I'm new to pixel/graphic management and fairly new to C# as well but i'm learning some AI at the same time, very basic of course. I did some kind of "Game of life", you know that it imitates cell birth and death and whatnot. I have it working … | |
I'm trying to retrieve data from an Exchange 2007 server (Calendars) through C# (an ASP.NET webpage), I followed this example: [url]http://blogs.msdn.com/b/webdav_101/archive/2009/01/10/sample-howto-display-a-list-of-calendar-items-in-listview-using-ews.aspx[/url] But I keep on getting the following exception: ErrorNonPrimarySmtpAddress MSDN could tell me the following: [I]This error occurs when a caller passes in a non-primary SMTP address. The response … | |
Hi, I am trying to populate a listview with the data that is entered on the Edit box, but I am getting errors: Form1.Listview.Insert(0); Form1.Listview.Items.Item[0].Caption := Name{Name in the Diaolog Box) Please help. | |
I have two functions: [code] int GetRowCount() { return lvComponent.Items.Count; } string GetCellText(int row, int col) { return lvComponent.Items[row].SubItems[col].Text; } [/code] lvComponent is a ListView control. I call both of them from another thread using Invoke. The first one works perfectly. The second one throws an exception saying that you … | |
Hey All! I'm working on a project at the moment, where there are a variety of sections. Each section has its own window and WPF controls. Each window has a tab control, with tabs to 'View', 'Add', 'Edit' and 'Delete' records. The 'View' tab has a ListView which is populated … | |
Hello, I am trying to develop a program that will open, print and then close the selected files from the listview. The printing needs to be done at the printer. There is a multibox which allows the user to select the printer . Currently, I can open the files and … | |
Hi folks , I have a created a listview its almost done, the only thing that is missing is search, can you teach me how search in listview god bless folks..... | |
Hello folks I have a created a listview who has a save, delete , edit , update My problem is I want to higlight the rows that ive been added to my listview for ex. i have fillup all my following textboxes then after that when i click save the … | |
Hello folks I have created a listview my problem is when i want to save some data into my listview i want the data to be highlighted in list view Can you help me folks? God bless folks ... | |
How to Find a Control in Listview on ItemDataBound Event? well i know it's easy to do it.. but how will you find my div which is kept runat= "server" in my Listview's ItemDataBound Event.. and i want witout using javascript? thanks in advance! | |
![]() | Data entered in textboxes is not getting updated in database. In debug mode I see that textbox1 and textbox2 in ItemUpdating event contain the same values as they had before calling ItemUpdating. Here's my listview control: [CODE]<asp:ListView ID="ListView1" runat="server" onitemediting="ListView1_ItemEditing" onitemupdating="ListView1_ItemUpdating" oniteminserting="ListView1_ItemInserting"> //LayoutTemplate removed <ItemTemplate> <asp:Label ID="Label2" runat="server" Text='<%#Eval("id")%>'></asp:Label> <asp:Label … |
Hi, I'm trying to populate a tooltip with a list of users connected to a database when hovering over an row in a ListView. I'm using sysprocesses to show a list of databases and the connections, how do I tie this together? [CODE]select loginame, hostname, blocked, db_name(dbid) from master..sysprocesses where … | |
Hey all, having a little trouble transferring my listview items into a database. I have transfered all of the listview items into a List<> for use during the population of the items in my database here is my dataaccessor class, it contains the reader writer and writer statements generator: [CODE] … | |
hi guys, i have a main form and what i want to do is to display the informations on another form (in listview) which has the input values on the main form. when i create a second form i cant access any of the controls on the main form. How … | |
hello folks , can you help me about list view i dont know whats the purpose of "selectedItem.text" in list view can you tell me what is the meaning of this code? thanks folks ,, god bless u:icon_smile::icon_smile: | |
Is there a event detect change of Listview item count? Like it will be trigger whenever i add an item or delete an item form listview. I search on MSDN Listview Event member, but cant c any usefull. Any help would be please:) Thanks | |
I have a listview with multiable items. All items have the following columns saleman, company, part, qty, price. Now I'ming pulling each items from a combobox and calculate price. I would like to get any/all items that have been adding more than once, which happens because some part have been … | |
Hi, I have the following code in my form. I would like to retrieve data from the MS Access database to ListView1. What will be the code? [CODE]Public Class frmContacts Dim inc As Integer Dim MaxRows As Integer Dim con As New OleDb.OleDbConnection Dim ds As New DataSet Dim da … | |
I create my listview in my design part, not programmatically. Then I want to reach this listview's content when I pressed some button. In my main form, I created a public listview to return listview2 as in my design. [CODE]public ListView lst { get { return listView2; } set { … | |
Hello friends, I've been working on a program that extracts the data from a database, then when I query the database the data is displayed on a listview, and then only the items that are selected are added into another listview(checkbox), now my problem is that i need to calculate … | |
I wanna get the data in the clicked row in column 4. I've tried with lv.selecteditems.tostring(); but that's wrong. Can someone please help me :rolleyes: . | |
Hi i have some problem with the listview control i dont know how to use it here is what i wanna do [code] sub mysub() handles myEvent for i=0 to 3 Dim lv As ListViewItem = ListView1.Items.Add(x(i)) lv.SubItems.Add(x(i)) lv.subitems.add(x(i)) ... next end sub [/code] so when the next event occurs … | |
Hi there, I have a listview control, on which I have two buttons 1) Wesite 2)Email Me. Note the listview only has the Item and Layout Templates as I will not be editing or inserting. I have assigned both the controls the CommandName="select" so that they both fire the SelectedIndexChanged … | |
Hi, As I am to VB.NET, I would like someone to help me on SearchButton code. I am using MS Access database. I would like to get the result of search commond into ListView. Any sample code for this purpose would be highly appreciated. Regards. | |
Hi, I have the following code which works pretty fine with Listview. But I would like to use it with computer keyboard up/down arrow keys. How to modify the following code? Please do help. [CODE]Private Sub LVW_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles LVW.Click txtTAID.Text = LVW.SelectedItems(0).Text txtVNO.Text … | |
Hello friends! I'm writing a program that is connected to a mdf database and i need to query the database, but I have tried several ways to do it but without success :( ! This is my code: [CODE] string Query = null; SqlConnection con = new SqlConnection(@"Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database1.mdf;Integrated Security=True;User … | |
Hi i have a listview control on form1. I want to send the selected value to form2. I tried couple of ways but nothing seems to work correctly. Please help. | |
Friends, Can we add a panel into a editorgridpanel in ExtJS? I have a Ext.list.listview which i want to add it into a GridPanel. I can add textfield, combobox, but listview not workrd out. Can anyone help on this. --thanks, ramjeev | |
Hello, I've been trying for a few days now to apply different icons from an ImageList to a ListView Control. Problem is, Only the first added Icon shows up in the ListView. [CODE] HWND hWndListView = CreateWindow(WC_LISTVIEW, "", WS_CHILD | LVS_REPORT | LVS_SINGLESEL | WS_BORDER | LVS_SHAREIMAGELISTS, 10, 10, 450, … | |
Dear Friends, I am new to vb.net. I would like to know how can I get the listview selected values in respective textboxes? Could somebody will help me with the code, please? Using Visual Studio 2008 MS Access Database 2007 txtSearch Thanks. | |
I have a listview control in my project, runs in Visual C++ 6.0, that I want to make a sort based on column click. It works good when I have <1000 entries but when it goes over 1000 entries the sorting performance goes down. It takes about 10-15 seconds to … |
The End.