I am getting error CS0149 method name expected


What wrong i am doing here. Please suggest/help

@Akshata_Hadagali
welcome to the forum

maybe you are working in c#
Convert.ToInt32(CurrentRow["Fees"].ToString())-300;

Hey ppr, Thanks for respondiing.
I tried this and still getting some error. Even if i use simple expression as CurrentRow(“Fee”); I am getting this error.

Hi,

As @ppr suggested in previous post, we need to use square bracket for indexer of datarow in C#.
So, the expression will be CurrentRow["Fee"]

Regards,

2 Likes

Hey @yoichi, thank you … I am just a biginner and missed to check that. This is resolved now.

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