How to export SQL select query data to an Excel file using VB.NET?
In application development generally during report generation Customer wants to add a button which can create an excel file from the filtered report data. Recently during I worked for a filter page...
View ArticleHow to bind xml data to ASP.NET repeater control?
To present data from several data source ASP.NET introduced controls like datagrid, datalist & repeater. Compare to datagrid repeater is connection oriented & gives faster access to data. Inner...
View ArticleOn mouse over how to Highlight Gridview row
To present data in tabular form in ASP.NET Gridview is so popular. Nearly 90% ASP.NET Developers love to work with Gridview. In a Gridview we can bind several data sources. Gridview is easy & take...
View ArticleHow to Upload a file to Server using ASP.NET?
During web application design some time we required to upload local files to server. Let’s talk about a job portal, where candidates need to upload their career profiles. To provide this facility we...
View ArticleDataReader to DataSet Converter VB.NET Function
During application development sometime we fetch data from the database using DataReader. Later to do some other operations we required that DataReader data in a DataSet. In this case the below...
View ArticleHow to execute stored procedure from code behind file?
Experienced programmers prefer to use stored procedures in place of inline SQL Query. There are several advantages of using stored procedure. First of all stored procedure provides security & it...
View ArticleHow to delete selected records from a Gridview?
During we display data in a Gridview in many places Customer wants to implement checkbox in the grid for Select all & individual rows. Using this feature user can edit or delete records. Expected...
View ArticlePagination & Sorting using ASP.NET Gridview
Among Server side web programming ASP.NET is so popular. It was found in ASP.NET applications Gridview is a key element to present data in tabular shape. Above 90% ASP.NET web application uses...
View ArticleHow to bind data to a Dropdownlist using DataReader?
Generally where only one option lefts to Choose from a list of records we use Dropdownlist Control. Let’s talk about a Country dropdownlist. What you need to do is need to fetch records from Database....
View ArticleHow to Create a Table using data from a DataReader?
Customization in a web app is very common. Requirement updates everyday. Depending on this it happens occasionally Gridview is incapable to meet customers demand. In this case we choose in-line table...
View ArticleHow to Generate an Excel file from SqlDataAdapter Data?
Excel is very common practice to share data across Network. Recently one of my Customer wants to provide export an excel button in their products list page. What I did to implement Export to Excel...
View ArticleHow to Create HTML page from Code behind using VB.NET?
Generally while designing a CMS we found this situation to handle. Let us assume we have records in Database. From those records we required to Create HTML pages dynamically. Here I did the same using...
View ArticleVB.NET function to generate Random String
In our app many time we required a random string. Whether it is to make the URL unique or to Valid an user or a dynamic Cookie random string is very useful. In the below function I am generating a...
View ArticleHow to display icon images in Gridview or Datagrid rows?
Do you ever worked for any file management system? Where you have word files, excel file or it can be an image file like jpeg or png? In .NET Gridview is a popular Control to present tabular data. In...
View ArticleHow to use JavaScript function with ASP.NET CustomValidator?
By default under Validations ASP.NET provides 5 Controls. They are Required field validator, Range Validator, Regular Expression Validator, Compare Field Validator & Custom Validator. Using...
View ArticleASP.NET Login app validating user from SQL Server
Designing a Login page is not so easy as we are thinking. Modern login pages comes with various rich feature such as Validating User, Form Validation, Capcha or Remember Password. In this demo app we...
View ArticleIn ASP.NET login page how to Store Credentials for next Login
During we develop a product its always wise to save user time. Think about a login page. Here for Consecutive logins it is much better if we will store user Login Credentials. Using which System will...
View Article