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

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

1BestCsharp blog

5 лет назад

63,195 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Sharina
Sharina - 31.07.2023 14:20

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.

Ответить
Ulric
Ulric - 15.03.2023 21:53

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

Ответить
bt7
bt7 - 19.11.2022 14:03

Merci 3lik wld ma
😍

Ответить
ReVine
ReVine - 09.11.2022 06:19

How about with a database?

Ответить
lost soul
lost soul - 28.10.2022 09:48

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 .

Ответить
SyS Quest Computación Corp
SyS Quest Computación Corp - 07.06.2022 06:55

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

💯

Ответить
Maral Gaisiyeva
Maral Gaisiyeva - 18.04.2022 21:56

THANK YOU SO MUCH MAN!!!!

Ответить
JC Ortiz
JC Ortiz - 25.03.2022 06:04

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

Ответить
abdullahal al-hammadi
abdullahal al-hammadi - 17.03.2022 17:17

thanks alot 😘

Ответить
ぐむ
ぐむ - 23.02.2022 14:47

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!

Ответить
Dadhustle
Dadhustle - 04.02.2022 23:24

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!

Ответить
Musa Jaiteh
Musa Jaiteh - 31.01.2022 07:26

Thank you sir

Ответить
Oumaima Souid
Oumaima Souid - 16.11.2021 17:36

thanx , the method number 2 is work successfully

Ответить
Светлый человек
Светлый человек - 22.10.2021 14:48

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

Ответить
Nadir Abbasov
Nadir Abbasov - 13.10.2021 15:51

Thank you bro

Ответить
Hans Potosme
Hans Potosme - 13.06.2021 10:24

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

Ответить
Ayman Micky
Ayman Micky - 04.06.2021 17:42

Thank you so muchhhhh

Ответить
Antonio Toledo Jr
Antonio Toledo Jr - 04.06.2021 06:29

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 :/

Ответить
Paul Lushnykov
Paul Lushnykov - 20.05.2021 23:46

Very useful video, thanks.

Ответить
Sarafina
Sarafina - 20.04.2021 21:24

hoho thankyou

Ответить
Gadorak
Gadorak - 14.04.2021 19:13

FIRST VIDEO WHO LEGIT HELPED ME, THANK YOU MAN <3

Ответить
Yama Noboru
Yama Noboru - 07.03.2021 19:48

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

Ответить
Usman Ghani
Usman Ghani - 13.02.2021 10:12

Amazing but add some sound in your vedio

Ответить
Anugrah
Anugrah - 11.12.2020 09:13

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

Ответить
Ajini Sahejana
Ajini Sahejana - 02.07.2020 07:28

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

Ответить
Alina
Alina - 10.05.2020 10:32

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

Ответить
Themiya Lumia
Themiya Lumia - 03.03.2020 17:55

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

Ответить
Rolando Violeta
Rolando Violeta - 24.02.2020 14:03

That's More Like it, Simple and Easy way.. Which of this Method can EasylyAcces by other Form ithink Method2 no More Coding in near in namespace Just Type the Code in Button.. Yeah

Ответить
Tufelahmed Lokhandwala
Tufelahmed Lokhandwala - 13.02.2020 13:53

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.

Ответить
Infopedic Techie
Infopedic Techie - 27.12.2019 17:55

best tutorial video in internet

Ответить
JcK-Jerico
JcK-Jerico - 09.11.2019 07:58

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

Ответить
Mirza Here
Mirza Here - 03.07.2019 03:50

First sir

Ответить