Hi all,
I add more more DataRow, i want to get the DataRow index. For example, i have 5 records, i want to record 2 index (Filter funcid and userid)
I find AccessrightBindingSource.Find("funcid", "aaa") function , but this function only one parameter, if i want to check 2 parameter, not ok ...
Although i can use ds.dt.Select("userid='111' and sysid='aaa'") to record 2 but can' t get this index...
After i find ds.dt.Rows.IndexOf but how can i use , anyone one can give some idea , thank you ~~~
I try the below code error... Value of type '1-dimensional array of System.Data.DataRow' cannot be converted to 'System.Data.DataRow'
Dim a As Integer
a = WilsonDataSet.accessright.Rows.IndexOf(WilsonDataSet.accessright.Select("userid='111'")) 'error in this