Saturday, 26 September 2015


create RSS fied



Description:-

In this example we explain that how to create RSS fied or create sample of the RSS fied in asp.net using C#.


First of all what is RSS. Its stands for “Realy Simple Syndication”. RSS are generally used to solve problems for users that regularly uses the internet’s provide user to easily stay informed by retrieving the content from the websites or any blogs in which you are interested. User can save the time by using RSS facility you do not need to visit each website individually.


how to Create RSS feed Using Asp.net using C#


create RSS fied



Description:-

In this example we explain that how to create RSS fied or create sample of the RSS fied in asp.net using C#.


First of all what is RSS. Its stands for “Realy Simple Syndication”. RSS are generally used to solve problems for users that regularly uses the internet’s provide user to easily stay informed by retrieving the content from the websites or any blogs in which you are interested. User can save the time by using RSS facility you do not need to visit each website individually.



The time entry in input field by AM PM

Description:

In this example we explain that how to create the date/time entry functionality can easily be added to an input field or textbox in asp.net using jQuery or JavaScript. Or create input field time format using jQuery.

Here user can insert time into textbox but here AM and PM is default you select it but you cannot edit AM or PM with other value.

Here we demonstrate the Time Entry is a jQuery time plugin that enables your input field or textbox to accept a time value using a spinner.here you have to create one .js file and put the below code in it.

date/time entry functionality in input field using jQuery spinner


The time entry in input field by AM PM

Description:

In this example we explain that how to create the date/time entry functionality can easily be added to an input field or textbox in asp.net using jQuery or JavaScript. Or create input field time format using jQuery.

Here user can insert time into textbox but here AM and PM is default you select it but you cannot edit AM or PM with other value.

Here we demonstrate the Time Entry is a jQuery time plugin that enables your input field or textbox to accept a time value using a spinner.here you have to create one .js file and put the below code in it.

Wednesday, 16 September 2015


merge cell or coloumn in gridview



Description:

In this example we explain that how to merge cells in gridview in asp.net. Or Merge Cells Columns in Row of GridView. Merge GridView Cells or Columns in a Row in ASP.Net using C#.

Here we use ondatabound event of the gridview to merge the common cells in one cell in gridview in 
asp.net. Here we counting total rows in gridview and then checking each cells value against value of same cell in previous row and then setting the RowSpan of cells.

Many time there is a situation when gridview contain same values for a column in multiple rows.so this repeated items are displayed in one time and merge cells.

Here we demonstrate merge cells in gridview that has same value in 
asp.net or how to merge all rows in a coloumn in a gridview in asp.net

how to merge cells in gridview in asp.net using C#


merge cell or coloumn in gridview



Description:

In this example we explain that how to merge cells in gridview in asp.net. Or Merge Cells Columns in Row of GridView. Merge GridView Cells or Columns in a Row in ASP.Net using C#.

Here we use ondatabound event of the gridview to merge the common cells in one cell in gridview in 
asp.net. Here we counting total rows in gridview and then checking each cells value against value of same cell in previous row and then setting the RowSpan of cells.

Many time there is a situation when gridview contain same values for a column in multiple rows.so this repeated items are displayed in one time and merge cells.

Here we demonstrate merge cells in gridview that has same value in 
asp.net or how to merge all rows in a coloumn in a gridview in asp.net

Sunday, 13 September 2015


moving record of datatable in asp.net




Description:-


In this example we explain that how to move rows up and down in datatable in asp.net. or Moving row of a DataTable up and down. Or interchange the position of DataRow in DataTable or change the index or position of the datarow in datatable in asp.net.

Sometime You will need to add an Order column, and assign the DataGrid with a DataView sorted by the Order column. In order to switch the position of rows, you will need to set the Order value of each row.

That was the real problem that I was faced before sometime and then now I wil solved it.my problem was that I want to arrane thje datarow in datatable. In my datatable's one coloumn is that "colorarea". And if colorarea's value in datarow is "cell" then its position remain same in datatable but colorarea's value is "row" then it's datarow position are moved to the last position of the Datatable rows.

So how to handle that's type of situation and so far we will demonstrate to move or change the position of the datarow in datatable in asp.net using c#.

moving rows of DataTable up and down in asp.net using C#


moving record of datatable in asp.net




Description:-


In this example we explain that how to move rows up and down in datatable in asp.net. or Moving row of a DataTable up and down. Or interchange the position of DataRow in DataTable or change the index or position of the datarow in datatable in asp.net.

Sometime You will need to add an Order column, and assign the DataGrid with a DataView sorted by the Order column. In order to switch the position of rows, you will need to set the Order value of each row.

That was the real problem that I was faced before sometime and then now I wil solved it.my problem was that I want to arrane thje datarow in datatable. In my datatable's one coloumn is that "colorarea". And if colorarea's value in datarow is "cell" then its position remain same in datatable but colorarea's value is "row" then it's datarow position are moved to the last position of the Datatable rows.

So how to handle that's type of situation and so far we will demonstrate to move or change the position of the datarow in datatable in asp.net using c#.

auto increament serial number in webgrid in mvc razor



Description:-


In this example we explain that how to auto increment Row value of web grid in mvc with asp.net. Or auto generates Row value in web grid in mvc or auto generate column for web grid in mvc that define the SR No in web grid in mvc with asp.net.

In simple grid view with asp.net we all know that how to add auto increment row value in simple asp.net grid view but when we are work in mvc architecture at that time how to auto increment row value of web grid in mvc.

Dynamically Bind Data in Ajax Accordion Panel Bind Data to Accordion from databse

Restrict the size of File when Uploaded How to Restrict the size of File when uploaded by user

Auto Increment Row Value In Asp.net MVC WebGrid Using C#.Net

auto increament serial number in webgrid in mvc razor



Description:-


In this example we explain that how to auto increment Row value of web grid in mvc with asp.net. Or auto generates Row value in web grid in mvc or auto generate column for web grid in mvc that define the SR No in web grid in mvc with asp.net.

In simple grid view with asp.net we all know that how to add auto increment row value in simple asp.net grid view but when we are work in mvc architecture at that time how to auto increment row value of web grid in mvc.

Dynamically Bind Data in Ajax Accordion Panel Bind Data to Accordion from databse

Restrict the size of File when Uploaded How to Restrict the size of File when uploaded by user


increase list value by one on press of arrow keys



Description:


In this example we explain that how to increase or decrease the value of the list based on arrow key press event using JavaScript or jQuery in asp.net.

I have faced live issue like I have requirement like I have one textbox with two arrow button up and down inside the textbox has a numeric value. Now what I want is to keep increasing that numeric value of textbox while I am pressing and holding any of arrow keys. If I press up arrow key then value must be increased by 1 and when I pressed down arrow key the value must decreased by 1. Also I have requirement like user cannot directly input value in textbox he/she do only by using up and down arrow key.

Dynamically Bind Data in Ajax Accordion Panel Bind Data to Accordion from databse

Restrict the size of File when Uploaded How to Restrict the size of File when uploaded by user


Finally I got the solution here we define the code for increase/decrease value based on arrow key using JavaScript and jQuery in asp.net as follows:

increase number when I press arrow key on keyboard with javascript or JQuery.


increase list value by one on press of arrow keys



Description:


In this example we explain that how to increase or decrease the value of the list based on arrow key press event using JavaScript or jQuery in asp.net.

I have faced live issue like I have requirement like I have one textbox with two arrow button up and down inside the textbox has a numeric value. Now what I want is to keep increasing that numeric value of textbox while I am pressing and holding any of arrow keys. If I press up arrow key then value must be increased by 1 and when I pressed down arrow key the value must decreased by 1. Also I have requirement like user cannot directly input value in textbox he/she do only by using up and down arrow key.

Dynamically Bind Data in Ajax Accordion Panel Bind Data to Accordion from databse

Restrict the size of File when Uploaded How to Restrict the size of File when uploaded by user


Finally I got the solution here we define the code for increase/decrease value based on arrow key using JavaScript and jQuery in asp.net as follows:

Tuesday, 30 June 2015



Create a Text File in C#

Description:-

In this example we explain that how to create text file in asp.net or write data to the text file fetching from the database.

Here generally we create new file and write data to text file from the database.below is code for creating text file and write data to it.

How to Create or Overwrite Text file in app.net using C#



Create a Text File in C#

Description:-

In this example we explain that how to create text file in asp.net or write data to the text file fetching from the database.

Here generally we create new file and write data to text file from the database.below is code for creating text file and write data to it.

Monday, 8 June 2015


export data to excel using NPOI dll




Description:-

In the example we explain that how to create excel sheet file using NPOI dll in C# asp.net or how to export data to excel sheet file using NPOI in C#.

There is a multiple way to export data in excel sheet file here we use NPOI dll to easily create or export data to excel sheet file.

You can easily format each cell of the excel sheet file save the file give the name of the excel sheet tab and add multiple sheet in current excel file using NPOI dll.

So here explain how to export data to excel sheet file in C# asp.net using NPOI dll.

You have to download NPOI dll and assign reference to the project in bin folder. And use the namespace like.

how to create excel sheet file using NPOI dll in C# asp.net


export data to excel using NPOI dll




Description:-

In the example we explain that how to create excel sheet file using NPOI dll in C# asp.net or how to export data to excel sheet file using NPOI in C#.

There is a multiple way to export data in excel sheet file here we use NPOI dll to easily create or export data to excel sheet file.

You can easily format each cell of the excel sheet file save the file give the name of the excel sheet tab and add multiple sheet in current excel file using NPOI dll.

So here explain how to export data to excel sheet file in C# asp.net using NPOI dll.

You have to download NPOI dll and assign reference to the project in bin folder. And use the namespace like.

Thursday, 21 May 2015


how to access .aspx page in User Control (.ascx) page



Description:-

In this example we explain that how to access .aspx page in UserControl (.acsx) page. Or how to pass .aspx page value to UserControl (.ascx) page in asp.net.

There is a live requirement that we need sometime and at that time we confused that how to use this all value that is in ASPX page to UserControl. So there are two way to use aspx page value in usercontrol page.by using public properties and second is page item collection.

Using Page Item Collection

There is new item collection packed with Page object from 2.0 framework. We can also use this collection to pass objects to usercontrols.

Note:
We can also use HttpContext objects item collection for this.

How to Access Parent Page (.aspx) control (IDs) from its child User Control (.ascx) in asp.net


how to access .aspx page in User Control (.ascx) page



Description:-

In this example we explain that how to access .aspx page in UserControl (.acsx) page. Or how to pass .aspx page value to UserControl (.ascx) page in asp.net.

There is a live requirement that we need sometime and at that time we confused that how to use this all value that is in ASPX page to UserControl. So there are two way to use aspx page value in usercontrol page.by using public properties and second is page item collection.

Using Page Item Collection

There is new item collection packed with Page object from 2.0 framework. We can also use this collection to pass objects to usercontrols.

Note:
We can also use HttpContext objects item collection for this.

Monday, 4 May 2015

dynamically add rows to grid view using jquery



Description:-
In this example we explain that how to add dynamically add rows to grid view using jquery in asp.net. Or dynamically add rows to grid view when click on add button in asp.net.

Here we use explain dynamically add rows to grid view at client side without post back using jquery in asp.net.

Here we take three textbox in which you enter data and click on submit button then this data will be added as a row in a grid view using jquery without post back at client side.

how to add dynamically add rows to grid view using jquery in asp.net

dynamically add rows to grid view using jquery



Description:-
In this example we explain that how to add dynamically add rows to grid view using jquery in asp.net. Or dynamically add rows to grid view when click on add button in asp.net.

Here we use explain dynamically add rows to grid view at client side without post back using jquery in asp.net.

Here we take three textbox in which you enter data and click on submit button then this data will be added as a row in a grid view using jquery without post back at client side.

Thursday, 23 April 2015


checkbox validation


Description:-

In this example we explain that how to validate checkbox is checked in a sequence order or not. Or validate checkbox selection in sequence order using jquery.or jquery getting sequence number from selected checkbox on checkbox list.or checkbox validation in asp.net using javascript or jquery.

 

I have faced real problem in my application like in my application one form contain four checkbox year1, year2, year3 and year4. In which condition is that user can select checkbox of the year must be in sequence order like 1,2,3,4. If user select year2 checkbox and year1 checkbox is not checked then alert message will be display like please select year checkbox in sequence order.

 

So how to achieve this at client side using JavaScript or jquery.

how to validate checkbox is checked in a sequence order or not. Or validate checkbox selection in sequence order using jquery


checkbox validation


Description:-

In this example we explain that how to validate checkbox is checked in a sequence order or not. Or validate checkbox selection in sequence order using jquery.or jquery getting sequence number from selected checkbox on checkbox list.or checkbox validation in asp.net using javascript or jquery.

 

I have faced real problem in my application like in my application one form contain four checkbox year1, year2, year3 and year4. In which condition is that user can select checkbox of the year must be in sequence order like 1,2,3,4. If user select year2 checkbox and year1 checkbox is not checked then alert message will be display like please select year checkbox in sequence order.

 

So how to achieve this at client side using JavaScript or jquery.

Monday, 13 April 2015


add row to gridview when click on button




Description:-

In this example we explain that how to add dynamically add rows to grid view using jquery in asp.net. Or dynamically add rows to grid view when click on add button in asp.net.

Here we use explain dynamically add rows to grid view at client side without post back using jquery in asp.net.

Here we take three textbox in which you enter data and click on submit button then this data will be added as a row in a grid view using jquery without post back at client side.

how to add dynamically add rows to grid view using jquery in asp.net


add row to gridview when click on button




Description:-

In this example we explain that how to add dynamically add rows to grid view using jquery in asp.net. Or dynamically add rows to grid view when click on add button in asp.net.

Here we use explain dynamically add rows to grid view at client side without post back using jquery in asp.net.

Here we take three textbox in which you enter data and click on submit button then this data will be added as a row in a grid view using jquery without post back at client side.

Thursday, 2 April 2015

dynamically load html page in div tag

Description:-

In this example we explain that how to load html page in div tag dynamically using jquery in asp.net.or dynamically load page in DIV using jquery in asp.net.

Here we use jquery Load () method to load page dynamically inside the DIV tag using jquery. Generally Load () method load the data form the server and that data you can put inside any element in jquery.

how to load html page in div tag dynamically using jquery in asp.net

dynamically load html page in div tag

Description:-

In this example we explain that how to load html page in div tag dynamically using jquery in asp.net.or dynamically load page in DIV using jquery in asp.net.

Here we use jquery Load () method to load page dynamically inside the DIV tag using jquery. Generally Load () method load the data form the server and that data you can put inside any element in jquery.