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

JQuery - How to Set Get Textbox Value using jQuery

Sep 2, 2012 6 comments
Introduction

Here I will explain how to get textbox value using jquery or how to set textbox value in jquery.

Description:
  
In previous post I explained
split the string using split function in jquery and many articles relating to JQuery. Now I will explain how to get or set textbox value in JQuery.

If we want to get textbox value in jquery or if we need to set value in textbox using jquery we need to write the code like as shown below


// Get textbox value
$('#txtName').val()
// Set textbox value
$('#txtName').val("your message")
If you want check this code in sample check below code

Use Split Function in JQuery to Split the String in Asp.net

Sep 1, 2012 9 comments
Introduction

Here I will explain how to split the string using split function in JQuery with asp.net.

Description:
  
In previous posts I explained many articles relating to JQuery. Now I will explain how to split the string using split function in JQuery.

To split the string we have function called Split() in JQuery by using that we can split string based on our specific character that would like as shown below

Asp.net Get Dropdown Selected value and text in JavaScript

1 comments
Introduction

Here I will explain how to get dropdownlist selected value or selected item text using JavaScript in asp.net.

Description:
  
In previous article I explained Fire Dropdownlist selectedindexchanged event  and many articles relating to JavaScript. Now I will explain how to get dropdownlist selected value using JavaScript in asp.net.

Asp.net Dropdownlist Selectedindexchanged Event in JavaScript

7 comments
Introduction

Here I will explain how to raise dropdownlist selectedindexchanged event in JavaScript using
asp.net.

Description:
  
In previous articles I explained
How to bind dropdownlist using JQuery and how to get dropdownlist selected value and text using JQuery and many articles relating to JQuery. Now I will explain how to raise dropdownlist selectedindexchanged event in JavaScript using asp.net.

Asp.net Dropdownlist SelectedIndexChanged Event in JQuery

13 comments
Introduction

Here I will explain how to raise dropdownlist selectedindexchanged event in jquery using asp.net.

Description:
  
In previous articles I explained
How to bind dropdownlist using JQuery and how to get dropdownlist selected value and text using JQuery and many articles relating to JQuery. Now I will explain how to raise dropdownlist selectedindexchanged event in JQuery using asp.net.

JQuery get dropdown selected value and text in asp.net

6 comments
Introduction

Here I will explain how to get dropdownlist selected value or selected item text using JQuery in asp.net.

Description:
  
In previous articles I explained How to bind dropdownlist using JQuery and many articles relating to JQuery. Now I will explain how to get dropdownlist selected value using JQuery in asp.net.

If we want to get dropdownlist selected value or selected item text in JQuery we need to write the code like as shown below

How to Get Selected Value from Jquery Autocomplete textbox in asp.net

Aug 30, 2012 23 comments
Introduction

In this article I will explain how to get id or value of selected item from
jquery autocomplete textbox using webservice in asp.net.
Description:
  
In previous articles I explained
AutoComplete with webservice, JQuery autocomplete textbox example, Ajax autocomplete extender example and many articles in JQuery using asp.net. In this article I will explain how to get id or values of selected item from jquery autocomplete textbox in asp.net.

the files use a different language which is not allowed since they need to be compiled together

Aug 28, 2012 2 comments
Introduction

Here I will explain how to solve the problem “the files use a different language which is not allowed since they need to be compiled together” when running web application using asp.net. 

Description:

In previous article I explained JQuery autocomplete text with webservice. During work with that sample I created WebService in both the languages C# and VB.NET and I placed both languages code behind files in App_Code folder and I tried to run the application at that time I got error like “the files use a different language which is not allowed since they need to be compiled together” as shown below

Jquery Autocomplete Textbox With Asp.net Web Service

Aug 27, 2012 40 comments
Introduction:

In this article I will explain how to implement jquery autocomplete textbox with webservice in asp.net.
Description:
  
In previous articles I explained JQuery autocomplete textbox example,
Ajax autocomplete extender example and many articles in JQuery using asp.net. In previous explained JQuery autocomplete textbox sample article I used page methods directly calling from the page because of that it’s not possible to use that automcomplete functionality in master pages. We can solve this problem by create webservice and use that service to get data from database in asp.net.

Blogspot.com,Other Sites not Opening in My System Laptop PC

Aug 26, 2012 15 comments
Introduction

Here I will explain how to solve the problem of not opening blogspot or other websites in your laptop, system or pc.

Description:

Few days back I faced some strange problem like the sites which contains blogspot.com at the end like www.aspdotnet-suresh.blogspot.com those kind of sites not opened in my laptop. I thought may be internet problem but other sites are opening correctly If I try to open same blogspot url in some other system it’s working fine but in my laptop if I opened that it’s showing error like cannot find the server at www.aspdotnet-suresh.blogspot.com as shown below

How to Setup-Configure DNS Server in Windows 7 system/laptop

5 comments
Introduction

Here I will explain how to configure or setup or add DNS server in windows 7 system or laptop or pc.

Description:

In Previous article I explained how to create desktop shortcut to lock computer just by single click. Now I will explain how to setup or configure dns server in windows 7. To add or setup or configure dns server we need to follow below steps

jQuery Open All External Links in New Window

Aug 24, 2012 0 comments
Introduction

Here I will explain how to use jQuery to open all external links in new window or open all external links in new window using jQuery

Description:
  
In previous article I explained
open all hyperlinks in new window, expand textbox on focus and disable right click on image using JQuery and many articles relating to JQuery. Now I will explain how to open external links in new window using JQuery in asp.net.

Previous post open all hyperlinks in new window will open all internal and external links in new window. In many situations everybody prefer to open their website internal links in same window and external links (other website links) should be open in new window

jQuery Open All Links in New Window | jQuery Open Hyperlinks in New Window

Aug 23, 2012 2 comments
Introduction

Here I will explain how to use jQuery to open all links in New Window or jQuery make all links open in new window or jquery open hyperlink in new window.

Description:
  
In previous article I explained
expand textbox on focus and disable right click on image using JQuery and many articles relating to JQuery. Now I will explain how to open all hyperlinks in new window using JQuery in asp.net.

how to get current datetime in jquery/JavaScript

Aug 20, 2012 5 comments
Introduction

Here I will explain how to get current datetime in jquery or JavaScript.

Description:
  
In previous articles I explained auto refresh page ,
expand textbox on focus and disable right click on image using JQuery and many articles relating to JQuery. Now I will explain how to get current datetime in JQuery or JavaScript in asp.net.

Get current datetime in jquery

Please check below code to get current datetime using jquery

Different methods to reload/refresh page using jquery

8 comments
Introduction

Here I will explain how to refresh or reload webpage using Jquery in asp.net.

Description:
  
In previous article I explained
expand textbox on focus and disable right click on image using JQuery and many articles relating to JQuery. Now I will explain how to refresh or reload webpage using JQuery in asp.net.

We can refresh or reload webpage in different ways

Second Method

We can refresh the page by using Meta tags like as shown below

jquery expand textbox on focus using asp.net

Aug 19, 2012 2 comments
Introduction

Here I will explain how to expand or increase textbox size on focus using JQuery in asp.net.

Description:
  
In previous article I explained disable right click on image using JQuery and many articles relating to JQuery. Now I will explain how to expand or increase textbox size on focus using JQuery in asp.net.

Disable right click on images using jquery in asp.net

Aug 11, 2012 6 comments
Introduction

Here I will explain how to disable right click on right click only on images using JQuery in asp.net.

Description:
  
In previous article I explained disable right click web page using JQuery. Now I will explain how to disable right click only on images using
JQuery in asp.net.

To implement this one we need to write code as shown below in your aspx page

JQuery disable right click on web page using asp.net

6 comments
Introduction

Here I will explain how to disable right click on webpage using JQuery in asp.net.

Description:
  
In previous article I explained how to disable right click on webpage using JavaScript. Now I will explain how to disable right click on webpage using JQuery in asp.net.

To implement this one we need to write code as shown below in your aspx page

SQL Server - Query to Get Data between Two Dates in SQL Server

23 comments
Introduction:

Here I will explain how to write a SQL query to get data between two dates in SQL Server.

Description:

In previous articles I explained many articles relating to SQL Server. Now I will explain how to write a query to get data between two dates in SQL Server. In database I have one table UserInformation that contain data like as shown below

Asp.net-cannot open database requested by the login. the login failed. login failed for user 'iis apppool\DefaultAppPool'

Aug 9, 2012 0 comments
Introduction:

In this article I will explain how to solve cannot open database requested by the login. The login failed. Login failed for user 'iis apppool\DefaultAppPool' problem in IIS7. 

Description:

In previous posts I explained many articles to solve Run time errors in asp.net. In IIS7 I published one website and started running my deployed application at that time I got some error message like
cannot open database requested by the login. The login failed. Login failed for user 'iis apppool\DefaultAppPool'. To solve this problem I did some modifications in IIS for that check below post to make required modifications in iis

Asp.net-Unable to start debugging on the web server. IIS does not list a web site that matches the launched URL

2 comments
Introduction

Here I will explain how to solve the problem “Unable to start debugging on the web server. IIS does not list a web site that matches the launched URL.” When running web application using visual studio in asp.net.

Description

In previous posts I explained many articles to solve errors in asp.net. Now I will explain how to solve the problem of “Unable to start debugging on the web server. IIS does not list a web site that matches the launched URL”. During work with one application error like as mentioned above. We can solve this problem in different methods.

use top clause with update delete statements in SQL Server

Aug 7, 2012 0 comments
Introduction:

Here I will explain how to use top clause or keyword with update and delete statements in SQL Server.

Description:

In previous post I explained use top clause with insert statement in SQL Server and many more articles relating to SQL Server. Now I will explain how to use top clause with update and delete statements in SQL Server.

Before write query to use top keyword or clause with update and delete statements we need to design table UserInformation in database like as shown below

SQL Server - Query to use Top Keyword Clause with Insert Statement in SQL Server

3 comments
Introduction:

Here I will explain how to write SQL query to use top keyword or clause with with insert statement in SQL Server.

Description:

In previous post I explained use distinct keyword with top statement, Replace function example and Substring function example in SQL Server and many more articles relating to SQL Server. Now I will explain how to use top clause or keyword with insert statement in SQL Server.

Difference between bit tinyint smallint int and bigint datatypes in SQL Server

Aug 6, 2012 4 comments
Introduction:

In this article I will explain what is the difference between bit, tinyint, smallint, int and bigint datatypes in SQL Server.

Description:

In previous post I explained Differences between char, varchar and nvarchar in SQL Server and many articles relating to SQL Server. Now in this article I will explain what is the difference between bit, tinyint, smallint, int and bigint datatypes in SQL Server.

how to return value from stored procedure in sql server

Jul 31, 2012 1 comments
Introduction:

In this article I will explain how to create a stored procedure to return value in SQL server.

Description:

In previous post I explained Create stored procedure to return multiple values in SQL Server and many articles relating to SQL Server. Now I will explain how to create a stored procedure to return value in SQL Server. If you want to know how stored procedure return value in sql server check below post in that post explained clearly how stored procedure will return single or multiple values in SQL Server.

how to return multiple values from stored procedure in sql server

13 comments
Introduction:

In this article I will explain how to create a stored procedure to return value or multiple values in SQL server.

Description:

In previous post I explained how to write stored procedure to return output parameter values in sql server and many articles relating to SQL Server. Now I will explain how to create a stored procedure to return values in SQL Server. To implement this concept first design table in database and give name as UserDetails as shown below

Asp.net Dynamic button click event in c# vb.net

Jul 30, 2012 4 comments
Introduction:
In this article I will explain how to implement dynamic button click events in asp.net using c# or vb.net.
Description:

In previous posts I explained
how to create controls dynamically in asp.net and save dynamic control values in database and many articles relating to Asp.net, JQuery, and SQL etc. Now I will explain how to handle dynamic button click events in asp.net using c# or vb.net for that first we need to write the following code in your aspx page

Asp.net save dynamically created control values in database

13 comments
Introduction:

In this article I will explain how to save dynamically created control values in database using asp.net.
Description:

In previous posts I explained
how to create controls dynamically in asp.net and get dynamically created control values in asp.net. Now I will explain how to save dynamically created controls values in database using asp.net. To implement this concept first design table in database and give name as UserDetails as shown below

How to get dynamically created textbox value in asp.net

Jul 29, 2012 1 comments
Introduction

In this article I will explain how to get dynamically created textbox value in asp.net.

Description:

In previous post I explained dynamically create controls and handle event clicks in asp.net  . Now I will explain how to get dynamically created textbox values in asp.net.

If we want to get dynamically created textbox values we need to write 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.