great little tutorial that uses mostly code instead of drag and drop methods to create a database datagrid in a clear and well explained way. top marks.
Awesome video... i was looking for a simple way to retrieve data from a backup copy of a database with out giving the location.. this works perfectly and i was able to hide the launch trigger by using an extra label.. thanks a bunch..
On the issue of software vendors creating the perfect programming language, do you get the feeling that MS VB is taking us down the procedural declaration al route of structured programming needlessly as all this code does is display a table in a form and yet VB expects you to do a tour of its whole factory of assembly of an object when this could be done swiftly with new and better power command sets.
my "da.Fill(dt)" line is having a problem, and I followed this tutorial precisely (with the exceptions of the 'Select' and my database 'directory'). I'm using VB 2010 Express. I've searched alot in this past few hours and got simililar codes with the same issue. Any suggestion?
@akosiDAN123 right now i started new project of my own, using access database vb.net 2010...and i would like to use code rather depending using tool(becoz it help me to understand where i can manipulate the code). so i hope u will do some more video on related topic.
This was really good. can please show me how can i create a button that when click it will change the database in the datagridview.. because i was planning to have one datagridview that can handle different msaccess.. so i dicided to create buttons that will change datagridview database.. thank you sir.. hope you can help me :D
hi. how to display data one row at a time until the all data is displayed on the datagridview. e.g when I search information it display on the first row and search the second one it must show on the second line and so on and so on until everything is displayed.
what if i only wan to read the selected information from data base? example: i got a textbox to key in id, if i type 15 in the text box datagridview1 will show all the information from id 15 only
I want to display table using microsoft access 2010. I already type the code and use Microsoft.ACE.OLEDB.12.0 as the provider. But it still won't display. What should i do?
How to fix da.Fill(dt) The Microsoft Access database engine cannot find the input table or query 'phonebooktable'. Make sure it exists and that its name is spelled correctly. did not work help me pleassseeee! Reply me plss i need your response right now
hi I want to add picture in my program which is quick search. I am trying to add pic assigning OLE. But i want the image to be visible in ms table (datasheet view). could you pls help me with this?
Sir. Pwebe ba Mamili ng kung anong access database gusto mong e load? like for example may phonebook 2018 and phonebook2019 ako pipili po ako sa dalawa using combobox kung ano pong phonebook ang e vview ko sa datagridview
Error 1 Overload resolution failed because no accessible 'New' can be called without a narrowing conversion: 'Public Sub New(selectCommandText As String, selectConnection As System.Data.OleDb.OleDbConnection)': Argument matching parameter 'selectConnection' narrows from 'Object' to 'System.Data.OleDb.OleDbConnection'. 'Public Sub New(selectCommandText As String, selectConnectionString As String)': Argument matching parameter 'selectConnectionString' narrows from 'Object' to 'String'. c:\users\albert\documents\visual studio 2013\Projects\TeamBWeek3\TeamBWeek3\Form1.vb 19 14 TeamBWeek3 I get this error it does not work
How do I create a relative path? I have this: con.ConnectionString = "Provider = microsoft.jet.oledb.4.0; Data Source=J:/College/AS_DSFinalDatabase1.accdb" Also, how do I use an Access database that uses the .accdb extension instead of the .mdb extension. This is the error I'm getting: Unrecognized database format 'J:\College\AS_DSFinalDatabase1.accdb'.
@qwerty1111able Hello, Try adding a button to your form and double the button to open the button click event. Copy the code of this video in the form load event and paste it inside the click event. If you want to another database to display be sure to change the select query because it all depends on the select what records it will display. Hope it helps you :)
Hi sir dan! I hope you can help me in this case ... I have a table named tblEmployee and the fields in the table is Employee_Num and Employee_Position.. I want to display in a datagridview control... but i want to display only the employee that has a position of manager... I know your search tutorial may help, but although if I already displayed the employee that has a position of manager, i still want to use the search form ... kindly help me in this case sir dan please! thanks!
sir pa help again ito di ko talaga kaya na type ko na po lahat ng dapat e type nung ni run ko ok po yng datagrid lumabas ung column kaso walang laman pero sa access meron anu po problema nun?
@xBLukiyx Happy Holidays Hello, not sure but the code is quite working perfectly to others, Some reason it may not be working is your database. Your database must be in different location,table column have a reserved words etc. If you want message me your program including the database and I will try to fix it for you.
What if pag ang gusto kong header is hindi same ng nasa database? I mean, isinama kasi sa program mo yung mga headers. Pero paano pag may naka fixed ng pangalan sa header ng data grid? Thanks
ayaw po mag run sir dahil sa error na to: An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in System.Data.dll Additional information: Could not find installable ISAM.😟😟😟
Hi fellow pinoy :D im a CS student at C.C.P ^_^ i just want to ask if i could edit the DB table being displayed at the datagrid view by simply typing on the cell and saving the changes through a button? If so, how? Please help me. PS this is for my thesis i'll include your channel in the "i couldn't have done this w/o you" part of my documentation :D
sir paano mo mailalagay ung info ng database sa textbox? how to insert the information in database to textbox? im having a thesis xD by the way THANK YOU VERY MUCH!
@FrightBeatZ would you mine sending me your program so that I can check it and I might fix it also and kindly include your database also. Send it to electricfan23@yahoo.com just in case.