Monday, February 19, 2018

Dotnet Tutorial 3 Operators

Operators

1. Assignment
2. Arithmetic Operators
3. Comparison Operators
4. Conditional Operator
5. Ternary Operator




Default Values of Data Types in Dot Net:

1. Null Value Type : Int , Float , Boolean , structs , enum etc.
2. Reference Value Type : Class,Interface,Delegates,Arrays etc.

Like in NAV , we generally dont care about default values of Variables and simply use CLEAR Function. But in Dotnet you need to be very curious about nullable value because you are going to use database anyhow to store and record the result.

Database concept is containing NULL value so how can we do this in Dotnet because here we need to work with variables like int and it can't contain Null value directly.

See this , how we can simply put ? after variable and can store null also in a variable.


Convertion of One DataType to Another DataType :

Yes , Its seriously required in Dotnet programming. Normally we dont need this functionality too much in NAV programming.

Simply we need to use Convert.Datatype.

NORMALLY WE ONLY USE format IN NAV.

Use Of Parse and TryParse

Parse : This function is used for converting the datatypes but it can give you Error if conversion is not successful.

TryParse : This function is will not throw error and program will run smoothly without stoping the process.





Sunday, February 18, 2018

Dot Net Tutorial 2 Understanding Place Holders

Hi ,

As in MS Dynamics NAV, we have used several times messages with FORMAT FUNCTION.

Same we do in Dot Net using Concatenation and place holders.


Main Data Types in Dot Net :

These datatypes store memory space for further calculation. Same when we define global and local variable in NAV.

1.Boolean
2.String
3.Integer
4.Float

All Datatypes Details are in the below URL :


How to define data Types in C# ?

To define any datatype in C# :

Just write the DATATYPE VARIABLE-NAME.

Below program is writing the minimum and maximum value in integer type variable like the same we can check for other data types.






Dot net Tutorial 1 Start Learning C#

Hi ,

MS Dynamics NAV 2018 has started his wings to compete and use Dotnet. This blog series is for all NAV developers and Technical Consultant.

TOPIC 1 : Structure of Dotnet.


Step 1 : Define Name Space.

Namespaces are used to define classes like system classes and self developers classes.

We can define more than 1 namespace if developers are more than 1.

Step 2 : Define Class.

All code is written in Code called class. This is called Object Oriented Concept.

Step 3 : Design Main Function.

Static as it means non changeable here it means it is only used in current class.
Void is Keyword.
String[] Args is defined argument.

This is a small demonstration for dot net program.

Additional : How to call another function in Main()?





Friday, December 1, 2017

Download MS Dynamics NAV 2018

Finally Download your MS Dynamics NAVISION 2018


Finally the wait is over and you can download your latest version of MS Dynamics NAV 2018.

If you have your partner source email id then Visit Here.




Enjoy the new Deal from Microsoft.



Sunday, November 19, 2017

How to create Table Header constant in Body of RDLC and SSRS Reporting?


Hi ,

This is a simple steps guide in 1 report where I had created the Header Tab-lix common for all pages in body.  In this report I had used 3 tab-lix and Header I had made constant using the advanced mode.

This is for reference to remember to do complete the report without crushing your head in grinder. :)

I had defined 5 steps.

1. Click on Advanced mode.
2. Select Static Row. And Change the 2 properties mentioned in screenshot.