Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

Asp.net Read/insert data into XML file and bind data to DataList

Dec 26, 2010 32 comments
Introduction

Here I will explain how to insert data into XML and how to retrieve data from XML and how to bind data to DataList using asp.net.

Description:

XML means Extensible markup language why we need to use this one because by using XML we can store the data and we can easily retrieve and display the data without using database in our applications.if we need to display dynamic data in our application it will take time to conenct database and retrive data from database but if use XML to store data we can do operations with xml file directly without using database. If we store data in database that is incompatible to some of the computer applications but if we store data in XML format it will support for all applications. It is independent for all software applications and it is accessible with all applications.

how to use progressbar control in windows application using c#.net

Dec 23, 2010 19 comments
Introduction

Here I will explain how to use progressbar control in windows application using c#.net.

Description

I have done one windows application in that I have one form like creating user and assigning permission to user during at the time of user creation and displaying that result in one data gridview for this process it’s taking time at that time user don’t know what is happening after button click for that reason I have used progressbar to give hint like processing. Previously I have implemented progress bar during postbacks in asp.net check that article here how to show progressbar during postbacks in asp.net .

how to bind arraylist elements to gridview using asp.net

Dec 21, 2010 17 comments
Introduction:

Here I will explain how to bind arraylist elements to gridview using asp.net.

Description:

In my application we bind some of elements to arraylist items after that we need to bind that elements to gridview upto that I don’t have idea to bind arraylist to gridview. I searched many websites and I found good materials regarding how to bind arraylist items to our gridview.

In arrays we have different types

Asp.net show gridview header when there is no data or empty

Dec 20, 2010 19 comments
Introdcution

Here I will explain how to display or show gridview header even if gridview does not contain data or show gridview header with no records.

Description

 In one application I got requirement like show the gridview header even if grddview does not contain any data. In our applications we will send data to dataset and bind that dataset to gridview to display data on form. In gridview we have property called EmptyDataText by using this property we will display message like "No records Found" if gridview contains empty data. It will display the message but it won’t show header of gridview or anything simply it will display only that message (whatever the message we gave to EmptyDataText property). 

It will display message like this without gridview headers

C# - Move Items from One Asp.net Listbox to Another Listbox

18 comments
Introduction

Here I will explain how to move items from one listbox to another listbox in asp.net using C#

Description

In one application I got requirement like work with listbox control in asp.net. First we will learn what listbox control purpose is and how we can use in our application.

The ListBox control is used to display a list of items to the user that the user can select by clicking. A ListBox control can provide single or multiple selections using the SelectionMode property. This tutorial shows you how to move items from one listbox to other listbox and we can move items by using single selection of item or multiple selection of items.

Asp.net make single radio button selection in gridview using JQuery and change selected row style of gridview with radio button using jQuery

4 comments
Introduction

Here I will explain how to make single radio button selection in gridview using JQuery and how to change selected row style of gridview with radio button using jQuery.

Description

In my application I have designed gridview with radio button after completion of all the functionality if try to select radio button I am able to select all the radio buttons in gridview that is like this 

how to make single radio button selection in gridview using javascript

25 comments
Introduction

Here I will explain how to make single radio button selection in gridview using javascript.

Description

In my application I have designed gridview with radio button after completion of all the functionality if try to select radio button I am able to select all the radio buttons in gridview that is like this 

how to set start up page in windows application using c#.net

10 comments
Introduction:

Here I will explain how to set start up page in windows application using c#.net.

Description:

I have worked on web applications in asp.net I didn’t worked on windows application one day we got requirement to work on windows application at that time I don’t’ know anything about windows application even how to set startup page in windows application. I have searched many websites for this after search long time I found answer for this partially.

Asp.net send email with images using Gmail credentials

15 comments
Introduction:

 In this article I will explain how to send email by embedding images using Gmail credentials in asp.net

Description:

Generally we will send mails using SMTP server suppose if we don’t have smtp server in that situation we can send mails by using gmail smtp server in asp.net. I will explain how to implement mail sending concept using Gmail credentials using asp.net. 


To implement this concept first you need to enable POP enable in your Gmail account for this Settings-->Forwarding and POP/IMAP

Regular expressions to validate file extension before file upload in javascript using asp.net

Dec 14, 2010 22 comments
Introduction:

Here I will explain how to check or validate file type in file upload control using JavaScript and regular expression to check file extension before file upload using JavaScript in asp.net.

Description:

I have one page that contains one file upload control to accept files from user and saving it in one folder. Here I need to give permission for user to upload only .doc or .docx files for that I have written validation by using JavaScript to validate files before save it in database.

Here I have some of regular expressions to validate file upload. 
© 2015 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.