119 Solved Topics
Remove Filter
|
|
hi everybody , my Question is , how i can get the last row in my datagridview thanx in advance :) |
|
Hi, i want to total the values in column9 in Patientdatagridview to a textbox1. here is my code but it displayes each value, not the total. e.g. if values are 200, 200, 200 then it should display 600 but here it says 0200200200 Private Sub Button1_Click(ByVal sender As System.Object, ByVal … |
|
Hello all! I have an excel file that looks like this: Time of Day Lap Lap Tm Speed 14 - Stoicescu Dan - Regularitate Coupe 9:40:50.835 1 2:47.462 88.763 9:43:37.584 2 2:46.749 89.142 9:46:33.319 3 2:55.735 84.584 9:49:58.901 4 3:25.582 72.304 9:53:13.988 5 3:15.087 76.194 9:55:50.639 6 2:36.651 94.889 9:58:49.884 … |
|
I programmatically edit my datagridview cell values. I use the vertical scrollbar to find the row I want to edit, select the row then click an edit button that takes me to another form where changes to the record are made. I then click a button which saves the changes … |
|
Hello, Can someone assist me how to create here buttons - Button7 - First - Button5 - Next - Button6 - Previous - Button8 - Last To search in database and display the results. Here is my project until now: - Also if there are mistakes or suggestions to make … |
|
Help me , Search data with dataGuidViewer and print that searching result (vb.Net). I am try verious Code thous are found youtube, but it not work...... Please Help me VB.Net (2010, 2012,2013,) |
|
Hi. so this is actually a continuation from another question of mine[Here](https://www.daniweb.com/programming/software-development/threads/506795/dynamically-add-values-into-datagridview-cell-from-listbox-vb2010) but i was advised to start a new thread as the original question was already answered. This is the result of previous question answered : code for the listbox - datagridview interaction At the top of the code … |
|
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order. btn_addline : Private Sub btn_addline_Click(ByVal … |
|
Hello i had a datagridview with data in it and i wanted to display the selected row in textboxes here's the code i tried by i think its totaly wrong [code=vb.net] Private Sub DataGridView_CellClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellClick Dim i As Integer i = DataGridView.CurrentRow.Index … |
|
Im trying to bind my custom vertical scrollbar to datagridview is this possible.. Please help Thnak you.. |
|
Hi Im trying to Populate my datagridview from data scraped off of webpage i Want to be able to report progress when datagrid finished updating.. with a progressbar.. Please Help!!!!!! Thank You.. Heres My code Dim theElementCollection As Windows.Forms.HtmlElementCollection theElementCollection = Form1.WebBrowser2.Document.GetElementsByTagName("a") For Each curElement As HtmlElement In theElementCollection Form1.DataGridView1.Rows.Add(curElement.GetAttribute("title"), … |
|
I load some data into a datagridview, I use a loop to do that. When I need to load new data I get rid of old data like so... foreach (DataGridViewRow row in dataGridView1.Rows) { dataGridView1.Rows.Remove(row); ; } Now I try to add new rows, because new data might different … |
|
Please help me, I'm not really good in programming. I've done converting text file going to excel, and excel going to DataGridView. Here's my problem: I want to get the specific one or two numbers (maybe up to three). example: 98321 12345 67890 54321 09876 'this numbers in excel. (First … |
|
Hi to all experts, i have a big problem here, i want to print data from my datagridview, when i select 1 row.. there is no problem, but when i try to print multiple row, just first selected row appear here is the code : private void button4_Click(object sender, EventArgs … |
|
I really tried with the title! I could not find what I was looking for through google or here. Seemed like something that could be common enough that I'd find it online already but perhaps it's so simple that no one had a problem doing it so they did not … |
|
Hi My vs stopped working everytime i click datagridview Probelem Signature: Problem Event Name: CLR20r3 PS 01:devenv.exe PS 02:10.0.30319.1 PS 03:4ba1fab3 PS 04:System.Drawing PS 05:4.0.0.0 PS 06:4ba1e086 PS 07:49 PS 08:1f PS 09:System.InvalidOperationException Locale ID:1033 Additional information about the problem: LCID:1033 Please Help, Thanks |
|
I've searched all over the Net and here on DL but I can seem to find only information on passing a single argument when opening a new form. When I attempt to send more than one I get the "Too many arguments to 'Public Sub New()'" error. I am trying … |
|
Hi Guys, I have a Microsoft Access database in which my VB.Net 2008 application is posting the data. It is an inventory management application. I have managed to accomplish a lot of things with your help. And Now, I have reached a point where all my ideas have been exhausted, … |
|
I have DatagridView on form. My database has three fields. - userId (bigint) - userName (varchar) - userDob (date) Now, on Form I have comboBox, which lists Months (Jan, Feb, March and so on...). I want my program to work like this. If I select any month on ComboBox, birthdays … |
|
Hi everyone, I have been strugling wit the "INSERT INTO" statement. I intend to insert the items that are in a datagridview into An Access Database when a button is clicked. I am using VB.NET 2008 express and Microsoft acces 2007. At first, I tried to use the listview, but … |
|
I want to show only specify database table in datagridview.I had use dataGridView1.AutoGenerateColumns = false; but i don't know how to add the column.For example on of the column is "attn_id".How should i add it? here my code to connect database private void tmst_timein_new_Load(object sender, EventArgs e) { try { … |
|
Hi , how to add numbers in specific count of rows in Datagridview like in this[Click Here](http://i.imgur.com/IZJ39Wq.png) picture. I already run this code to sum all collumn in my Datagridview. But I need to sum the 1+2+4 in collumn TEST1 without erasing the other data. Private Sub Button1_Click(sender As Object, … |
|
Hello, first of all I am new to vb.net so sorry if my question is stupid... :( I have text files that are something like this: "#...... "#...... 1.2 2.5 3.4 5.6 4.8 8.9 . . . Now I would like to add to the first column of the datagridview … |
|
Hi guys, I want to create a window application from VB, so that a user can enter the **OLD Power** value in table. Then **line chart** will be created in that windows application. My **Old Power** data already obtained and recorded in Excel. So, in that window application, 1) The … |
|
Hi guys, I want to multiply or add the values of two or more cells in a datagridview control in a row and and should also be auto-saved in the database after entering datas in the cell. I am using SQL Server 2008 for my database. Please do take a … |
|
Hi, I have to forms, second for is shown from the first form trough showdialog command. Both forms have datagridview User will select data from DGV in second form then pass all this data to DGV in first form How can I achieve it, I know how to do it … |
|
I can post a single line of row I selected from datagridview but I want to select specific multiple rows then display it in my crystal report. BTW I'm using VB2010. Dim cmd As New OleDbCommand("Select * From Data1 Where ID = " & Form4.DataGridView1.SelectedRows(0).Cells(0).Value.ToString() & "", Form4.con) Dim adpt … |
|
hi, 1st of all thank you guys again for all of your help. ![a3ce81a2808d02214775965e56a6d32b](/attachments/large/4/a3ce81a2808d02214775965e56a6d32b.png "a3ce81a2808d02214775965e56a6d32b") i have this datagrid view and i want to write it on a richtextbox like: 14 APPLE0-13 @ 60.00 840.00 so on and so forth. how can i achieved getting all of them and can … |
|
Hi fellow members of Daniweb. I've been working on project for the past few days now, and have come across a bump, that i am unable to pass. The project, when finished, will do the following: 1. Select DBF file from computer location (Default C:) 2. Import the database file … |
|
Hi! I want to know, how to delete empty or blank row in DataGridView in Vb.net.......... "When i click Button the all empty or blank row in DataGridView will be remove......" LIKE this : " Before Button Clicked " ![cccfb5927324360a697c76844a521720](/attachments/large/3/cccfb5927324360a697c76844a521720.png "cccfb5927324360a697c76844a521720") " After Button Clicked " ![be990ddb7744e1b53a444eeda94e8064](/attachments/large/3/be990ddb7744e1b53a444eeda94e8064.png "be990ddb7744e1b53a444eeda94e8064") |
The End.