C# - How To Add Row To DataGridView From Another Form In C# [ with source code ]

Поделиться
HTML-код
  • Опубликовано: 20 сен 2024
  • Insert Row To DataGridView From Another Form In C#
    Source Code: 1bestcsharp.bl...
    ------------------------------ Check out my C# Projects! --------------------------------
    ▶ Inventory Management System - bit.ly/Csharp_I...
    ▶ Students Information System - bit.ly/Csharp_S...
    ▶ Contacts Management System - bit.ly/Csharp_C...
    ▶ Hotel Management System - bit.ly/Csharp_H...
    ▶ Real-Estate Management System - bit.ly/Csharp_...
    ▶ All My Programming Projects Here - bit.ly/2HrU8hK
    ▶ My Source Code Store Here - bit.ly/2OsC0TU
    if you want to support our work, consider supporting the channel with a coffee!
    ➜ 1bestcsharp.se...
    ---------------------------------- C# PRODUCTS ----------------------------------
    ▶ Get C# Projects Bundle - bit.ly/CsharpPr...
    ▶ Learn C# And More - bit.ly/CoursesList
    ----------------------------------- Project Description -----------------------------------
    In This C# Tutorial We Will See How To Insert A New Row To a Datagridview With Data From TextBoxes In Another Form Using C# Windows Form and Visual Studio Editor .
    1 - we will create a form with a datagridview in it, + a button to open a new form.
    2 - we need to create a form with textboxes in it + a button to add a row with data from the textboxes when ever you click on the add button.
    ------------------------- C# Tutorials ----------------------------
    ▶ C# Create Calculator - bit.ly/CsharpCa...
    ▶ C# Tic Tac Toe Game - bit.ly/CsharpTi...
    ▶ C# Treeview Tutorials - bit.ly/CsharpTr...
    ▶ C# File IO Tutorial - bit.ly/CsharpFile
    ▶ C# Insert,Update,Delete,Search,Display Images From MySQL Database - bit.ly/CsharpIm...
    ▶ C# And MySQL Tutorial - bit.ly/CsharpMySQL
    ▶ C# DataGridView Tutorial - bit.ly/CsharpDa...
    --------------------------------------------------------------------
    visit our blog 1bestcsharp.bl...
    facebook: / 1bestcsharp
    twitter: / 1bestcsharp_
    subscribe: goo.gl/nRjPKk
    programming projects with source code:
    1bestcsharp.blo...
    C# And Java Programming Books
    1bestcsharp.blo...
    share this video: • C# - How To Add Row To...
    #Csharp #DataGridView #Row
    ----------- COURSES YOU MAY LIKE -----------
    C# Courses: bit.ly/2rnt3C4
    Entity Framework Course: bit.ly/2rl9HAr
    C# WPF Course: bit.ly/2DeWGv8
    ASP.NET Course: bit.ly/2D8yR82
    .Net Core Courses: bit.ly/2Oh6sD3
    Full-stack .NET Developer Course: bit.ly/2OfooOB
    Xamarin For Mobile Apps: bit.ly/2OKIG1g
    Web Development Course: bit.ly/33eai4h
    Javascript Courses: bit.ly/35oYKwq
    Python Course: bit.ly/2XIdWlD
    React Course: bit.ly/2KQ7vrB
    PHP Course For Beginners: bit.ly/2GxRodb
    Data Science Course: bit.ly/2Of3xL9
    Machine Learning Courses: bit.ly/2qHHBzh
    Docker Course: bit.ly/37wivnH
    Big Data Courses: bit.ly/35qSGU4

Комментарии • 37

  • @Gadorak
    @Gadorak 3 года назад +5

    FIRST VIDEO WHO LEGIT HELPED ME, THANK YOU MAN

  • @lostsoul9147
    @lostsoul9147 Год назад +1

    i just wanted to thank you so much you've just solved a problem that i've been facing that i couldn't solve, again Thank You .

  • @jcortiz3305
    @jcortiz3305 2 года назад +1

    Very helpful dude, I was looking for something like this and I finally found a good solution!

  • @Dadhustle
    @Dadhustle 2 года назад

    Bless you! I've been at this for hours. Very helpful; was able to call method, which dynamically fills two differ grids -saved me substantial rewrite!

  • @Kamil32-nq6be
    @Kamil32-nq6be Месяц назад +1

    THX, you really helped me a lot!

  • @theyo1966
    @theyo1966 3 года назад +1

    MAN you helped me a lot :") thanks, bro! you are the best!

  • @ajini.p
    @ajini.p 4 года назад +1

    YOU JUST SAVED MY LIFE!!!!!! LYSM

  • @sysquestcomputacioncorp27
    @sysquestcomputacioncorp27 2 года назад +1

    ME ayudó el método 2, excelente, todo el día con este problema y por fin me diste luz. Gracias
    💯

  • @themiyalumia1383
    @themiyalumia1383 4 года назад +2

    you save my life, thanks so much!!!!!!!

  • @bitiset
    @bitiset Год назад +1

    Merci 3lik wld ma
    😍

  • @paullushnykov
    @paullushnykov 3 года назад +1

    Very useful video, thanks.

  • @maralgaisiyeva4499
    @maralgaisiyeva4499 2 года назад +1

    THANK YOU SO MUCH MAN!!!!

  • @oumaimasouid4513
    @oumaimasouid4513 2 года назад

    thanx , the method number 2 is work successfully

  • @KinoDarkvall79
    @KinoDarkvall79 3 года назад +2

    Hey man could you help me out?
    When I add the code to the button to add data to the rows, the part with "dataGridView1" shows error: "is inaccessible due to its protection level" I'm still learning :/

    • @theyo1966
      @theyo1966 3 года назад +1

      you have to make sure you put the modiefier of Data Grid View in public

  • @ecaichino
    @ecaichino 2 года назад

    Hi! This video is super helpful and it actually works but I'd like to know what fg and fgrid does to the datagridview file. I'm new to c# but I still couldn't understand these basics.. thank you very much!

  • @javosq367
    @javosq367 11 месяцев назад

    im doing this in form 3. where the 4 is where is my FormInfo, what code should i use in program.cs

  • @Svetlyi_chelovek
    @Svetlyi_chelovek 2 года назад +1

    Exception: "Rows cannot be programmatically added to the datagridview row collection when the control is data bound"

  • @sharina2849
    @sharina2849 Год назад

    Hi i would like to ask what is the reason for this problem " System.InvalidOperationException: 'Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bound.'
    " i tried fixing it using the source code yet still not working.

  • @Alina-gr7uv
    @Alina-gr7uv 4 года назад

    Hello, thanks for the video, How can we update the datagridview from that form? Thanks in advance!!!

  • @abdullahalal-hammadi9316
    @abdullahalal-hammadi9316 2 года назад +1

    thanks alot 😘

  • @infopedictechie1667
    @infopedictechie1667 4 года назад

    best tutorial video in internet

  • @Ulric_PenDo
    @Ulric_PenDo Год назад

    is it just me but there is no audio... I will attempt to figure this out from just the code

  • @revine_music
    @revine_music Год назад

    How about with a database?

  • @aymanmicky3232
    @aymanmicky3232 3 года назад

    Thank you so muchhhhh

  • @anugrah53
    @anugrah53 3 года назад

    How can we edit the existing item and display in the grid

  • @poorpeoplegovanah
    @poorpeoplegovanah 2 года назад

    Thank you sir

  • @nadirabbasov6029
    @nadirabbasov6029 2 года назад

    Thank you bro

  • @MirzaAli85
    @MirzaAli85 5 лет назад +2

    First sir

  • @usmanghani9516
    @usmanghani9516 3 года назад

    Amazing but add some sound in your vedio

  • @sarafina2551
    @sarafina2551 3 года назад

    hoho thankyou

  • @tufelahmedlokhandwala668
    @tufelahmedlokhandwala668 4 года назад

    Using mic could be a better option for explanation. Having huge amount of subscribers but still afraid to speak up means you are not confident about your videos.

  • @chopo156
    @chopo156 4 года назад +2

    you save my life, thanks so much!!!!!!!

  • @yamanoboru1839
    @yamanoboru1839 3 года назад +1

    you save my life, thanks so much!!!!!!!