That cursor is so visible! I had no trouble locating the cursor during this video. 10/10
@dreirxge2 жыл бұрын
Omg this is exactly what I need. I have absolutely no knowledge on how to use visual studio. Thank you very much. Have a nice day :)
@abdelmalektalbi75824 жыл бұрын
I hate when my teachers take their time to explain what they're typing, explaining the obvious. Best tuto ever! one small detail ,it would have been a wonderful addition if you posted the code to...
@ProgrammersNerds4 жыл бұрын
We aim to provide hands on and direct to the point tutorials.
@christopherlikins63213 жыл бұрын
Thank you for this instruction. It is very clear and well stepped through on the procedure.
@ProgrammersNerds3 жыл бұрын
Glad you enjoyed it!
@dineshodedra44603 жыл бұрын
Great video. I'm new to C# but have lots of "lapsed" coding experience. I loved the way you created the class objects and the list to use with the grid. These tutorials are for beginners so it was perfect. I have seen so many othe tutorials that make the guy on the video sound clever but they struggle to get the main objective across. For completness, you could have updated the data in one of the cells with the text you edited. Great work, keep it up
@ProgrammersNerds3 жыл бұрын
Thanks for your feedback. I try to make short vids, busy days nowadays
@scarr66062 жыл бұрын
At 2:36 you remove "throw new NotImplementedException();" and I receive errors when I remove it. Any suggestion's?
@viktoria7don5 ай бұрын
Мужик, ты лучший, просто это знай
@ProgrammersNerds4 ай бұрын
Thnx 🙏
@jesusstudentbrett2 жыл бұрын
I certainly appreciate your work and sharing this, but just a heads up; the audio is just barely loud enough (youtube max volume and my PC on max volume).
@ProgrammersNerds2 жыл бұрын
Thanks, they were recorded with laptop mice so I understand you its a bit low :(
@oscaraward61874 жыл бұрын
Nice tutorial but how do I update the data as well as add and remove rows? I added an update, add, and remove button but I'm not sure what code to use.
@Lhsbysareena3 жыл бұрын
Add databound button In the button click event you can give operations code
@hemalpatel97082 жыл бұрын
You can Add record directly to the list instead because I think Data grid view will use the list to display data, but you might have to update the data grid view
@hemalpatel97082 жыл бұрын
Nice tutorial, It helps me to create a view for data using data grid view, before I was creating custom UI for editing and viewing purpose, but Now I decided to use custom UI to provide basic data to user for records and use data grid view to view all data to user! Thanks a lot!
@ProgrammersNerds2 жыл бұрын
i'm glad you've found it useful. peace!
@陳昱辰-e5p5 жыл бұрын
This is really really helpful ! !
@ragtop633 жыл бұрын
Excellent video! Also, it sounds like your computer's fan curve is very aggressive lol
@williamazz21132 жыл бұрын
Excellent tutorial. Great style. You covered the perfect amount of information for a complete sample solution. Thanks for sharing.
@ProgrammersNerds2 жыл бұрын
Thanks Will
@Laugny3 жыл бұрын
it says inconsisten accessability: property type 'list' is less accessible then Property 'Form1.People'
@Laugny3 жыл бұрын
i fixed it lol
@ProgrammersNerds3 жыл бұрын
good (Y)
@danielruzsik64403 жыл бұрын
@@Laugny how did you fix it?
@Laugny3 жыл бұрын
@@danielruzsik6440 Ohh, im sorry i dont know anymore, this project is about 3months old and i dont have a clue how i fixed it, but it wasnt that hard i think
@danielruzsik64403 жыл бұрын
@@Laugny not a big deal, thanks anyway :D
@sarimsheikh1407 ай бұрын
Sir how do u duplicate using drag ?????
@tomd56784 жыл бұрын
Great, I learned some good stuff
@ProgrammersNerds4 жыл бұрын
Subscribe, will post some more
@krastinabrunson343 жыл бұрын
Awesome, you helped me understand dgv. Thank you. Do you logically after of course learning you figured how to set button or text box controls?
@ProgrammersNerds3 жыл бұрын
Every time you update the dgv, you can set text property for example to count number of rows or so.
@krastinabrunson343 жыл бұрын
@@ProgrammersNerds I did that but the Delete is not working in random order with the code. It just deletes 1st,2nd,3rd, when i try to select 5th it deletes the 1st. How do set it up to work at random selection of row?
@ProgrammersNerds3 жыл бұрын
@@krastinabrunson34 every control in Windows Forms, has a Tag object property, you can attach your object here, like a class instance which represents your row, and then you have to get the selected row, through dataGridView1.SelectedRows[0], and then you get the object from .Tag and cast it to your object. and in the object you will have some sort of ID that represent your PrimaryKey i your Table. If you have problems, please share your code and I will be glad to help.
@mejmeiji20083 жыл бұрын
I hope there's a button to enter then view in datagridview
@tomljenovicvid612 жыл бұрын
Is it even possible for me to load pictures from online database in fowlayoutpanel, then on click enter a new form with only selected object (i managed these two things) but then I want to have a button "add to cart" which is a completely separate form. The cart should be consisted solely of datagridview which collects products added to it. Right now I can only showcase each last added product. It seems they dissappear as soon as I leave the form (cart) with datagrid on it.
@ProgrammersNerds2 жыл бұрын
Of course, usually online images or files rely on some file server to be served, and accessed via urls. Having accessed the resources and created image objects you can displat them anywhere
@bashayerm24122 жыл бұрын
Hi I have problem in passing data in grid view, if it’s possible can you help me Thank you
@ProgrammersNerds2 жыл бұрын
Any IEnumerable, IList passed to the list.DataSource will work
@emregecer12163 жыл бұрын
Hi, i'm trying to write program which is has to connect ftp server and take , add and delete data data from server. I have no idea how to do it. i have server http address also id and pass. Can you show us how to do that if its not so hard? i watched some videos already but they have path of files, I dont have path just address of server
@ProgrammersNerds3 жыл бұрын
Hi Edgar, this is what you need to do (an example): using (var client = new WebClient()) { client.Credentials = new NetworkCredential(ftpUsername, ftpPassword); client.UploadFile("ftp://yourfile.txt", WebRequestMethods.Ftp.UploadFile, localFile); }
@limtseng71574 жыл бұрын
thank you, this is really helpful.
@ProgrammersNerds3 жыл бұрын
Glad it was helpful!
@ardiansanando593 жыл бұрын
thank you very much!!
@ProgrammersNerds3 жыл бұрын
You are welcome
@dimankan3 жыл бұрын
i want to see more about datamember, datasource and binding
@ProgrammersNerds3 жыл бұрын
Binding is so easy, for your reference. DataSource accepts all sorts of IList, DataMember is the value of the column from the dataSource SET, DataValue is what is returned on the click. Please, see other videos as I believe I have used it somewhere.
@JoshuaPraiz6 ай бұрын
Awesome!!!
@unabletoluxury3 жыл бұрын
Thank you very much
@ProgrammersNerds3 жыл бұрын
You are welcome
@adematabag91613 жыл бұрын
Could you please comment me the shortcut keys you use? You are coding very fast.
@ProgrammersNerds3 жыл бұрын
Hello Adem, coding fast is because of my experience with coding. let me give you an example. if you want to write code like Console.WriteLine / / use write Console.WL + Tab it generates automatically. If you want to create a property on your class then write: prop + double tab, etc etc.
@yigitkeles32172 жыл бұрын
4:53
@Ravenovskii4 жыл бұрын
DUDE YOU ARE SO FUCKING AMAZING
@VarunKumar-qd5wl4 жыл бұрын
Thank you
@ProgrammersNerds4 жыл бұрын
Did you subscribe?
@ninnaahk4 жыл бұрын
but did you subscribe tho? :'DDDD
@ProgrammersNerds4 жыл бұрын
@@ninnaahk did you :D
@mikaverhoeven35138 ай бұрын
drag n drop, really man?
@antoni90014 жыл бұрын
Good movie
@dimankan3 жыл бұрын
спасибо
@RonTDC3 жыл бұрын
Great video, but you type superfast lol
@ProgrammersNerds3 жыл бұрын
Used to do 120wpm, now Its less 🤣
@kenwatson3784 жыл бұрын
Seriously? You cant build your project and class ahead of time. I know how to create a class and add items to a list. Why waste everyone's time by not setting up ahead of time so you can show us what the video was SUPPOSED to be about?
@FiksIIanzO4 жыл бұрын
Because it takes very little time and complete newbies watch these videos along with rusty professionals. The newbies would be lost without a proper step-by-step. If you're a huge dude and your time costs five bucks a second, read documentation. That's dense and quick if you know what you're doing. Otherwise check your attitude.
@Barbarossa-jb6cv2 жыл бұрын
public partial class Form1 : Form { SqlConnection con = new SqlConnection(@"Data Source = LAPTOP-2A5CNVC3\SQLEXPRESS; Initial Catalog = Countries; Integrated Security = True"); SqlCommand cmd = new SqlCommand(); public Form1() { InitializeComponent(); } private void btnClear_Click(object sender, EventArgs e) { dgvShowData.DataSource = null; } private void btnExit_Click_1(object sender, EventArgs e) { Application.Exit(); } private void btnShow_Click_1(object sender, EventArgs e) { try { con.Open(); cmd = new SqlCommand("Select * from Coutnry", con); cmd.ExecuteNonQuery(); SqlDataAdapter da = new SqlDataAdapter(cmd); DataTable dtable = new DataTable(); da.Fill(dtable); dgvShowData.DataSource = dtable; con.Close(); } catch { MessageBox.Show("Error 404"); } } private void dgvShowData_CellContentClick(object sender, DataGridViewCellEventArgs e) { } } }