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

Showing posts with label C#.Net. Show all posts
Showing posts with label C#.Net. Show all posts

C# - Convert Datatable to List Example using LINQ

Nov 3, 2014 2 comments
Introduction

Here I will explain how to convert datatable to list in
c# using linq with example or convert datatable to generic list  in c# using linq with example and other ways to convert datatable to list in c# and vb.net.

Description:
  
In previous articles I explained convert string to xml in c#, convert datatable to xml string in c#, convert datatable to json string in c#, convert datatable/dataset to arraylist in c# and many articles relating to
asp.net, c#,vb.net and jQuery. Now I will explain how to convert datatable to list in c# using linq with example and other ways to convert datatable to list in c#.

Sorting Columns in Repeater Control in Asp.net using C#, VB.NET

Oct 19, 2014 2 comments
Introduction

Here I will explain how to implement sorting in repeater control in
asp.net using c#, vb.net with example or how to sort columns in repeater control in asp.net using c#, vb.net.

Description:
  
In previous articles I explained Repeater Control Example in asp.net, Display time like facebook/twitter like 1 minute ago, hour ago, use of using statement in c#, make some cells read only in excel sheet and many articles relating to
asp.net, c#,vb.net and JQuery. Now I will explain how to implement sorting in repeater control in asp.net using c#, vb.net with example.

ASP.Net - Add Items to Dropdownlist Programmatically on Button Click in C# and VB.Net

Oct 18, 2014 0 comments
Introduction

Here I will explain how to add items to dropdownlist programmatically on button click in
asp.net using c# and vb.net or dynamically add items to dropdownlist on button click in asp.net using c# and vb.net.

Description:
  
In previous articles I explained Cascading dropdownlist example in asp.net, highlight gridview records based on search in asp.net, filter gridview records based on dropdown selection in asp.net and many articles relating to
asp.net, c#,vb.net and JQuery. Now I will explain how to add items to dropdownlist programmatically in asp.net using c# and vb.net.

C# - Create Windows Form Application Setup File in C#.Net

Oct 16, 2014 13 comments
Introduction

Here I will explain how to create setup file for windows form application in visual studio 2008 in
c# with example. To create setup file windows application in c# we need to use setup and deployment section templates in visual studio.

Description:
  
In previous articles I explained constructors in c# with examples, difference between virtual, override, new keywords in c#,
Difference between sessionstate and viewstate, Highlight gridview rows on mouseover in jQuery and many articles relating to asp.net, c#,vb.net and JQuery. Now I will explain how to create setup file for windows form application in visual studio 2008 in c# with example.

Access HTML seletced Drop Down List value from Code Behind in C# in ASP.NET

Sep 29, 2014 2 comments
Introduction :

In this post I will show you how to get the value of a HTML Drop Down List from the code behind (C# code) in ASP.NET. To do this we need a HTML Drop Down List with values and one ASP Button. And on that Button click we will get the selected value from the Code Behind.

Description :

In the previous examples Suresh Dasari had explained AJAX Country State select from Drop Down List, Show toolip in mouse hover  of Drop Down List, SQL Databind in ASP Drop Down List, Validate Drop Down List using JQuery. Now here I will explain get the selected HTML Drop Down List value from Code Behind(.CS file).

Resizable Asp.net Gridview using jQuery with Example in C#, VB.NET

1 comments
Introduction:

Here I will explain how to resize asp.net gridview using jQuery with example in c#vb.net or resizable gridview using jQuery with example. To implement resizable gridview using jQuery we need to use jQuery & jQuery ui plugin because we need to set
resizable() property for gridview to make it resizable in c#vb.net.

Description:

Delegates in C# | Use of Delegates in C#.Net with Example

Sep 4, 2014 6 comments
Introduction

Here I will explain what is delegates in c# and how to use delegates in your c# project. In c we used pointers in C, delegates are something like pointers in C but type safe. Previously we send data as parameter but today we send methods as parameter through objects. In C# 2.0 delegates are introduced. It used to send methods to pass through its object it’s like a reference variable to the reference of the method which you have to execute. It is derived  from System.Delegate class and generally use for implementing events and call back method.

Description:

In previous articles I explained constructors in c#, polymorphism example in c#, delegates in c# with example, Difference b/w compile time and runtime polymorphism, sealed classes in c#.net and many articles relating to c#, vb.net, code snippets. Now I will explain what is delegates in c# and how to use delegates in your c# project.

C# - Create a ASPX Page Dynamically in ASP.NET using C#.NET, VB.NET

Aug 22, 2014 10 comments
Introduction:

Here I will explain
how to create aspx page dynamically in asp.net using c#, vb.net or Dynamically create aspx page in your project at runtime in asp.net using c#, vb.net.
Description:

Get Asp.net Gridview Selected Row Values on Button click in C#

Aug 21, 2014 7 comments
Introduction:

Here I will explain
how to add checkboxes in asp.net gridview and get gridview selected rows data on button click in asp.net and get checked rows data on button click and how to work with those checked rows in asp.net using c#, vb.net.
Description:
In previous articles I explained Create table dynamically in asp.net and bind to gridview, export gridview data to excel in asp.net, Group Gridview columns with header row in asp.net and many articles relating to asp.net, c#, vb.net, SQL server. Now I will explain how to add checkboxes to gridview and get gridview selected rows data on button click in asp.net.

Bind an image slider with a folder

Aug 8, 2014 17 comments
Introduction :

Here I will show you all how to create image slider with the images from a specific folder in asp.net  using c#. Whichever images are present in the folder it will show in the image slider.

Description :

You can do an images slider with either using ul and li and the images cone from database. But in this example I  will show you to create an image slider which will get the images from a folder without database, which contains the all images.

C# - Get (Find) Name of the Day From Date in Asp.Net

Aug 6, 2014 4 comments
Introduction:

Here I will explain
how to find or get name of the day in a week in asp.net using c#, vb.net when user will input the date.
Description:
In previous articles I explained SQL Query to find first & last day of month, SQL Query to get month wise & year wise data, SQL Query exclude weekends to get data, SQL Server Get only month & year from date and many articles relating to asp.net, c#, vb.net, SQL server. Now I will explain how to find or get name of the day in a week in asp.net using c#, vb.net when user will input the date.

Asp.net Preventing SQL Injection Attacks using Parameterized Queries

Aug 3, 2014 0 comments
Introduction:

Here I will explain how to prevent
SQL injection attacks in asp.net website with example using c#, vb.net. SQL injection means injecting some SQL commands in SQL statements to hack your data or delete data or change your data in tables via web page input.

Description:

In previous posts I explained
SQL injection example in Asp.net, SQL Server insert multiple rows with single insert statement, how to send mail with attachment in asp.net and many more articles related to asp.net, SQL, c#, vb.net. Now I will explain how to prevent SQL injection attacks in asp.net website with example using c#, vb.net.

To prevent SQL injection attacks we need to use parameterized queries to pass values from code behind to database like as shown below

SQL Injection Attack Example in Asp.net using C#, VB.NET

1 comments
Introduction:

Here I will explain what are sql injection attacks in
asp.net website with example and how to prevent SQL injection attacks in asp.net using c#, vb.net with example. SQL injection means injecting some SQL commands in SQL statements to hack your data or delete data or change your data in tables via web page input.

Description:

In previous post I explained jQuery scroll to particular position of div when click on link, SQL Server remove duplicate records from table, SQL Server insert multiple rows with single insert statement,
how to send mail with attachment in asp.net and many more articles related to asp.net, SQL, c#, vb.net. Now I will explain what is sql injection attack in asp.net website with example.

Asp.Net Convert Numbers to Words (String) in C#

Aug 1, 2014 6 comments
Introduction:

Here I will explain how to convert numbers to words in
asp.net using c# with example or convert numbers to string in asp.net using c#.

Description:

In previous post I explained jQuery tag cloud example in asp.net,
sitemap control example, send html page as mail body in asp.net, send mail with images using gmail user credentials, send multiple attachments with email in asp.net, how to send mail with attachment in asp.net and many more articles related to asp.net using c#, vb.net. Now I will explain how to convert numbers to words in asp.net using c# with example.

Asp.net Display List of Files from Server Folder in Gridview

Jul 28, 2014 1 comments
Introduction:

Here I will explain how to display list of files from server folder in asp.net Gridview or get files from folder or directory and bind to Gridview in asp.net using C#, VB.NET.

Description:

In previous articles I explained create zip files in asp.net, Delete files from uploaded folder in asp.net, create/delete directory in asp.net, Joins in SQL Server and many articles relating to Gridview, SQLjQueryasp.net, C#VB.NET. Now I will explain how to display list of files from server folder in asp.net Gridview using C#, VB.NET.

Asp.net Create DataTable Dynamically and Bind to Gridview in C#

Jul 22, 2014 4 comments
Introduction

Here I will explain how to create datatable dynamically and bind to gridview in asp.net using c#, vb.net or bind asp.net gridview with dynamically created table in c#, vb.net or create temporary table and bind data to columns in datatable dynamically using asp.net in c#, vb.net.


Description

In Previous posts I explained lot of articles regarding 
Asp.netGridviewSQL ServerAjaxJavaScript etc. In many of articles I used datatable to bind data from database but in one situation I got requirement like dynamically build and bind data to datatable in asp.net.

Bind Asp.net Gridview with DataTable in C# Dynamically

3 comments
Introduction:

Here I will explain how to bind gridview with datatable in asp.net using C# and VB.NET or create datatable dynamically and fill / bind gridview datasource in asp.net using C# and VB.NET.

Description:

In previous articles I explained insert xml data to sql table using stored procedure, Highlight gridview rows based on search in asp.net, create online poll system with percentage graphs in asp.net and many articles relating to xml, Gridview, SQL, jQuery,asp.net, C#,VB.NET. Now I will explain how to bind gridview with datatable in asp.net using C# and VB.NET.

jQuery Higlight Table Row & Column on Mouseover in Asp.net

Jul 20, 2014 3 comments
Introduction:

here I will explain how to use
jQuery to highlight table row and column on mouse over in asp.net using jQuery, c#, vb.net with example or jQuery table highlight row & column on hover in asp.net using c#, vb.net.

Description:

In previous post I explained jQuery Tag cloud example in asp.net, jQuery show datatable on aspx page in asp.net,
send html page as mail body in asp.net, how to send mail with attachment in asp.net and many more articles related to jQuery,asp.net, c# and vb.net. Now I will explain how to how to highlight table row and column on mouse hover in asp.net using jQuery, c#, vb.net with example.
© 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.