Please help me with this code


#1

Hellow

I have absolutely zeo knowledge about .net
Can anyone tell me what this means?

dtForm.Select(String.Format("{0} =’{1}’", “A”, row(“A”).ToString))(0)


#2

It will return the dataRow. based on the condition will return the first row.

Regards,
Arivu


#3

Hi,

it just returns first row from the data table if the condition satisfies, else returns null reference.

Regards,
Sarath.


#4

thanks!


#5

welcome :slight_smile: