How select on column in datatable and assign it to datarow array

@moha_attia,

Try this one:
Datatablename.select(“ColumnName = value”)

1 Like

Hi,

Please try this arrayDrValue=datatable.Select("[ColumnName] = ‘Value’") This will return you array of datarow,
arrayDrValue = array of data row

Please let us know if this helps.:slight_smile:

Regards,
Pavan H

1 Like

Hi,
try this.

Regard’s,
Suruchi.

2 Likes

thanks all for reply i now it but i need all data in City Column not just ‘Mumbai’

Hello @moha_attia,

Hope this could help you, the following link os for a similar problem:

You can use something similar to ExtractDataTable.AsEnumerable.Select(Function(row) row(“City”).ToString)

Best regards,
Susana

1 Like

thanks all ,