Author: Ashif
-
Linq in Array in c#
Linq can be implemented in array with c#, below is code example of linq with array. var GroupCount = Request.QueryString[“AllchkIDs”].ToString().Split(‘,’).Where(i => i != Request.QueryString[“GroupBy”]).FirstOrDefault();
-
Dynamic Grouping in SSRS
Dynamic grouping some time requires where grouping field can be send through parameter field , in below example there is groupby is parameter field where , i am sending…
-
Multiple attribute based jquery map with join
How to add multiple attribute based selector and var AllchkIDs = $(‘input[sid=”ChkFlddisp”]’).map(function () { var nval = $(this).val(); // alert(nval); var chkid = ‘input:checkbox[vid=”ChkFlddisp”][value=’ + nval + ‘]’; var…
-
Hide table column dynamically in SSRS sql server
For hiding column in ssrs there is a feature of hidecolumn , in rdlc file. for dynamic fields are coming from stored procedure those fields are missing , it…
-
Data merging Sql in Sql server
Below is the stored procedure of data maintenance sql server USE [PCCAS] GO /****** Object: StoredProcedure [dbo].[sp_DataMaintenance_Insert_Update] Script Date: 05/06/2014 11:14:44 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER…
-
Minification and bundling in MVC 4
In MVC 4.0 or asp.net 4.5 , new feature came from microsoft is Bundling and minification. A)Bundling : Previously Files like multiple css and javascript , which were in…
-
Update multiple Record In List using linq
Sometime it requires to update multiple records in List using linq, previous process was for loop, but using below example using linq , update can be done for list…
-
Temp Data uses in MVC
Tempdata is a dictionary object which derives from TempDataDictionary,Tempdata is very uses full for below uses 1)Passing data from Action to Action in same controller 2)passing data from one controller…