-
Different types of results in MVC
In MVC there are almost 12 types of result , Actionresult class is the base class and there are eleven sub types are available. a)Viewresult: for returning view only. b)PartialViewResult:…
-
Using Asynchronous Methods in ASP.NET MVC 4
In .net 4.5 , there is a new feature is called asynchronous method calling , action methods that return an object of type Task<ActionResult> , MVC 4 supports Task based Programming ,…
-
Differance between @@IDENTITY ,SCOPE_IDENTITY() and DENT_CURRENT(‘tablename’)
It is very good question for interview to select this question, this is really very good question to ask. SELECT @@IDENTITY It returns the last IDENTITY value produced on…
-
Cannot use text, ntext, or image columns in the ‘inserted’ and ‘deleted’ tables
At the time of creating Trigger on any table which includes nvarchar,ntext, image field then an error can be seen for Cannot use text, ntext, or image columns in…
-
Filters in mvc
there are different types of filters in mvc,the execution of filters below like A)Authorization filters: this filter implements using IAithorizationFilter , it is used to secure action like performing…
-
select text using sp_helptext
it is great tools for selecting whole text of stored procedure,table etc . it is very easy to use for dynamic query without using concatenate . it is also…
-
Update Multiple Row using Linq
some time it requires to update multiple record using linq , for selecting single value you have to use Dirstdefault() , but for selecting multiple value you have to…