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.
Hi all, i Have two tables are related.
I need to get current row in the nested table.
I tried
String path = dataset11.Portfolio.TableName + "." + dataset11.Relations[0].RelationName;
BindingManagerBase cm = BindingContext[dataset11, path];
object o = cm.Current;
But, it always returns first row of the nested table.
Regards, Slava.
>Hi all, i Have two tables are related.
>
>I need to get current row in the nested table.
> I tried
> String path = dataset11.Portfolio.TableName + "." + dataset11.Relations[0].RelationName;
> BindingManagerBase cm = BindingContext[dataset11, path];
>
> object o = cm.Current;
>
>But, it always returns first row of the nested table.
>
>Regards, Slava.
Get the rowindex
int rowIndex = Gridname.CurrentCell.RowIndex;
GridBoundRecordState rs = gridname.Binder.GetRecordStateAtRowIndex(rowIndex);
DataRowView drv = (DataRowView)rs.ListManager.Current;
This should work for you.
Ben
BEBenMay 14, 2004 11:58 AM UTC
Here''s thread I had on this few weeks ago
http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=12909