
Search In
Many times in application development using C# it is required to get the directory from a file's full path.
Let us say we need to find the directory for the following path:
string path = @"C:\Directory\File.txt";
If the requirement is to get t
Many times in application development using C# it is required to to post some data to a specific URL. In this article I will show two options for implementing this :
1) Using WebClient
string url = "http://www.url.com/post.aspx";
string params =
We can add pagination to our page.
In wordpress we can split multiple post in different pages.
We can set how many post per page we want
When multiple loops are used in a theme template file only one loop, the main loop, can be paginated.
<?ph
Check browser support for File api : File api is a feature of HTML5. File api is basically for doing some processing on the local files. User can get the files mime type or last modified date etc. User can also achieve the drag and drop file upload f
Z-index Definition:-
z-index property specifies stack order of any element or it only works for the positioning of an element i.e when position is absolute, relative and fixed.The vale of Z-index mostly used -1, 0 ,1
-1 is used for the positionin
Hello Friend,
Many times we need to find and remove duplicate data in the spreadsheet and may of us do this task manually.
But what if one have a large data containing thousand of columns will you then do this one by one, for me it will be impossib
Abstraction
Abstraction is a concept which shows only important(essential) feature and hide background details.
In other way, abstraction shows only those things to user which are important and hides the background details.
for eg :- example of ab
How to swap two variables in one line in Java?
// Java program to swap two variables in single line
class Demo
{
public static void main (String[] args)
{
int a = 6, b = 11;
a = a ^ b ^ (b = a);
System.out.println("After Swa
Program to Reverse an array without affecting special characters in C++
using namespace std;
bool isAlphabet(char x) // Function returns true if an alphabet
{
return ( (x >= 'A' && x <= 'Z') ||
(x >= 'a' &&am
Does C support function overloading?
Function overloading is a feature available in most Object Oriented Languages such as C++ and Java. But C (not Object Oriented Language) doesn’t support function overloading. Function overloading can be defined
