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 Code Snippets. Show all posts
Showing posts with label Code Snippets. Show all posts

SQL Server - How to Get Database Size in SQL Server 2008

Dec 4, 2013 2 comments
Introduction:

Here I will explain how to get database size in
SQL server or query to get database size in SQL server 2008.
Description:

jQuery Stop Form being Submitted on Enter Key Press or Disable Form Submit on Enter

1 comments
Introduction

Here I will explain how to stop form submit on enter in jQuery or prevent form submit on enter key in jQuery or disable form submission on enter key in jQuery.

Description:
  
In previous articles I explained
jQuery get current page url and title, jQuery disable future dates in datepicker, jQuery Get Cursor position, jQuery Bind double click event to button control, jQuery create rounded corners for textbox and many articles relating to JavaScript, jQuery, asp.net codesnippets. Now I will explain how to stop or disable form submission on enter key using jQuery.

jQuery Refresh Page or Reload Page in jQuery

Nov 17, 2013 5 comments
Introduction

Here I will explain how to refresh page in
jQuery or reload page in jQuery or refresh or reload webpage using jQuery.

jQuery Check Undefined or Empty Value | Check Value Undefined or Null in jQuery

3 comments
Introduction

Here I will explain how to check undefined or empty value in
jQuery or jQuery to check undefined variable value or empty value or null value.

jQuery Set Some Time Delay for Function / Method Execution with SetTimeout Function

Oct 9, 2013 8 comments
Introduction

Here I will explain how to execute function in
jQuery with some time delay using setTimeout function or jQuery set some time delay for function or method execution with setTimeout function.
                                                                                   
Description:
  
In previous articles I explained
jQuery get query string parameter value with spaces, jQuery get query string parameter values, jQuery create rounded corners for textbox, jQuery show time in webpage and many articles relating to JQuery. Now I will explain how to get query string parameter value with special characters in jQuery.

JavaScript Get Asp.net Textbox Value | Get Asp.net Label Value in JavaScript

Oct 4, 2013 6 comments
Introduction

Here I will explain how to get asp.net textbox in JavaScript or get asp.net label value in JavaScript or get asp.net control values textbox, label etc in JavaScript.

Description:

In previous articles I explained jQuery display testimonials with CSS example, jQuery get or access session value, jQuery right click context menu example, jQuery Add text to end of div and many articles relating to JQuery, JavaScript, asp.net, code snippets. Now I will explain how to get asp.net textbox or label value in JavaScript.

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

Sep 26, 2013 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.

jQuery - How to Check Uncheck All Checkboxes with Header Checkbox

Sep 24, 2013 7 comments
Introduction

Here I will explain how to use jQuery to check uncheck all checkboxes or select or deselect all checkboxes using jQuery.

jQuery - How to Select Deselect All Checkboxes with Name

5 comments
Introduction

Here I will explain how to use jQuery to select deselect all checkboxes or check uncheck all checkboxes using jQuery.

C# - Output Console Window Closing Automatically without Showing Output

Sep 22, 2013 2 comments
Introduction

Here I will explain how to show or display output console window in c#.net or how to solve the problem of closing output console window immediately in c#.

Description:

In previous articles I explained 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#, code snippets. Now I will explain how to solve the problem of closing output console window immediately in c#.

jQuery KeyPress KeyDown KeyUp Events Examples & Differences

Sep 15, 2013 4 comments
Introduction:

Here I will explain
jQuery keydown, keyup and keypress events examples or differences between keydown, keyup and keypress events in jQuery.
Description:
  
In previous articles I explained jQuery merge multiple tables into single table, jQuery check if string contains specific word,
jQuery Show Hover Dropdown Menu, Simple jQuery modal popup example, jQuery show YouTube videos in popup window and many articles relating to JQuery, JavaScript. Now I will explain difference between keydown, keyup and keypress events examples in jQuery.

Regular Expression(Regex) to Validate URL without http(s) in JavaScript

Sep 14, 2013 10 comments
Introduction

Here I will explain regular expression for validating website url with or without http in
JQuery, JavaScript or regex to validate website url with or without http(s)  in JQueryJavaScript

Description:
  
In previous articles I explained
validate email address using JQuery, how to disable or enable all the controls on page using JQuery , validate phone number using JQuery and many articles relating to JQuery, JavaScript. Now I will explain regular expression for validating url with or without http in JQuery, JavaScript.

Call JavaScript Function for Every 5 Seconds or 10 / 30 Seconds

2 comments
Introduction

Here I will explain how to call a JavaScript function for every 5 seconds or run / execute JavaScript function at regular intervals of time.

Description:
  
In previous articles I explained jQuery get current page url and title, jQuery get url parameter values, Create tabbed menu with rounded corners using CSS, jQuery shake image on mouse hover and many articles relating to JavaScript, jQuery, asp.net. Now I will explain how to call a JavaScript function for every 5 seconds.

jQuery Get Query String Values with Special Characters (&,')

Sep 13, 2013 3 comments
Introduction

Here I will explain how to get query string parameter value with special characters in
jQuery .

Description:
  
In previous articles I explained jQuery get query string parameter value with spaces,
jQuery get query string parameter values, asp.net pass multiple parameters in query string, jQuery Remove first/last character from string, jQuery create rounded corners for textbox and many articles relating to JQuery. Now I will explain how to get query string parameter value with special characters in jQuery.

jQuery Merge Multiple Tables into a Single Table in JavaScript

1 comments
Introduction

Here I will explain how to use
jQuery to merge multiple tables into a single table in Javascript or jQuery to merge two tables into single table.

jQuery Check if String Contains Specific Word in JavaScript

Sep 12, 2013 4 comments
Introduction

Here I will explain how to use
jQuery to check particular word in string in JavaScript or jQuery to check if string contains specific word in JavaScript.

Description:
  
In previous articles I explained jQuery add border to images in webpage, jQuery show loading image in pageload, jQuery hide div elements after 5 seconds, jQuery convert am / pm time to 24 hours time, jQuery print div content with css
and many articles relating to JQuery, JavaScript. Now I will explain how to check if string contains specific word in JavaScript.

jQuery Autocomplete Clear Textbox After Select

Sep 1, 2013 2 comments
Introduction:

Here I will explain how to clear autocomplete textbox in jQuery after select or jQuery clear autocomplete textbox after select.    

Description:

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
© 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.