As my datagridview fills and the autoscrolling control appears I want to have the last row of the datagridview to be displayed by default. Currently I have to manually scroll to the last row, but want this handled automatically.
Hi
Does anyone know how to programme up a ?Delete Image Button? using an Icon for a DataGridView in Visual Studio .Net
I am struggling find trying to get my last column in my DataGridview to have a delete icon instead of the a "Delete Button" and I want to display a little dustbin icon.
I...
I have had a look in a number of areas but can not seem to work out the code to delete child rows when deleting the parent. See
Private Sub DataGridView1_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles...
I am trying to insert all the rows of a datagridview into a database table. Below is my code and error message snapshot. Could plz tell me where m going wrong.
Private Sub addnewclasses()
Dim openAs String = db.OpenDB
Ifopen<>"OK"Then
MessageBox.Show("Error openining the...
Hi,
I have a vb form with 4 datagridviews within a tab control with 4 tabs, my questions is when should I populate the dgv's ?
Should I place the code in the main form load event or when the user clicks on the specific tab?
I am using vb.net 2010 and sql server 2008
Regards
OK, I have 2 bounded datagridviews in my form naming beneficiarydatagridview and beneficiarydatagridview1 which is bound to the same bindingsource... now heres the thing in my beneficiarydatagridview i have a search engine using textbox and a button, using the .FILTER feature of...
Hi,
I have a simple Windows app using a single form to manage a table in an Access database.
I have a datagridview on the form that is linked to a bindingsource
and the bindingsource is tied to a tableadapter's getData method.
The logic is setup to save the data after each row that has...
Hi I am using vb.net to design my application and sql sever ce for database connection. In this i am using a form to insert the data into database and a datagridview for viewing and editing the data stored.
My problem is when I insert a new data in my form, it was not updated on the...
Using MS Visual Basic 2010, I am importing a csv file into a DataGridView. The first row of the csv file imports as the header in the DataGridView (HDR=Yes). On the same form is a ComboBox. Once the csv file imports into the DataGridView, I would like to search the header row for the value...
This is my first post here so hope I have posted correctly.
I am in the process of converting my windows form app from VB6 to vb.net (VS2012). One of my forms is a weekly work roster (or schedule) which was working fine using flexgrid. Now I am looking at Datagridview to replace the...
Hi I have a Combobox on a dataviewgrid on a form. The DataGridView is tied to my customers table and shows the records alright and has a County column.
The Combox is tied to my County Table and consists of an ID column and County column and is working well.
But I can't get the combox to...
Hello below is my code, i got this error Error "Overload resolution failed because no accessible 'New' can be called without a narrowing conversion:'Public SubNew(selectCommandText As String, selectConnection As System.Data.OleDb.OleDbConnection)': Argument matching parameter 'selectConnection'...
Hello guys, i have a code that would delete a row from datagridview and mysql. Now what i wanted to do is to delete multiple row instead of one. possible?
command.CommandText = "delete from " & cmbTable.Text & " where ID = " & Val(DataGridView1.CurrentRow.Cells(0).Value.ToString)...
Hi:
I would like someone can help me, I want to mapping a datatable to show in the datagridview the names in diferents columns. i placed an image.
thanks in advance.
Hello All the best programmer,
Good Morning and Sorry for disturbing.
i have some problems all, hopely you would like to help and could help me thanks. my problem is :
i need validate or check the data or value in datagridview cell before it update to the database, so i can check if the user...
Hello my friend the best programmer and kind one:)
my friend, i've a problem, i would like to export data from excel to datagridview now, that before i have could to export data from datagridview to excel but now i do the other side that how to import data from excel to datagridview.
actually...
Hello dear all the best programmer,
i am so sorry for disturbing but i need help from you all seriously,
i am newbie in vb.net so i get problem in a task that i am sure you can solve it, and hopely you would like to help me to solve it,
my problem is how to put datetimepicker on some column for...
Hello ALL the best programmer,
before go to my question today, let me introduce my self : my name is toni firnandes from batam indonesia. Nice to get you all in this forum and hopely you would like to help me solve my problem.
I have problem to make application database using sql server...
Dear All
I am so happy about this web site and its forums, since I get perfect answers to my doubts. Thanks to all and special thanks to Ian who helped me several times.
I use VB.NET 2010.
Now I have a problem with DataGridView control. I need to add test details of students to the grid...
I am sure someone must have posted an answer on this but I cant find it. Just starting using VB2010 so on a steep learning curve, but finally making the leap from easy VB6 !
I have a project with (currently) 4 forms - all containing a DataGridView populated from MS Access via a DataAdapter /...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.