asp.net (47)
asp.net articles
A CAPTCHA is a program which tells whether its user
is human or computers.
follow the steps below to add captcha in your web form
easily -
how to export GridView items to excel with header information
Written by Super UserAsp.net makes it easy to export tabular data to excel file.It's
easier to use GridView control data to export to excel.the following
codes shows how u can achieve this along with some header info at the
top of the data rows in excel -
I wanted paging for showing datalist items in pages.for
that i used pageddatasource.it's necessary very much.
following codes show how to add paging for datalist items -
How to verify credit Card number and card security code are valid
Written by Super Userwhen you process credit card payment the two
most sensitive inputs are taken from customer
are card number and card security code.you
will want to verify that the data entered
is valid before processing credit card payment.
how to create button and click event handler dynamically asp.net
Written by Super UserIt's a very common requirement to create different types of button and
it's click event handler dynamically in asp.net application.
following way a DataTable with data can be used to
populate gridview control in asp.net.following codes get files list
from a file path and adds in DataTable then sets that
DataTable as a DataSource of the GridView grdDirList.
following codes shows how to use GridView control.Its a
simple example.
in app main file -
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
make sure you have made the following configuration
to your IIS to run Asp.net applications-
how to show Gridview items details using DetailsView
Written by Super UserGridView is the most common data representation
contol in asp.net.It's needed to show users the
items details when the item is selected.DetailsView
control can be used precisely to show the Gridview items
details.
asp.net routing is easy to use for rewriting any url.
if you have a url like wwww.aspdotnetsite.com/Projects?user=username.
but if you want to have it in short name for marketing or for anything
you want like this is the resulting url -
wwww.aspdotnetsite.com/Projects/username