Level 1 Foundation Training - Lesson 3 Practice 1 Compiler Error

Hello everyone, while I am working on the Lesson 3 Practice 1 I encountered a Compiler Error “Main.xaml: Compiler error(s) encountered processing expression “row(“First”).ToString”.
Option Strict On Cannot convert ‘String’ from ‘Integer’” , but I follow all variables settings in walkthrough, can anyone explain to me what I have set wrong that leads to this error?

Thank you!

1 Like

Hi @Rinoa_Chan

On the first glance you are converting the String to integer .Can you give me more details to easily address the issue.

cheers :smiley:

Happy learning :smiley:

3 Likes

Hello @pattyricarte, thank you for your reply!

Here is a screen capture of where I found my error.
Can you see what goes wrong here?

Please tell me more info is needed. Thanks!

1 Like

AS i can see your doing right @Rinoa_Chan can you share it for me your xaml to figure out.if it is ok!

cheers :smiley:

Happy learning :smiley:

3 Likes

Can you hover on the error image at that assign activity and also post whatever you are passing in the right side of the assign activity @Rinoa_Chan?

did you retain the column headers in the datatable?

1 Like

Thanks @pattyricarte. But I don’t know why it says " new user cannot upload attachment" when I try to upload the xaml file?

1 Like

Yes i did

1 Like

Thanks @HareeshMR. Here is the error image. Those Chinese words say " not allowing conversion from “String” to “Integer”.

Thank you

Can you try doing the same using for each row activity @Rinoa_Chan?

@Rinoa_Chan
You hare restriction because you are new user try to put in folder and zip it. Thanx

4 Likes

can i see ur properties for read csv?

Still could not upload even I zip the folder, saying “Sorry, new users can not upload attachments.”

1 Like

Here is the screen capture, thank you.

Hi @Rinoa_Chan

I am curious about your error? maybe you can send your xaml to my email.
patty.ricarte@essilor.com and i will notify you once done.

cheers :smiley:

Happy learning :smiley:

3 Likes

Thank you for your help! I just sent via my gmail. Kindly check.

1 Like

@Rinoa_Chan
Got it thanks ill check later and once done i will notify you okies.

cheers :smiley:

Happy learning :smiley:

3 Likes

Hi @Rinoa_Chan
I did check your xaml but i am confused what error was ?

image

as i can see no error anymore!

cheers :smiley:

Happy learning :smiley:

3 Likes

Thanks! Can you try running it? coz I run it again here it still shows error as below

1 Like

Hi @Rinoa_Chan

Can i have your csv as well to easily address the issue.

cheers :smiley:

Happy learning :smiley:

3 Likes