1,201 Topics
![]() | |
OpenConn() Dim qqttyy As Integer = Val(ListView1.SelectedItems(0).SubItems(3).Text) Dim codee As String = ListView1.SelectedItems(0).SubItems(1).Text OleDa.UpdateCommand.CommandText = "UPDATE Inventry SET QTY = QTY -'" & qqttyy & "'WHERE CODE ='" & codee & "'" OleDa.UpdateCommand.ExecuteNonQuery() CloseConn() | |
Can someone help me... I am new to vb.net with sql connection and I can't fix this error : variable name '@date' has already been declared. Variable names must be unique-- I need this to be fixed "ASAP" Im running out of time here because of the error here is … | |
ok so im having trouble working out the best solution to this. i have a database with two tables as follows  I want to load a single date based on the ID but then load each content that has that dateIDFK - this is fine in sql however … | |
Hi i am having problems designing a solution for this problem : I have a form where you can choose the items you wish and type the quantity and then add them to a listview item. The itema are already saved in a database ( i am using sqlite ) … | |
hello, i'm doing a searching form, here is my code [CODE] Dim con As New OleDbConnection Dim cmd As New OleDbCommand Dim rd As OleDbDataReader con.ConnectionString = ("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Bengkel\Project\db.mdb") cmd.CommandText = "SELECT * from Book where authorName like '%" & textsearch.Text & "%'" cmd.Connection = con con.Open() rd = cmd.ExecuteReader … | |
Hi! I'm writing little software just to get some practice in c#. I have listview in form 1 where program displays first name and last name form access database. When admin selects name/surname in listvioew and press show usercard(form2) I have a label in form2 and I want it to … | |
I can't seem to wrap my head around this. I'll need a seasoned programmer to push in the right direction. I have a listView with 7 sub items. What I'm looking to do is populate a table in an .mdb file with the data. The listView box is almost the … | |
Hi, I am stuck on this two sqldatadapater and sqldatareader,we can display records in listview by using this sqldatadapter and sqldatareader.my question which is more effecient and secured to use?does this two matters in populating data in database? | |
Hi, can you help me please how can i populate data from my listview using sqldatareader. by the way can you please explain me why is it that listview in first column we call item but the other column we call it subitems.can you please enligthen my mind on this.I … | |
Hi, is it possible to code column header in listview during run time? can you please give me some idea on this.Thank you in advance. | |
Hey Folks! I'm using a windows hook to scroll horizontally through a listview. I have it aligned so it only adds items horizontally. I have 2 big buttons I'm using to scroll right and left with nice bitmaps on them... The problem is the listbox has scrollbars appear when I … | |
Hey folks I'm using a listview to show an array of images that get taken from a webcam. I want them ordered on the bottom of the screen and be selectable for saving, so I'm using a listbox. Everything works okay, but when I add items to the listbox and … | |
Hi, I am creating an app using PhoneGap and I'm having trouble getting the selected id of a listview item when it is long pressed. I have tried using the JQUeryMobile TapHold event which works but only gets the ID of the listview, not the individual items. $('#listview').bind('taphold', '> li', … | |
i want to filter items from list view , i want to remove every kind of items from it but these 202.38.95.66:1080 67.191.234.52:1158 125.88.125.201:1080 65.30.204.106:1188 83.183.96.123:45712 72.74.41.97:46331 69.42.126.106:46486 69.42.126.106:46486 60.241.65.32:47501 60.241.65.32:47501 173.16.5.49:47708 173.16.5.49:47708 93.176.11.69:48293 93.176.11.69:48293 71.114.46.27:48505 i just want to show these items in list | |
![]() | Hi, guys, i made listactivity and i want to enter to other activities by clicking to list items. But there is a problem. This is my code: public class Main extends ListActivity { String[] values = { "Samsung", "Sony Ericsson", "Iphone" }; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); //setContentView(R.layout.activity_main); … |
I am using dynamic ItemTemplate for ListView which populated from database.Here is how I do when I need to display string column "Parametr" (or some other datatypes): //my .ascx file <li><%# Eval("Parametr") %> </li> How can I display varbinary column that stores images?Thanks. Here is some more code if somebody … | |
I have a two forms that I created using the design view of Visual C# Express (Form1 & infoEntry). I set the properties to of the listview in Form1. public System.Windows.Forms.ListView toSend; I've invoked the second form and sent some data using code below. Works great. infoEntry dataWindow = new … | |
note i am working on eclipse, java, xml and anroid. i have a activity_right_sub_menu.xml file <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android" > <item android:id="@+id/I_ABOUT" android:title="About Us" android:numericShortcut="1" android:alphabticShortcut="a" android:orderInCategory="100" android:showAsAction="never"/> <item android:id="@+id/I_PREFERENCE" android:title="Preferences" android:numericShortcut="2" android:alphabticShortcut="b" android:orderInCategory="100" android:showAsAction="never" /> </menu> than i have a Menu.java file public class Menu extends ListActivity { … | |
I need to export DataTable to Excel file. Is tehre anyone help me? I dont want to listview to excel... Regards. | |
Hello friends; I am writing in a listview data from an array. It is listed by the checkbox for each data alone. I would like to add by selecting a different TextBox. It's ip address in the TextBox. in the textbox: 111.99.1.100 in the listview : /xxx.asp?name=EMMA&Surname=ALIYEVA&SNumber=00121214512&RDate=2012.07.04 /xxx.asp?name=ANNA&Surname=MARIA&SNumber=00121334512&RDate=2012.07.03 etc. i … | |
In vb6 I installed in my computer it has microsoft windows common controls 5.0(sp2).I want to know how to have full row select option in listview component.how can i select full row at listview.in listview properties there is no fullrowselection check box.it has only 5 chechboxes. | |
my images are stored on server in folder "Albums".To access images the path is "/Albums/". I have tried this code but its not working.boxes for images appear on page load but after that immediately disappear. <asp:ListView runat="server" ID="listView"> <ItemTemplate> <asp:Image ID="img" ImageUrl= '<%# "/" + Eval("PictureLink")%>' width ="44" height ="45" … | |
Try If myCn.State <> ConnectionState.Open Then myCn.Open() End If If TextBox1.Text = "" Or TextBox2.Text = "" Or TextBox3.Text = "" Or TextBox4.Text = "" Or TextBox5.Text = "" Or TextBox6.Text = "" Then MsgBox("All Fields Are Required") Else strsql = "Update Prod set prod_name ='" + TextBox1.Text + "', … | |
can anyone help me in adding items to a listview? here is what i want to do: when i click the login button the date and time will be added in the column date and time in, here is my code and it works[Click Here](null): Private Sub LoginButton_Click(ByVal sender As … | |
How to pass value to reportviewer table Good day! I want to know how to pass a value to reportviewer table. I want to pass the values of a listview to reportviewer table. How can I do this? Both reportviewer and listview are in the same form. any help is … | |
1.i hve create listview on form1..all data in listview from Sql2000 database..im using sql connection.. 2.in listview i hve not create a checkbox.. 3. i print all data in listview using ms report but only selected item in listview will display in report..i mean, display item that i hve select … | |
i want to add items from webbrowser to listview i had use these codes to add in text1.text text1.text = WebBrowser1.Document.Body.InnerText now i want to use listview i try this LV.ListItems = WebBrowser1.Document.Body.InnerText but its wrong need lil Help with this code | |
i have a combobox that contains the items 0001,0002,0003, etc. i have a listview with 3 columns namely ID, Name , Age. I want to do is when i select the ID "0001" in the combobox, it will display the name and the age in the textbox1 and textbox2 that … | |
i have 1 text box and combobox. all i want is to enter all data that is type or selected in combobox is showed in list view. can you help me to do that.? and all entered data in listview could be save in database. ^^ | |
Hello again! So, what I have so far is a partial app that accepts a username/password, does two-way server work to determine legitimacy, then if successful, slurps in an XML file that has all the data the app itself will need. One of the most important XML variables determines which … | |
Hello, Can someone help me please. Ive got a listview with the columns etc, when i save a form and it shows up in the listview with some items in the columns, how can i get a textbox to add a number each time a row is entered. example: I … | |
I am responsible for developing and maintaining a widescale CRM platform written with Visual FoxPro 9.0 (sp2 SEDNA). Alongside a SQL 2008 back end, I make extensive use of the Microsoft Common Control libraries for the purposes of providing TreeViews, ListViews and the like (the kindof theing that VFP does … | |
how can i change the value of data in crystal report base on the selected item in listview? i am using mysql and visual studio 2012 | |
Hello! I am makeing inventry program for my SHOP, When Button1 clicked, listview all items will UPDATE, listview coloum 3(QUANTITY) will SUBTRACT from ms access quantity. Please help me. Private Sub Button9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button9.Click Try Call OpenConnection() OleDa.UpdateCommand.Parameters.Add("UPDATE [Inventry] SET [QTY] = [QTY] … | |
HELLO. IF I CLICKED BUTTON "SAVE" MS ACCESS ITEM WILL BE UPDATE FROM LISTVIEW. | |
Hello! I am makeing inventry program for my SHOP, When Button1 clicked, listview all items will UPDATE, listview coloum 3(QUANTITY) will SUBTRACT from ms access quantity. Please help me........ Private Sub ButtonAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button9.Click Try Call OpenConnection() Dim v1 As Integer Dim v2 … | |
Hi, I want to show one table of my access database in a ListView. I tried with [this](http://www.daniweb.com/software-development/vbnet/threads/332383/displaying-columns-from-ms-access-table-to-a-listview-in-vb.net#post1420774) but DataSource isn't a property of ListView. My table have two colums: "food" and "kilograms". Food column is the primary and unique. I use VS2010 and .NET Framework 4.0 | |
i have a listview with subitems namely Name,Age,gender,position, type. The positions are Driver Conductor and Inspector. I want to do is when i Select the name in the listview If his position is driver AND his attendance is IN, the name will be add in the combobox.add.item . if the … | |
Hey i would like to know how i can use a combobox to show alternatives which i will choose from but with more information when i choose like if a combobox has theese options Klas Maria Mat i choose Mat and the selected index is Mat now i want it … | |
i have a listview with subitems namely NAME Age and Position. The positions are Driver, Conductor and Inspector. I have 3 textbox namely CountD, CountC, CountI. What i want is if i Click the Name in the listview where the position is driver, the CountD.text will display 1 and if … | |
I have a 1 datagridview in form1 with columns namely ID,Name_, Address, Birthday, Age, Gender,Status, Position, Driver License , Attendance, and password. The position is a combobox where the items are Driver, Conductor and Inspector. In form2 i have 3 listview namely Ldrive, Lcon, Lins. The problem is this , … | |
i have a 1 datagridview in form1 and 1 listview in form2. the records in the datagridview are from my ms access also in my listview the records (items/subitems) are also in from the ms access. i do some deletion of records in the datagridview using vb.net. My problem is … | |
I have a listview in form1 containing the subitems, Plate number, Engine_Number, Chasis_Number, LTFRB Case_Number and Color. I transfer the Plate number in the listbox in form2. Also i transfer the Item in the listbox to textbox1. My problems is this, How i display the other subitems (Engine_Number, Chasis_Number, LTFRB … | |
I need to retrieve the Date only from Microsoft SQL Server and insert into Listview the code that i used was this SqlCommand cmd4 = new SqlCommand(); SqlConnection cn = new SqlConnection(); cn.ConnectionString = ("Data Source = LOPEZ-PC\\SQLEXPRESS;Initial Catalog=softwareengineering; Integrated security= TRUE"); cmd4.CommandText = "SELECT * FROM [rawinventory] "; cn.Open(); … | |
PLEASE HELP ME HOW TO PRINT LISTVIEW??? | |
for example i have 4 columns in the listview namely name,age,year and grade. the problem is this, how can i display an error message when i click the row when the grade = "fail" . help me please thank you :) | |
I have a 4 columns in the listview the name , age, position, and Attendance. The attendance in a specific row in the listview is "OUT". how i display a message that this row can't be selected because the Attendance in the row is "OUT" thank you . Sorry for … | |
Please help, I have a small application which has a MS Access as backend, and the front end is developed using VB.Net 2008. When I click on the listview item and then click delete button to delete a particula list and its content on the database, it is giving me … | |
hi to all I have list of names in list view with corresponding unique employee id. The user could select more rows. In each employee id I will find it in database in retrieve all the details information and print it using crystal report. What I want is in each … | |
-->>Hope all is well... -->>I'm trying to print all records in my list view on my form I went through the tread http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/431714/print-from-mshflexgrid-in-vb-6.0 and tried a couple of eamples it was cool and nice but what comes difficult to me is that my form has List View and not the … |
The End.