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 () 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 (""); }    

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 .

You can add more and many conditions within the selection such as

 . Select ("UnitID =" + Line + UnitID + "and IActiv = 'Y'")    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -