4
Answers

DataGridView RowHeight

Photo of giovanni

giovanni

14y
12.8k
1
Hi,

my problem is the following:
in a data bound datagridview the resize of a row works fine until I change the value and store it to the DataBase.
After the store operation all the rows height return to the original default size, while I'd like to keep the current one.

How can I solve this problem?

Thanks in advance
Giovanni

Answers (4)

0
Photo of Vijaya Kadiyala
NA 2.4k 258.5k 16y

Hi

Check out the below link

http://www.dotnetspider.com/resources/819-An-Indepth-coverage-Triggers.aspx

Thanks -- Vijaya Kadiyala

0
Photo of Bechir Bejaoui
NA 20.1k 5.3m 16y

It's simple, you just follow this tutorial

http://msdn.microsoft.com/en-us/library/ms189799.aspx

You can create a trigger from within visual studio too using C#

http://www.c-sharpcorner.com/UploadFile/pk_khuman/ManagedTrigersUsingCSharp02202007230729PM/ManagedTrigersUsingCSharp.aspx