1,201 Topics
![]() | |
[Click Here](http://www.imageupload.co.uk/images/2015/03/15/rtb.png) what i want is that when i write any thing on the richtextbox it appear on cell Text. I have found some codes on the internet but i don't know whats wrong: for (int i = 0; i < richTextBox1.Lines.Length; i++) { ListViewItem lvi = new ListViewItem(i.ToString()); lvi.SubItems.Add(richTextBox1.Lines[i]); … | |
Hi People, I was trying to get data from xml file to my textBoxes in another form. But i get stuck.. all morning trying, searching on google, forums.. Im trying to on double click in listview item , call my AddPerson(Form) to edit that selected person.. but all ways i … | |
Hi people, i need to delete selected row in ListView from xml file.. i have this code: private void tsBtnDeleteRow_Click(object sender, EventArgs e) { if (listView1.SelectedItems.Count == 0) return; XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load("diogomonteiro.xml"); //XmlNodeList newXMLNodes = xmlDoc.SelectNodes("/Pessoas/Pessoa[name=wd]"); PessoaListViewItem item = (PessoaListViewItem)listView1.SelectedItems[0]; string value = item.ToString(); if (item != … | |
HI all i am working on a project where i am adding login and password. Also i add button if someone forget his\her password so they can able to retrive it. for this i put 2 textboxes one is email and other is username which will retrive data from listview. … | |
Form1.cs public partial class Form1 : Form { DataSet ds = new DataSet(); DataTable table = new DataTable(); //List<Pessoa> p = new List<Pessoa>(); public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { //Add Columns to DataTable (table) table.Columns.Add("Nome", typeof(string)); table.Columns.Add("Idade", typeof(string)); table.Columns.Add("Profissão", typeof(string)); table.Columns.Add("Signo", typeof(string)); table.Columns.Add("Morada", typeof(string)); … | |
in my database: [tbl, nod, qty, DorT, tme, price] I wanted to call 3fields in the database, The nod[name of dish], tbl[table], DorT[dinein/takeout] nod[in listview, subitems(1)], tbl[cbtable in the form], and DorT[combobox1 in the form] In listview[LVORDER]-(qty, nod, price, total) In my case, adding order is already OK. But i've … | |
Hi again, I'm having a trouble in updating an item from listview to database I try this code , but it says syntax error in Update nod=name of dish , qty = quantity TBLORDERS - nod[text], qty[text], price[text] lvorder - qty , [subitems] - name of dish, price Dim sql … | |
Frnd i m trying to view path with file name in listview so plz help me plz give me code for vb 2010 | |
how to print my listview details .. i found open source with class but this is only printing my 1st column also it is printing 1st column details in all column. please tell me how i can edit it . and put my all subitems of list the class is … | |
Dear all i need help with listview . i have 5 columns and i have 4 menustrips. i want something like below If ListView1.SelectedItems(0).SubItems(0).Text = "Advance" Then t2.Enabled = False t3.Enabled = False t4.Enabled = False ElseIf ListView1.SelectedItems(0).SubItems(0).Text = "Access" Then t1.Enabled = False t3.Enabled = False t4.Enabled = False … | |
how to export data in listview to excel without using spire.dataexport | |
I will not that the code below shall count up or down '********************************* Sumtax For lngIndex2 = 1 To ListView1.ListItems.Count lngTot2 = lngTot2 + ListView1.ListItems(lngIndex2).SubItems(5) Next Text10.Text = Format(lngTot2, "###0.00") if I have say 83.67 in a listview then in the text10.text shall be the same amount no differens text10.text … | |
help please, i really need to solve this one. when the quantity of the product is increasing/decreasing, i want the Total Price to update/increase/decrease also, but its only remain working. the button is declare, so when i click the button , all of the info of that will be transfer/view … | |
ms access [tblorder - code[text], items[text], total[text]] code = lblcode [label] items= x.SubItems(1) [in listview] total = lbltotal [label] as of now i can only save 1 item in the field 'items' , but i want to save 2 or more items,how can i do that? For Each x As … | |
QTY-QUANTITY The Price is not increasing. I want to multiply the QTY to PRICE , when QTY is Increasing The PRICE need to increase to depends on the QTY. Private Sub clickMe(sendr As Object, ByVal e As EventArgs) Dim btn As Button = CType(sendr, Button) Dim ProdMatch As Boolean = … | |
here is my code: With RECEIPT For i = 0 To MENUORDER.lvorder.Items.Count - 1 .LstOrder.Items.Add(MENUORDER.lvorder.Items(i)) 'dont know what to do next Next i .ReceiptNo.Text = Me.lblos.Text .lblTotal.Text = Me.lbltotal.Text .lblCash.Text = Me.TextBox1.Text .lblChange.Text = Me.lblchange.Text .ShowDialog() End With [forms : RECEIPT, MENUORDER] i dont know how to display listview subitems … | |
hi, I want to Count how many times i click a button and display the number in listview. but i dont know the syntax for counting a button, can someone help me with this problem? | |
it can only save 1 record, but i want to save 2 or more from listview to database database table: table1 , fields [receiptnum,nod,qty,price,total [all in text]] For Each x As ListViewItem In lvorder.Items sql = "insert into table1 (receiptnum,nod,qty,price,total) values ('" _ & lblos.Text & "','" _ & x.SubItems(0).Text … | |
I am new to android programming. I tried to execute a app from one of the tutorials and it is showing runtime error. If it runs highscores menu. Application closed. Below are the error messages from logcat and the activity file. Appreciate your help. Thanks in advance. ERROR 12-15 03:49:51.124: … | |
hi all again i want to save my 3 columns of listview with data in vb.net built in settings saver how i can do that and how i can load it back when form load. i write something like this My.Settings.advance_settings.Add(TextBox2.Text) My.Settings.advance_settings1.Add(TextBox1.Text) My.Settings.advance_settings2.Add(Date.Today) my.settings.save() it will save the data but … | |
I tried to save rows in listview control in database but i am not able to loop through each row. My listview is multicolumn, it have 4 column. I tried for loop: for (int i = 0; i < listview.Items.Count; i++) { String abc = listview.Items[i].Subitem[i].Text; //other varables } But … | |
Good day! I have a listview loaded in a form in a **lvwIcon** view with checkboxes enabled.. I have checked some items from it, let say 5 items. Now when I switch the view to **lvwReport**, the checked items are gone. How to make it selected again? Thank you for … | |
Hi, how to transfer datagridview record to listview? anyone have an idea? | |
Hey guys, I have one site with API but it doesnt have any application for using api just codes how to use it, so i wanted to ask you for help. Is it possible to somehow get response from web and list it in listview? Response is looking like this: … | |
Hello i am trying to echo a listview using php, i have made an ajax request to display the list view in my html page using div. but the list view never comes out properly, which leaves me with only one thing, that the css and javascript for this listview … | |
I have written a program which allows the user to see specific SVN revision of a directory. It consists of an advanced TreeView and a ListView. The Treview is populated by the directory the user has specified and the ListView is populated when the user enters a revision number in … | |
I have learnt basic android in the last month. I have learnt about fragments, listview, adapters, acitivties, intents, content providers, databases, animations. I want some basic apps' ideas in which I can implement these things and can improve my learning? I am not too good in Java also. I know … | |
hi all ... i am designing a software where i am using login and password. the user and password is store in notepad which is connected with listview . now i dont know i mean i need something when user enter user and password it should search and if details … | |
Am looking for a way to add a custom item image in icon view on a listview the icons I want to use is a single image bmp file with 4 icons on the image so I need a way to select each image on the file and a nice … | |
i have a listview connecting to xampp,then i want the data of all listview can be add to my report using report viewer?how can i do that. pls help.. <snip> | |
Hello everyone, I need small help.. So I got working text file loading to listview, but if file is to big it get whole app stuck untill it load it out... So my question is, is it possible loading with background worker and progress bar? Here is my current source: … | |
I have a multicolumn listview. There are three button Add, delete and Updata. List is working fine, it add, delete and update list data. But i want to save every row inside listview when i click save button. Bellow is my XAML. <TextBox Canvas.Left="12" Canvas.Top="12" Height="23" Name="textBox1" Width="120" TextChanged="textBox1_TextChanged" KeyDown="textBox1_KeyDown" … | |
Hi guys, I am pretty new here and with android development. I have created my first app and am looking to expand on it and add some more style to it. What I am trying to do is add a navigation drawer to the app. So instead of the buttons … | |
i have a problem in my code i can't get the best answer on how to double click the data in the listview and store the value in the textbox in the other form pls help me. I am very please for your response this is for my project.. thank … | |
I am trying the below code by not able to execute it properly, because as soon as first if is cleared then the other if statement take the previous i value. that is when i = 2 is accepted then i remain 2 all time. below is the code i … | |
Please can any Help me in Adding Records From Listview to MSHFlexGrid which are been selected by Checkbox from Listview | |
How can I populate a listview from another form passing the SQL statement from this form to the other form with the listview showing the result of the query? | |
Please assist, I am trying to get get one page out of three to load a google map once its loaded. the code i have is below. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="refresh" content="600"/> <title>Pollutions App</title> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <style type="text/css"> html { height: 100% } … | |
Create a Visual Basic application that meets the following requirements: No buttons can be used. All actions must be handled by menu commands. (Note: This is intended only to provide experience with the use of menus. Do NOT do this in the real world.) You will create separate functions to … | |
Hi all, I have an ArrayList that contains 70 items. I would like to display these items in Listview. Therefore, I used the following code. However, When I press the button, program will only display the first seven items in the arrayList. The rest of items are not being displayed. … | |
Hello After two days of struggling I have come for some help. I have a listview of contact names that I want to search with text added into a textbox. It can either filter these as the text is entered or by a button search ... I haven't got anywhere … | |
hi sir, when i adding items into the listview ,i have added serialno and 5 other columns ,so whenever i adding new item the serialno will increase one but my problem is when i removing a row from listview how to rearrange the serial numbers pls help me | |
i am using this code in updating multiple data in listview but it doesn't work, what code should i replace to run this command save dbConn sample RS.Open "Select * from table where field = '" & listview.listitem & "'", , conn, adOpenKeyset, adLockOptimistic If RS.RecordCount = "0" Then | |
"Visual Basic 2010" I do have a similar problem, I want to display on a listview a "top 10" highest to lowest data using MySQL as database, my problem is, I dont know the codes for displaying data sorted from highest to lowest. Anyone? Please help me. I am not … | |
Hi, <I want to add items in listview vetically. i mean i want to add 32 datawords and it should be editable and before each dataword there shouold be a serial number and it should be non editable..i have attached the screeshot please have a look at it.i just want … | |
How to update multiple data in listview | |
There are two classes: - ListViewActivity extends Activity, - MyAdapter extends BaseAdapter. MyAdapter overrides the getView method and creates an item in ListView, which drawn in ListViewActivity. I want to call setOnClickListener in MyAdapter.getView, but the listener must be placed in another class - not in MyAdapter. Standard approach is: … | |
Hello, I'm using a modified version of a multiple client TCP server ([View here](http://www.drawbycode.com/blog/?p=218), and trying to have the server add an item to the listbox when a client connects. I have tested, and the client and server can communicate perfectly. I recieve the data from the client, I can … | |
imade this query and named it as vwOwnerAnimal. my problem is that i don't know how to display it using listview. can anyone pls help me. SELECT tbowner.owner_code, tbowner.owner_name, tbowner.owner_add, tbowner.owner_cn, tbowneranimal.a_name, tbowneranimal.a_breed, tbowneranimal.a_age, tbowneranimal.a_sex FROM tbowner INNER JOIN tbowneranimal ON tbowner.owner_code = tbowneranimal.owner_code; | |
could anyone tell me how to dynamically select an item in a listview?? i tried `listview.setSelection(1);` and `listview.performItemClick(listview,3,listview.getItemIdAtPosition(3));` both of them don't work..please help me. ![]() |
The End.