c# .net Adsense ADO.NET Linq Viruses/security asp.net MVC JQuery Angular-js Node-js SEO Java C++ SQL API Networking vb.net .Net Css JavaScript Generics c#.Net entity framework HTML Website host Website Construction Guide HTTP tutorial W3C tutorial Web Services JSON Psychology Ionic framework Angular ReactJS Python Computer Android

How to generate a row of every 15 minutes of the start time and end time?

| | Category: SQL

I have the specified start date time and end date time i.e (end date time is end of sequence), I add a time interval (this can vary) to the start date time in minutes and this gives me the end date time. we can set time interval 15minutes (60 sec*15 min=900sec).

[solved ]The required anti-forgery cookie "__RequestVerificationToken" is not present.

| | Category: c# .net

We need to add [ValidateAntiForgeryToken] attribute before our action. And also should add @Html.AntiForgeryToken() in our form.

How to delete duplicate rows in sql?

| | Category: SQL

Here I am using CTE(Common Table Expression) for Delete duplicate rows. PARTITION BY : It devides the query result into partitions Row_NUMBER : gives unique name for all duplicate rows ie., if one row record repeated for 3 times . it gives the index such as 1,2 and 3 Using this query we can delete all duplicate rows in a table

How to use dropdownlistfor in MVC .net?

| | Category: c# .net

Simple example of how to create a drop down list in ASP.NET MVC using DropDownListFor.

How to add a column with a default value, to an existing table in SQL Server?

| | Category: SQL

If it's not a nullable column, you have to insert some value to existing table in SQL server.

how to use goto statement in c#?

| | Category: c# .net

The goto statement is a jump statement that controls the execution of the program to another segment of the same program.

how to do while loop in C#?

| | Category: c# .net

We need to repeat the code block of C# statements as long as a certain Boolean expression evaluates to true.

how to use foreach loop over arrays in C#?

| | Category: c# .net

Foreach Loop In C# is used to access or iterate each item in a collection. We use foreach, on a string array, to loop through the elements in the array.

how to use for loop in C#?

| | Category: c# .net

For loop that needs to execute a specific number of times until a specified expression evaluates to false.

How to Remove the last char of String in C#?

| | Category: c# .net

If we want to Remove last character from string using c#. If we want to remove the last char of my string whatever it is. So we want if my string is "12342" became "1234".

Page 79 of 82