Hello Everyone, This blog is my notepad :) where i make a note of the new learnings ,issues i have faced with in the real time environment.Hope these posts are helpful :)
Pages
Thursday, October 30, 2014
how to generate getters and setters in visual studio
My requirement was to generate 10 properties in the following format
public int ID { get; set; }
Visual studio has an shortcut for this, just type prop and then hit tab twice .
public int ID { get; set; }
Visual studio has an shortcut for this, just type prop and then hit tab twice .
Monday, October 27, 2014
deepstutorials:Visual Studio -solution does not get online automatically although TFS is connected
Right Click on the solution in Solution Explorer and select "Go Online". Hope that helps. |
Tuesday, September 9, 2014
Add custom code to report builder/SSRS
Sometimes ,your requirement may not be done with the default functions or custom expressions.This is when the custom code comes into picture.Following are the steps to embed the custom code in the Report builder/SSRS
1.In Design mode,right click outside the border of the report and click on Report properties
3.Add the custom code to the window as shown below.
4.Click Ok.(Errors are only shown when you run the report)5.Following is the way to call the code in the corresponding cell of the report.
=Code.BatchServiceStatusString(Fields!BatchServiceStatus.Value)
The meaning of the above code snippet is for the corresponding Fields!BatchServiceStatus.Value there would be a corresponding return value based on the condition satisfied.
Thursday, September 4, 2014
To hide static columns in a matrix, list , or table(Report Builder/SSRS)
- In Design view, select the table, matrix, or list to display the row and column handles.
- Right-click the column handle, and then click Column Visibility.
- In the Column Visibility dialog box, follow the below steps
- In When the report is initially run, specify whether to hide the item when you first view the report:
- To display the item, click Show.
- To hide the item, click Hide.
- To specify an expression that is evaluated at run-time, click Show or hide based on an expression. Type the expression or click the expression (fx) button to create the expression in the Expression dialog box.
Subscribe to:
Posts (Atom)