In this post we will discuss how we can change code language to infopath 2010 in SharePoint. Also you can check out my previous posts on:
You can change the language in 2 different ways:
In the InfoPath form, Go to the Developer tab and Click Language as shown in the figure below:
Then Under Programming Language, change the value in the Form template code language drop-down list from Visual Basic to C#.
Go to the File Tab, then Options Then click on More Options as shown in the figure below:
Then in the Options dialog box, Select C# in Programming language when designing forms that run in InfoPath And also Select C# in Programming language when designing for InfoPath and InfoPath Form Services. Check the figure below:
After this the language will change from VB to C#.