Error : convert generic value to int32

I want convert generic value to int32.

but error as below.

Please guide me for solve it.

Hi @fairymemay

Please try this if it works,

Cint(rows.tostring)

Or

Convert.toint32(rows.tostring)

Thanks

1 Like

@prasath_S If use Cint(rows.tostring) error as below.

image

If use Convert.toint32(rows.tostring) error as below.

image

@fairymemay

I think it has space use Cint(rows.tostring.trim)

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.