c# - Select statamen of a Datarow array -
I have the following code, first I filter by a foreign key, but then with that result, More filters have to be made.
But I can not understand the syntax of Select You can add more and many conditions within the selection such as () given below for a DataRow array.
UC021_WizardStepSelectUnitDataSet.WizardStepSelectUnits_UnitsSelectedInOtherAgreementsRow [] datarows = _uc021_ WizardStepsunitDetsetSet. MagicStat.netAnnits_Admitted Select ("UnitID =" + Row UnitID) .Cast & lt; UC021_Advertisement StepsAnnitDetsetSet Setup MagicStatAnnate_Net Selected OtherAggraser Rau & gt; (). ToArray (); Datarov [] DR = _uc021_ WizardStepsunitDataDetetSet. WizardStepSelectUnits_UnitsSelectedInOtherAgreements.Select ("UnitId =" + row.UnitID); If (datarows.Length & gt; 0) {dr.Select (""); }
on datatyah if you are the same If you add to the query, in this case the filter that matches the
row.UnitID is found, which is found under the DataTable column
UnitId .
. Select ("UnitID =" + Line + UnitID + "and IActiv = 'Y'")
Comments
Post a Comment