
Search In
I made a popup feature, which shows the phone number of a user. I was able to apply this feature to one instance. A single user.
Normally, each user has a unique phone number.
But then, I thought, what if I have lots of users as they come, to my si
HI Guys,
Some times we want to know that what SQL operation is running on a particular page or a event, then we have to debug our code base and we get the result, but it's time taking process to debug code line by line and as well as some time w
While writing codes in MVC we use different way to interact with the database.
Then we can use LINQ for doing it in the database it will make our code easy to read and make the manipulation easy and faster.
First we will create a Da
While working in MVC we use LINQ to make our task easier and to make the manipulations easier
First we will create the action for doing this task.
[HttpPost]
public JsonResult Remove(int id)
{
n
In writing the code in MVC we can use the LINQ Language Integrated Query then we use this query for interacting with the database that will make the manipulations easier and time efficient in terms of execution and in terms of programming .
&n
In today's world, we need to display the data in tabular format with edit and delete functionality. For example, in ASP.NET we have Gridview control, which is more simple to achieve this. We have Edit data template and view template in ASP.NET Gr
In SQL Server, we are very familiar with IN keyword and we use this keyword in many times which is very helpful for us. It save our extra efforts and code line like below query.
To achieve this in LINQ , we heve below two mechanism
Throw Exception from Expression
When we use throw exception inside expression we got compile time error
In C# 7.0 you can directly throw exception from your expression directly. see below code
public string getEmpInfo( string Em
The concept of optional parameter was introduced in C#4.0. Optional parameters enables you to pass the only required parameters. Each optional parameter has its default value, if no value is passed for this default parameter then its default value wo
While making requests to a server you never thought how that request gets fulfilled .
For ex : If you are accessing the Gmail its main server will be out of India so if its out of india how the processing is so fast that we get data in less