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 VB.NET. Show all posts
Showing posts with label VB.NET. Show all posts

How to Restrict Access to Particular Page in Asp.net using C#, VB.NET

Mar 23, 2014 12 comments
Introduction:

Here I will explain 
how to restrict access to particular page in asp.net using c#, vb.net or allow or deny access to particular pages in website in asp.net. To allow or deny access to particular pages in website we need to use authorization concept. what is authorization in asp.net, uses of authorization and I will explain setting authorization rules in web.config to allow or deny resources for particular user or role in asp.net.

Description:

Today I am writing this post to explain about authorization concept in 
asp.net. In one of the interview interviewer has asked question like what is authorization in asp.net and how we can use authorization concept to allow or deny resources to particular user or role in asp.net.

C# - Difference between String and Stringbuilder in C#, Asp.net

Nov 28, 2013 26 comments
Introduction

Here I will explain what is difference between string and stringbuilder in c# using asp.net.

Description

In previous articles I explained different types of constructors in c#, difference between overloading and overriding in c#, Delegates in c# with example, difference between datareader, dataset and dataadapter in c# and many articles relating to interview questions . Now I will explain difference between string and stringbuilder in c# using asp.net.

jQuery Ajax Submit Form without Page Refresh using JSON in Asp.Net

Nov 27, 2013 8 comments
Introduction

Here I will explain how to use jQuery to submit form without page refresh using ajax in asp.net or jQuery submit form without page reload using jQuery ajax  in asp.net  using c#, vb.net.

Description:
  
In previous articles I explained
integrate Facebook login authentication, integrate twitter login authentication, jQuery randomly change color of div and many articles relating to jQuery, asp.net, c#, vb.net. Now I will explain how to submit form without refresh or reload page using jQuery in asp.net.

C# - How to Count Number of Online Users in Asp.Net Using C#, VB.NET

Nov 26, 2013 14 comments
Introduction

Here I will explain how to count number of online users of website in asp.net using C# and VB.NET or how to get number of online visitors of website in asp.net using C# and VB.NET.

Description

In previous articles I explained get count of visitors website in asp.net, jQuery cascading dropdown list example in asp.net, jQuery show progressbar in button click in asp.net, Asp.net Interview questions, Joins in SQL Server and many articles relating to Gridview, SQL, jQuery,asp.net, C#,VB.NET. Now I will explain how to count number of online visitors of website in asp.net using C# and VB.NET.

C# - Count Number of Visitors in Website using Asp.net in C#, VB.NET

19 comments
Introduction

Here I will explain how to count number of visitors to website in asp.net using C# and VB.NET or find or get number of visitors for a website in asp.net using C# and VB.NET.

Description

In previous articles I explained Asp.net Interview questions, Export Gridview data to PDF, Send values from one page to another page using QueryString, Joins in SQL Server, Highlight Gridview records based on search and many articles relating to Gridview, SQL, jQuery,asp.net, C#,VB.NET. Now I will explain how to count number of visitors to website in asp.net using C# and VB.NET.
To get number of visits for website we need to use methods in Global.asax file for that first add Global.asax file in your application

jQuery Cascading Dropdown List in Asp.net with Example

Oct 6, 2013 23 comments
Introduction:

Here I will explain cascading dropdown list using jQuery in asp.net example or jQuery cascading dropdown example in asp.net using c#, vb.net.

Description:

In my previous article I explained how to populate dropdown based on other dropdown using asp.net, Ajax cascading dropdown with database in asp.net, Bind asp.net dropdown in jQuery. Now I will explain how to implement cascading dropdown list using jQuery in asp.net.

Here I will explain jQuery cascading dropdown example with three dropdowns Country dropdown, State dropdown, Region dropdown. Here we need to populate states dropdown based on country dropdown and region dropdown based on states dropdown selection for that we need to design three tables in SQL Server like as shown below

jQuery Display Progress Bar on Button Click in Asp.net

8 comments
Introduction:

Here I will explain how to use
jQuery to show progress bar on button click in asp.net with example in c#, vb.net or jQuery show loading image on button click in asp.net using c#, vb.net.

Description:

In my previous article I explained
jQuery bind gridview in asp.net, Show progress bar during postbacks in asp.net, Bind asp.net dropdown in jQuery, Lightbox effect for login page and many articles relating to jQuery, asp.net, c#, vb.net. Now I will explain how to show progress bar on button click using jQuery in asp.net.

How to Export Data from Gridview to Excel in Asp.net using C#, VB.NET

Sep 27, 2013 43 comments
Introduction:

Here I will explain how to export data from
gridview to excel in asp.net using c#, vb.net or bind data to gridview and export asp.net gridview data to excel in asp.net using c#, vb.net.
Description:

Asp.net Create Captcha with Refresh Button in C#, VB.NET

Sep 26, 2013 18 comments
Introduction:

Here I will explain how to create captcha in asp.net using c#, vb.net or create captcha with refresh button in asp.net using c#, vb.net.

C# Regex to Replace All Special Characters with Space in String

6 comments
Introduction

Here I will explain how to use regular expression or regex in c# to replace all special characters with space in string using c#, vb.net.

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 how to replace all special characters in string with space in c#, vb.net.

C# - Xmldocument.load Invalid Character in the Given Encoding. line 23 position 5 in XSLT Compilation

Sep 15, 2013 0 comments
Introduction:

Here I will explain how to solve the problem of “xmldocument.load invalid character in the given encoding in C#”.

Description:

In previous posts I explained many articles relating to solve errors in asp.net, SQL Server, IIS, etc. Now I will explain how to solve the problem of “xmldocument.load invalid character in the given encoding in SQL Server”.

C# - Add/Copy Rows from One Datatable to Another Datatable

Aug 29, 2013 0 comments
Introduction:

Here I will explain simple
code snippet in c# to add rows from one table to another table in vb.net, asp.net or copy rows from one datatable to another datatable in  c#, vb.net.

Description:

In Previous posts I explained using statement example in c#, Get all files from folder and subfolders in c#, Export webpage with images to pdf in asp.net and many articles relating to
c#, vb.net, Asp.net, Gridview, SQL Server, Ajax, JavaScript etc. Now I will explain how to add rows from one table to another table in c#, vb.net, asp.net.  

To add rows from one table to another table we need to use ImportRow function like as shown below

C# - Using Statement Example | Uses of Using Statement in C#

9 comments
Introduction:

In this article I will explain uses of using statement in c# and how to declare and use using statement in c#, vb.net,
Asp.net.

Description:

In Previous posts I explained lot of articles regarding
Asp.net, Gridview, SQL Server, Ajax, JavaScript etc. Now I will explain about using statement in c#.

Generally in our applications we will write code like create connection object to handle connectionstring after that open a connection and create command object etc. to interact with database to get data that would be like this

C# Get All Files from Folder and Subfolders & Display it in Gridview in asp.net

Aug 26, 2013 6 comments
Introduction:

Here I will explain how to get all files from folder and subfolders in C# and display or bind to Gridview in asp.net using C#, VB.NET or C# Get All Files from Folder and Subfolders and Display it in Gridview in asp.net.

Description:

C# Get All Files from Directory and Subdirectories and Display it in Gridview

2 comments
Introduction:

Here I will explain how to get all files from directory and subdirectories in C# and display or 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, SQL , jQuery , asp.net, C#, VB.NET. Now I will explain how to get all files from directory and subdirectories and bind to Gridview in asp.net using C#, VB.NET.

Redirect to Another Page in Handler in Asp.net using C#, VB.NET

Jul 12, 2013 9 comments
Introduction

Here I will explain how to redirect to another page in handler (.ashx) file in asp.net

Description:

In previous articles I explained jQuery get set text to label, Get set asp.net control values in jQuery, jQuery Set Get textbox control value, jQuery get dropdown selected value & text, JavaScript create watermark text for textbox and many code snippets articles relating to JQuery, JavaScript, asp.net. Now I will explain how to redirect to another page in handler (.ashx) file in asp.net.

Asp.net Export WebPage with Images to PDF using iTextSharp in C#, VB.NET

May 17, 2013 71 comments
Introduction:

Here I will explain how to export webpage with images to PDF in asp.net 
using iTextSharp in c#, vb.net.
Description:

In my previous articles I explained clearly Export gridview data to excel or word, Export gridview data to CSV file, Export Gridview data to pdf in asp.net, upload data from excel to sql server database, Export selected rows of gridview to excel/word and many articles relating to gridview, asp.net, c#, vb.net. Now I will explain how to export webpage with images to PDF in asp.net using iTextSharp in c#vb.net.

jQuery Show Gridview Row Details in Tooltip on MouseHover in Asp.net

May 14, 2013 9 comments
Introduction:

Here I will explain how to show gridview row details in tooltip on mouseover with jQuery using asp.net in C# and VB.NET.

Description:


To show gridview row details in tooltip on mouseover with jQuery we need to write the following code in aspx page

C# - Convert Datatable to JSON String in C#, VB.NET

May 13, 2013 10 comments
Introduction:

Here I will explain how to convert asp.net datatable to JSON string in C#, VB.NET or How to get JSON string from Datatable in in C#VB.NET

Description:


To convert datatable to JSON string we need to write the code like as shown below
© 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.