for those who are not seeing the updated data when closing and reopening ur program. when u create the database connection dont click yes to copy the database to your project folder
@najihahzahidah8023 жыл бұрын
can i know why?
@htk00023 жыл бұрын
@@najihahzahidah802 well its been a long time. I can’t exactly remember why. But I think it’s because every time you close and reopen vstudio copies the original unchanged database to your project file and uses that i guess instead of using the one that you already changed. Basically it resets the database for every run. Correct me if I’m wrong
@marydhelcompanero1603 жыл бұрын
@@htk0002 hi do you know how to fix autonumber when adding new data it keeps starting with -1 even if I have 5 records in tha database. It should be 6 but it starts with -1. Please help
@htk00023 жыл бұрын
@@marydhelcompanero160 This shouldn’t be happening. Auto numbers are designed to update by them self and it wont get stuck on -1 unless you specifically put -1 when you are inserting. Try checking your insert command and make sure you’re not inserting any value into the autonumber field. The database will update this field by itself.
@marydhelcompanero1603 жыл бұрын
@@htk0002 still the same. If i add new data it starts on -1 pls help. This is my code RecordsBindingNavigator. AddNewItem. PerformClick() I got it on other tutorials
@mangulabnanreyjosephe.48803 жыл бұрын
my teacher told me and my classmates to create a library system but he never teaches thank you for existing vb jesus 👏🙏🙏
@gurosiya2 жыл бұрын
Hello! You may want to see this: kzbin.info/www/bejne/a5XNdYyfebahh9U
@lancediverge40653 жыл бұрын
I really had a good time learning this even helped me on my system thankyou so much
@jonathanjrpaniza38158 жыл бұрын
Thank you so much for helping my thesis
@madhupen57194 жыл бұрын
God bless you for sharing your knowledge.
@trevordaniels44436 жыл бұрын
I can get the Add, Save, and Delete button to work, BUT, if I try to save after a deletion I get an error. Why?
@le56487 жыл бұрын
Thank for share, Thank for all comment !
@jedrickhernandez35186 жыл бұрын
you are a great help! i love you!
@yousefeno3 жыл бұрын
Thank you so much
@lawrencereyes27966 жыл бұрын
THANK YOU VERY MUCH SIR!
@walaamahmoud67418 жыл бұрын
thank youu alottt this is such a helpful vedio it helped my BIGTIME
@malumbomkandawire75565 жыл бұрын
Awesome Video Keep it up
@Guma17132 жыл бұрын
Can you save data on a deleted row? If u can, how?
@syahierahnadzri37897 жыл бұрын
hey! thank you so much ur video helps me alot :)
@NGP-sv2jf9 жыл бұрын
THANK YOU VERY MUCH SIR I OWE YOU BIGTIME
@sunnygumamela6 жыл бұрын
Thank you so much! but mine has existing data on my database how do i make it visible? i checked the visibility and it was on true, what should I do?
@trailerhubmoviesandgames9110 жыл бұрын
awesome Tutorial!
@devipriyav69213 жыл бұрын
Please give suggestions for my question How to insert table2 data's from table1 in VB.net with Ms access
@clintonweisei1005 жыл бұрын
thanx sir..and how can you search ??
@chiragpatel59189 жыл бұрын
Well done.!!!
@ervindelapena70973 жыл бұрын
how about edit and update button? please answer, it will help me a lot, thanks!
@ajsantos37395 жыл бұрын
Do you have a tutorial for the same thing but using mySQL? That would be very helpful to me
@JSpade9 жыл бұрын
why after i close my vb debugging window, the data i just save is gone. it wont save into my access even i open it in right place and save it in access.... please help TQ
@rajkumarbiswas32894 жыл бұрын
same think with me , have you solve it
@qguo39236 жыл бұрын
good for fresh men
@lasanthakarunanayake190 Жыл бұрын
How to edit existing data in data grid view showing one and save same ID number , not now number?
@sarvottamlasane21864 жыл бұрын
Sir we have Save detail in Data base then save but if any delete row then click save button then show data not save please give solution
@selormatsu20576 жыл бұрын
it was great finding this vedio it helped me alot but i will lie to great a login and connect to access database and connect that login to this form how do i go about it
@ervindelapena70973 жыл бұрын
how is this? when you add data in vb its also adding data on acces
@jesteradamaliganga68265 жыл бұрын
Can you add a button which can update your data? for example the id number 2, John Eather, changed its name to another one, like Jester Adam.
@gurosiya2 жыл бұрын
Hello! You may want to see this: kzbin.info/www/bejne/a5XNdYyfebahh9U
@RamaArdianto9 жыл бұрын
Could you show tutorial VB. Net, access Database to add button search??
@ProgrammingKnowledge10 жыл бұрын
@sellemisaber12348 жыл бұрын
merci bien pour le demo. J'ai appliquer tous mais J'ai un pb de sauvgarde sur la base de donnee comment faire?
@sairayoung23648 жыл бұрын
It only add data into the data grid and does not update data in the access.
@MenacingMoto3218 жыл бұрын
+Saira Young Just kidding. It can. Change copy to output directory to "Copy if Newer" in the DB Properties in the solution explorer.
@sairayoung23648 жыл бұрын
+Menacing Moto I tried but it's not working. I have set my dataset and the table adapter's "COPY TO OUTPUT" to Copy if newer yet not working.
@MenacingMoto3218 жыл бұрын
Saira Young Hmm.. Check the path and make sure it's correct.
@sairayoung23648 жыл бұрын
+Menacing Moto I followed user named themagni13's comment from below and it works! But now I'm into updating data so, would like to ask if you know any easy code for update? Thanks in advance!
@ytjowl7 жыл бұрын
Hello! Help me to update the database when updating to data grid. how did you work with it?
@abaaadyaltalal3357 жыл бұрын
thank you so match
@misspumpkinpie1257 жыл бұрын
i got a problem with these. actually. when first i ran the test. it was successfully added into database, then after i exit from the system, and open it back, the data that i key in earlier were disappeared. a sometime error.. why?
@chathurakumara394610 жыл бұрын
thankx it use full
@MSalahCivil10 жыл бұрын
hello I did like what you do in this video but the database just save the new data when the program is running but i close the program the database get back to the initial state and all what i did disappear Please tell me what's wrong.
@smopuim10 жыл бұрын
Hey!. I know its late, but that happened to me, it was because when testing the APP it uses a copy of the DB in the DEBUG folder, so you are editing that one, and everytime you press RUN it takes the virgin copy and copies it over the saved one in BIN folder, this can be fixed with the option copy if newer.
@MSalahCivil10 жыл бұрын
thanks
@karamkorotani52639 жыл бұрын
i have a problem, when i do add new data and save it, it shows me the mssg that data is saved completely but it didnot update my database any solutions????
@mrkrlmykl9 жыл бұрын
SmopuiM Sir where can I find the "option copy if newer"
@adamclarke60929 жыл бұрын
mr krlmykl Just reading through the comments and I may have an easier solution. The way this will work is when you hit the save button the database will update but it will not update your original database that you created. It will make a copy that is stored in your Bin File, you can find this in you VB project folder for example... \Visual Studio 2012\Projects\WindowsApplication1\WindowsApplication1\bin\Debug This will have the data that you have entered into the application previously. My Suggestion would be to add a new data connection to the database that has been saved in this folder rather than the one you originally made. By doing that every time you open the application again it will open the file in the Bin folder with your saved data! The second way you can do this is by providing the full patch location of your original database that was created. by using the data directory function. I would just go with the first one as its easier, hope this helps if you haven't already fixed it! Happy coding!
@yuzasifkhan1477 жыл бұрын
Hi I would like to know as how to store 2D array into table and also retrieve a table using array I'm using oledb connection
@MrDueno6 жыл бұрын
Hi, I'm doing everything you said in your video, but when I added new data and stop the program and run it again, the data was not saved, is doing this every time I close the program and run it again. What can be the problem?
@mediz64474 жыл бұрын
Have u found a solution ?
@sunilshinde62018 жыл бұрын
thank you
@omsushantkarki8 жыл бұрын
add new button will just add the data and deletes the previous record that i added. it will replace it , once i reopen the application and try to add a new record. how to addend record instead to replacing the record.
@felimonancheta58510 жыл бұрын
sir do you have a tutorial that saving the path a picture, using access, example C:image.jpg the image will not actually be save but path of the image will going to be save
@tonyg_fgc815210 жыл бұрын
he will never answer he is dead...
@marcangelobautista36437 жыл бұрын
where did you get the employeeinfo.acc.db?
@ventismami17456 ай бұрын
how to fix this "The Microsoft.Ace.OLEDB.12.0 provider is not registered on the local machine"
@Vokofe8 жыл бұрын
Hi, The delete button does not appear to work properly. After I click DELETE on any existing records, then click SAVE, the Access is updated. However if I just added a new record, Save it, delete the new record, Save, It gives the error of Saving Data You will be able to see the New Record when you SAVE after ADDNEW, but if you DELETE the new record and SAVE, the new record is NOT deleted in Access. Setting {Change copy to output directory to "Copy if Newer" in the DB Properties in the solution explorer.} does not help Pls advise Edit: After much google, I figured out the reason why you cannot delete the record immediately after just adding it. In my case, it is due to the Auto-generated primary key. In the GridView, notice when you AddNew, the EID is -1. When you Save, that record is updated in Access with the next auto-running EID. Hence, when trying to delete, the program tries to find the EID of -1, but failed cuz in the Access it is no longer -1, but some new running number. I resolve this by adding 2 lines of code to "refresh" the GridView everytime you Save. This will allow it to regrab the data from Access, together with the EID. Private Sub save_btn_Click(sender As Object, e As EventArgs) Handles save_btn.Click Try ProjectsBindingSource.EndEdit() ProjectsTableAdapter.Update(EVC_ProjectsDataSet.Projects) 'Name of DB Table 'Refresh the ID in the GridView EVC_ProjectsDataSet.Clear() ProjectsTableAdapter.Fill(EVC_ProjectsDataSet.Projects) MessageBox.Show("Data Saved!") Catch ex As Exception MessageBox.Show("Error saving data!") End Try End Sub
@jeromepalentinos81217 жыл бұрын
i recommend this codes.. i used this for my thesis
@marydhelcompanero1603 жыл бұрын
@@jeromepalentinos8121 how po pag autonumber ung sa id pero pag mag add new data -1 ung automatic nya kahit may old record na 5 dapat 6 na next po?
@LxUniverse-AeriHann5 жыл бұрын
Hello sir, can you make a tutorial how to save data into databse in vb.net 2008 but it's not in form, it's like a web form. I'm having hard time to look for tutorials making a website using vb 2008, please i hope you can help
@zxc.Laurence6 жыл бұрын
hi sir can you provide a video tutorial for transferring data in datagridview to another datagridview
@Zeph5042 жыл бұрын
It only showed there, but it does notsave on the access folder. how to make it save in access folder
@sesughakpera7 жыл бұрын
the data only updates on the data grid in visual studio but does not update in my access data base please respond soon because im really stuck
@mediz64474 жыл бұрын
Have u found a solution ?
@yuanni67279 жыл бұрын
when you click on "Add new", how could the textboxes are cleared? Can you teach me please
@yuanni67279 жыл бұрын
my information will not update into the new row also >
@MenacingMoto3218 жыл бұрын
+Yuan Ni Double click Add New And code in the name of the txtbox(es) you want cleared. For example, You have a textbox named txtTotal, When you double click Add New to add new code, type this in: txtTotal.Text = "" This also works: txtTotal.Clear()
@jayrodneybesario22258 жыл бұрын
how you do that ? that your DateTimePicker1 are saved to database ? sorry for my englsihh
@CoreTech9518 жыл бұрын
Thanks!!! :)
@bhavaninizampuram54115 жыл бұрын
Hi Sir can you please help me to import Excel file into MS Access db on click of button dynamically
@grayman26128 жыл бұрын
Hi, after closing the program and opening again those data are not saved on access database. Kindly advise and thanks
@grayman26128 жыл бұрын
+TheMagni13 Thanks alot and it's working now. :)
@grayman26128 жыл бұрын
+TheMagni13 do you have any idea for deletion of data, once i deleted data and close the program then open again the program but those data i deleted still there. Kindly advise and many thanks
@anomolisagag22704 жыл бұрын
5:13 why i don't have Update() method?
@user-eq5up9em3f7 жыл бұрын
thank u
@loainsoor79247 жыл бұрын
why the minus sign when add new record ? how can I get number without minus sign?
@mictralif75156 жыл бұрын
can you help me create scheduling software for pt visits?
@danishmirza58575 жыл бұрын
my data got save but error in code of delete and add newdata plz help me about this
@videogenerator74185 жыл бұрын
Allow Null value to false This error is coming. what should i do?
@innocentmwiinde4755 жыл бұрын
How do you reduce the number of records from the database for example like when issuing out a book
@gurosiya2 жыл бұрын
Hello! You may want to see this: kzbin.info/www/bejne/a5XNdYyfebahh9U
@nivinsanthosh49379 ай бұрын
I cannot get the add, delete, previous,next save icons .. pls someone give solution for this
@bhooshankarnawat44199 жыл бұрын
the save button which appeared automatically in vb design form is not enabled................ n if we create the save button automatically then error occurs as"upadate is not a member of given database.dataset"....
@Case13037 жыл бұрын
BHOOSHAN KARNAWAT how to fix This?
@hieicent54309 жыл бұрын
why if i save the data it will saved , but if i close the system the saved data is close too
@steffin0018 жыл бұрын
Where'd you get that EmployeeInfoDataSet?
@MenacingMoto3218 жыл бұрын
+Stephen Inoc He made it in access.
@kofinti91818 жыл бұрын
if you load the app again it does not show what you saved. pls explain?
@arnelespanolajr70978 жыл бұрын
Just change your Database output in "Copy if newer"
@creativedeep61995 жыл бұрын
@@arnelespanolajr7097 i try but its not working. only show old data not show new data
@chrisworldwideTV6 жыл бұрын
adt.fill(ds) did not work .. please help me about this to how to solution of this code
@clutchwithjoms504210 жыл бұрын
why the data in access cant be deleted permanently?
@lheiyanbalibago70299 жыл бұрын
yeah me too please answer it why the data access cant be deleted permanently
@abelsedigo48629 жыл бұрын
Lheiyan Balibago try to build your project
@sadimohamed63979 жыл бұрын
i did the same code and, i cant update the data from the Access file
@BayabasChannel8 жыл бұрын
Please help me! when i debug run and saved data!, When i stoped it and run again the saved data are gone! I think there's no problem in the code, Please help! reply fast please!
@BayabasChannel8 жыл бұрын
I get the Solution! Just go to your dabase . xsd in solution explorer and go to ADVANCE>Output Directtory> and set to "Copy if newer. Thanks Again!
@orocimaru7577 жыл бұрын
i set to coy if newer but when i stoped it and run the save data is gone. help me SOLVED. In button exit Add BarangTableAdapter.Update(InventoryDataSet.barang) above me.close
@funnyvideostv19507 жыл бұрын
sir if i save the data with same date it not show the date..
@SadamHussain-lw4cc7 жыл бұрын
How to add table in access database on run time. Please help me
@omaribnoulouafi16437 жыл бұрын
thank you,i want to have just the in formation that it is in one date pleaz unser me as soon as possible
@shmrmhmd9956 жыл бұрын
Need improved communication
@VillagerLifeCraft7 жыл бұрын
Not working, only the data grid update but access nothing happens.
@nikiblooms8 жыл бұрын
I did the same things but the data don't go directly in database and not showing up in datagrid. HELP! Thanks! :( :)
@aldee94928 жыл бұрын
+Nicky Mae Agravante me 2
@MenacingMoto3218 жыл бұрын
+Nicky Mae Agravante Did you go to the dataset tab and click on the drop down arrow and select details before you dragged it to the form? Also in datagridview you click on the little button in the top right of the datagrid and select your data source. It will be called xxxxxxxxBindingSource
@christophervargas85518 жыл бұрын
After I add add new, edit, delete button ms access database is not updating
@MenacingMoto3218 жыл бұрын
+Christopher Vargas Just kidding. It can. Change copy to output directory to "Copy if Newer" in the DB Properties in the solution explorer.
@samruddhidhoke91865 жыл бұрын
how to add the coding throw data in database
@fortzero15456 жыл бұрын
I have tried everything I can find in this comment section to help with the data not saving in Access. I cannot for the life of me figure this out and I have already spent do many hours on this lol please help me!
@mediz64474 жыл бұрын
Have u found a solution ?
@blendedbinah12748 жыл бұрын
i am using visual studio 2013 I exactly copy your code and does not work on save button
@Case13037 жыл бұрын
Blended Binah same here. Using visual studio 2010 express, have you found a solution?
@blendedbinah12747 жыл бұрын
i have found a solution that you need to set the machine setting on the properties project to x64.
@abaaadyaltalal3357 жыл бұрын
can you helpe me becouse i want code for search and edit
@MultiCedrick098 жыл бұрын
TableAdapter.Update() did not work, help me plss
@mangsesatu7 жыл бұрын
drag table.adapter into your form
@hazeemhashaini77985 жыл бұрын
@@mangsesatu how
@marionvillanueva9608 жыл бұрын
i have done this as part of my project. but when i publish it, there was an error. Database could not find. How can i publish it with the accdb? note: program will work unless i paste my accdb manually at the appdata folder.
@stennettmullings8 жыл бұрын
I create a login button but it won't fetch information...
@taurussilver1488 жыл бұрын
same here....please help...
@expresswithfood45018 жыл бұрын
you pronounced data wrongly
@MisterItchy5 жыл бұрын
You used the word 'wrongly' incorrectly.
@suryaskp35986 жыл бұрын
i lost the data after close the application..when i restart the Application data is lost
@davecadilo30006 жыл бұрын
Same problem hahaha if you found a video that show the data is store on access database Message me back Thank you.
@suryaskp35986 жыл бұрын
Dave Cadilo i found a solution. Starting of the data connection while connection process the popup message shows something like "copy the database" click No to save it directly
@EskyDinpuiaChhangte7 жыл бұрын
How to delete Data permanently
@sandipratama35466 жыл бұрын
how to create edit button
@marymaria16922 жыл бұрын
working on visual basic but nothing is being saved in the actual database lmao
@jahangirigeneralstores61065 жыл бұрын
HOW TO DATABASE UPDATE
@saadsalman45187 жыл бұрын
it is not saving
@shmrmhmd9956 жыл бұрын
Slow teaching
@johnabram41595 жыл бұрын
I cringe every time you say "daataa". Why not good old "deta"?
@abdo1986ify6 жыл бұрын
Thank you
@rajkumarbiswas32894 жыл бұрын
hi sir, my data is showing in griedview but it is not save in db, kindly assist.