I don't know how much thanks I owe ya for this video, I noticed you have been updating the video even though keeping the title the same, this video has finally resolved my doubts about linking two data tables using entity framework and display it on a datagridview, job well done, I really owe you a beer! Cheers!
@zerosandones75474 жыл бұрын
Why can't I establish a relationship here @11:04? I clicked the "play" button and didn't work, I even refreshed and restarted my sql server. I am using 2019 version
@rissoulimohammed53443 жыл бұрын
Thank you for this video, it was very helpful, I have problem, I create inventory management system, I want to add new categories using text box in form 3 to show categories in combo box in form 2(as you do frmaddeditstudent ), textbox is connect database (categories) and combobox connect to database (stock) now when I add categories in the textbox and save it with the same method you do in the video doesn't save and combobox only show the categorie how I put them in the table as you do with city tabel 11:21 please, help me please its very importing for me.
@andriiocheretianyi38512 жыл бұрын
Hi man, did you figure out how to do this?
@dhanniekristanto8 жыл бұрын
Good hands on tutorial. Everyone commenting here asked for source code. wow
@foxlearn8 жыл бұрын
Hi, And how about you ? Have you got any difficult with the tutorial ? thanks
@TumeloMotsoeneng8 жыл бұрын
great work. thanks...learning C# and this was helpful
@foxlearn8 жыл бұрын
Thank you so much !
@Aoubaker6 жыл бұрын
there is a litle problem in your tutorial: when you click the Edit button, the City's comboBox doesn't get the selected city but only the first one in the comboBox can you tell me how to fix that in this case Pls.
@foxlearn6 жыл бұрын
Please check you ValueMember and DisplayMember. i think you miss something !
@tkhaidarov7 жыл бұрын
How did you designate in the form frmAddEditStuident' properties AcceptButton - btnSave???
@anagor95553 жыл бұрын
Helpful video. Thank you!
@monirajv3 жыл бұрын
Great Tutorial.
@luisc17947 жыл бұрын
Once I'm on the Student Info dialog box that I click on the address text box, the name on the city combo box disappears and when you select it doesn't let you save the record, no errors occur. Please help. thaks
@osiris54497 жыл бұрын
This Database I'm downloading (The up-to-date version of what you got); does it allow connections over the internet? Let's say I'm making a social app, how would I handle that kind of data between everyone? This type of Database?
@mjkl6146 жыл бұрын
One more question, is there a way to save the cityid each time I enter into the edit screen? seems like it always defaulted to the first item, many thanks!
@DanyXiony7 жыл бұрын
Hi nice tuto ! I have a little problem for update an line on datagridView : If I click on button update my form show and if I change value and close it directly my datagridView show the new value. Is not good I don't click on save, I click on close >_< Can you help me ? Sorry for my english.
@johnarnoldcatedrilla43784 жыл бұрын
I dont have navigation properties how to fix that?
@mrkhedr7 жыл бұрын
When I go to edit form... City not initial correct always get first value. and when you choose edit row you choose row not have city .. How can I initial City value... Thank you
@hanssss134 жыл бұрын
db.student.Remove(dataGridView.Rows[i].dataBoundItem as Student)....... i didn't find .remove, why?
@foxlearn4 жыл бұрын
Please check your code again, i think you missing something
@hanssss134 жыл бұрын
@@foxlearn ..Remove(......) like that??
@hanssss134 жыл бұрын
do you add 'using' ?
@torchok190819867 жыл бұрын
great video like always! Thanks. Only one question. How do i show icon besides Formnametext ?
@foxlearn7 жыл бұрын
Button or Tile button?
@JaimeChavarriaMartinez8 жыл бұрын
Nice Video. Thanks.
@KJ40007 жыл бұрын
Very nice, this works... All but the save button in the studentInfo form works for me. When pressed, it freezes. Very nice tutorial.
@foxlearn7 жыл бұрын
Thank you :)
@KJ40007 жыл бұрын
In the area where you add { Gender = false} in the using (productinfoForm frm = new productinfoForm(new tblproduct() {})) under the Add tile.. What do i pass here? I can see it want all the properties, but do i have to wirte like int pId, string name, string , age, and so on ? :S
@KJ40007 жыл бұрын
For some reason, the Saving via the AddEdit form does NOT work. the app just freezes. Nothing happens when i Press Save in frmAddEdit.. NO feedback but i'm unable to close the form or do anything else with the app. Can you send med the source code ? I've been trying for hours now to find the solution :(
@KJ40007 жыл бұрын
Wheni use forign key value from child table as displaymember or valuemember is freeze, when i set valuemember and displaymember as the foreign key, it works..
@foxlearn7 жыл бұрын
Hi, What's your emai? thank you
@anitasrihandayani11047 жыл бұрын
Tutorial is very good, but i want to ask if make *"button search"* how? Continued from this tutorial
@eythimis8 жыл бұрын
Very nice video that explains a lot! However I wanted to ask you if you begin editing a row and change one or two fields and then close the edit dialog without saving, the underlying data in binding context would have changed.Correct? And hence those data would have been displayed in the grid but not persisted in database. Is my assumption correct? Also could you send me the source code? Thanks again for the great video!
@foxlearn8 жыл бұрын
That's right. You data don't save to database. Sent. Please check your email. Thanks
@gennarocodagnone8 жыл бұрын
Very Good work! I have some questions... - After deleting a row, dataGridView does't update automatically. I must press the sequence: 1. Delete 2. Save 3. Refresh Doesn't better to call SaveChangesAsync() right after delete? - Why after the sqeuence: 1. Delete 2. SaveChangesAsync() I need press Refresh button? (the dataGridView doesn't refresh automatically) Sorry for my english. Thanks
@moeinrahimi36748 жыл бұрын
when i try to add record it says : cityName filed does not exist
@foxlearn8 жыл бұрын
Hi, Please make sure that cityname filed exist in your table, Please check again. Thank you
@smiljanj8 жыл бұрын
Hi! This tutorial is very good and really helpful. One question regarding editing. When you add a record, everything is ok with ComboBox data (you choose a city and its ID gets written into the record). But when you edit a record, ComboBox is not initialized with correct value from the DB, but rather set to its default value (as if you are creating a new record). What is the best practice to solve this (ComboBox being set to its correct value from the DB record when editing a record)? Many tnx for the answer. BR, Smiljan
@foxlearn8 жыл бұрын
Hi, You need to add a binding to combobox, then set display member and value member to the combobox
@MrNvQuy7 жыл бұрын
nice guide !
@foxlearn7 жыл бұрын
Thank you so much !
@fredyangelugarteportilla51636 жыл бұрын
When click on saveValidation failed for one or more entities. See 'EntityValidationErrors' property for more details
@johnarnoldcatedrilla43784 жыл бұрын
same
@Aoubaker6 жыл бұрын
Why was the only method which didn't work for me is the delete
@foxlearn6 жыл бұрын
Please check your code again. I think you miss something. Thank you !
@Aoubaker6 жыл бұрын
@@foxlearn yes you're right I fixed it , now with the Add form,in my case this form is for detail table, how can edit the code to put the Selected master's ID in this detail table ? and thank you for your fast reply
@Aoubaker6 жыл бұрын
Ok I did it. Wow it's so simple, actually I really love entity framework
@flormariaayalarondan47435 жыл бұрын
Hi, can you tell me how did you fix the problem? the delete method doesn't work for me
@allhaillelouchvibritannia74946 жыл бұрын
@foxlearn I know this comment is a bit too late but I just want to know if Metro UI is compatible with visual basic?
@foxlearn6 жыл бұрын
Yes, You can use metro framework with vb.net. I'll upload video tutorials vb.net + metro framework as soon as possible ! Thank you my friend.
@MuhammadRizwan-cj5jo8 жыл бұрын
Fox Learn please help ... Error (Value cannot be null. Parameter name : entity) ???
@foxlearn8 жыл бұрын
Hi, Please make sure that you set primary key is identity. Please check your code again. thanks
@arnaudngabgna51667 жыл бұрын
very nice thanks for this tuto. But in my own i have an error. infact i am using Nhibernate and the foreign key refused to be add
@foxlearn7 жыл бұрын
I think you should fill all value to your object, include foreign key
@ibuyanaamyice45792 жыл бұрын
Thanks you Best
@emmysmith89606 жыл бұрын
hi sir i like ur tutorials. can p/s create a complete school management system with modern ul framework . thank u
@foxlearn6 жыл бұрын
OK. Thank you for your suggestion !
@AnasAbbasDev7 жыл бұрын
thanks a lot , could you pleas provide me with the metro framework dll file.
@AnasAbbasDev7 жыл бұрын
on my email >> anas.abass1@gmail.com please ^_^
@IonWP8 жыл бұрын
Thanks for tutorials. How to install ms sql server ?
@foxlearn8 жыл бұрын
Hi, You can view this video kzbin.info/www/bejne/d4PTh42bqaajd7s (How to install SQL Sever step by step). Thanks
@IonWP8 жыл бұрын
Thanks
@rvsusi40466 жыл бұрын
The video was excellent and making me to do this. But I don't have the software application both front-end and back-end. Can you please send me the apt full download link. Please
@kumarrahul7288 жыл бұрын
BackGround Music was awesome.. please tell me the name of music :P :)
@foxlearn8 жыл бұрын
Green Leaves, you can find in youtube background music. thanks
@katetitzkie7 жыл бұрын
greet tutorial.. can u make the same tutorial using ADO??
@manvitnaidu47817 жыл бұрын
i am not able to found student in "Data source configuration wizard "
@abdellah-ia8 жыл бұрын
That was great, BUT CAN U TRY TO EXPLAIN, a little bit, please, most of DataBase stuff were not clear at all. Seriously Bro, your tutorials are great, but this one really made me crazy, database stuff were very confusing.
@foxlearn8 жыл бұрын
OK. Thank you for your suggestion. I'll try more
@TM-vg2mt7 жыл бұрын
Thank you for tutorial...Can i have the source code and Metroui folder with dll please??? i hope you give me thank you...i already liked and suscribe your video
@TM-vg2mt7 жыл бұрын
tannuru_98@yahoo.com this my email please sent the code and library metro ui
@abdulrahmanrefaei10237 жыл бұрын
brilliant ! would you please send me the source code please?
@abdulrahmanrefaei10237 жыл бұрын
refaeiabdulrahman@gmail.com
@yilmaz0708 жыл бұрын
+1
@foxlearn8 жыл бұрын
Thank you :)
@yilmaz0708 жыл бұрын
No problem :)
@yilmaz0705 жыл бұрын
@@melezprens8158 anna'a koyabilirsiniz!
@semikolon42298 жыл бұрын
Please share the source code on github.
@foxlearn8 жыл бұрын
Thank you for your suggestion
@JJedai7 жыл бұрын
Done! if someone wants the code, let me know ....
@mackenziesmith66247 жыл бұрын
Can I have the source code please? Smithkenzie86@yahoo.com
@JokerZipon8 жыл бұрын
У меня есть предложение по видео, можно ваш e-mail !
@foxlearn8 жыл бұрын
Yes, You can send your suggestion to my email : tanhynh@gmail.com . Thank you so much :)