Introduction
In this article
we are going to learn the topic of how to post back the dropdown selected
change without changing the property of Autopostback=”true”
.
For this we are going to call the method at the
time of onchange event OnChange="dropDownChange();"
In this method we write the call back method with
parameter condition like
__doPostBack('pnlGrid', strUser)
Coding
Write this code
In Aspx Source File
<html xmlns="http://www.w3.org...
Thursday, May 29, 2014
Get The Specific Column From The Data Table Using Asp.Net C#
Step 1:-
Creating the dynamic data table
DataTable dt = new
DataTable();
dt.Columns.Add("UserId",
typeof(int));
dt.Columns.Add("UserName",
typeof(string));
dt.Columns.Add("Education",
typeof(string));
dt.Rows.Add(1, "Lokesh",
"B.Tech");
dt.Rows.Add(2, "Vijay",
"Msc");
dt.Rows.Add(3, "Balaji",
"MS");
dt.Rows.Add(4, "Charan",
"B.Tech");
dt.Rows.Add(5, "Durga",
"MD");
dt.Rows.Add(6, "Shiva",
"B.Tech");
dt.Rows.Add(7, "Venkat",
"CA");
Step 2:- By using the “DefaultView” Key...
Get the Specific Row From the Data Table using LINQ in Asp.Net
Step 1:-
Create One dynamic datatable
DataTable dt = new
DataTable();
dt.Columns.Add("UserId",
typeof(int));
dt.Columns.Add("UserName",
typeof(string));
dt.Columns.Add("Education",
typeof(string));
dt.Rows.Add(1, "Lokesh",
"B.Tech");
dt.Rows.Add(2, "Vijay",
"Msc");
dt.Rows.Add(3, "Balaji",
"MS");
dt.Rows.Add(4, "Charan",
"B.Tech");
dt.Rows.Add(5, "Durga",
"MD");
dt.Rows.Add(6, "Shiva",
"B.Tech");
dt.Rows.Add(7, "Venkat",
"CA");
This is the LINQ code for getting the specific...
Manipulating the Asp.Net Textbox with Custom Inputs using JQuery
Manipulating
the Asp.Net Textbox with Custom Inputs using JQuery
Step 1:-
Add this Source tag in the top
<script src="js/jquery-1.4.1.js" type="text/javascript"></script>
For jquery-1.4.1.js
this file follow below link
https://code.google.com/p/autojscssversion/source/browse/trunk/Scripts/jquery-1.4.1.js?r=2
Step 2:-
Write this code below
Put Client
ID Mode Static in the Top ClientIDMode="Static" %>
<%@ Page
Language="C#"
AutoEventWireup="true"
CodeBehind="TextBoxManipulationUsingJavascript.aspx.cs"
...
Getting the System Local IP address from the ASP.Net Using the ActiveX Control

Getting the
System Local IP address from the ASP.Net Using the ActiveX Control
Step 1:-
Creating the one empty windows project c#
Open visual
studio à
File àNew àProject à In installed templates select the
Windows à
And select Class
Library àName
it as “SampleActiveXControl “ and click ok à
Step 2:-Go
to solution explorer à Right click the sampleActiveXControl project àAdd à
New Item...
Wednesday, May 28, 2014
Creating the Zooming the Image while mouse hover Using Jquery like EBye Adverticements sites in Asp.net C#

Step 1:-
Add this line
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script src="js/jquery.elevatezoom.min.js" type="text/javascript"></script>
To Make jquery.elevatezoom.min.js file
Explanation is in the below
Step 2:- Add this Full Code
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
...
Subscribe to:
Posts (Atom)