The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Back to my question:
I have a GridDataBoundGrid bound to a datatable: dtblParts, and in it I display the following columns: CategoryID, PartID, Price and Quantity. Price column gets populated based on my selection in CategoryID and PartID. What I want now is that when I put in a value for Quantity a TotalPrice to be calculated and displayed somewhere on the form. To do that I do have a routine that checks the number of rows datatable has. Here is the problem: the number of rows is: 0.
This is the way I initiate a "New part " operation:
dtblParts.rows.Clear
dtblParts.NewRow
grdParts.DataSource = dtblParts
grdParts.Refresh
Why when I start editing Quantity column my datatable does not have any rows, because I just added one. You have to click on the next blank row and back in to get a row added to the datatable. (I check to rows.Count property)