aspx Tutorial

NET Articles,jQuery demo, with jQuery, online tutorial,Jquery, SilverLight, Javascript,,JSON, MVC,.NET Articles,demo, Web Services,
Advertise Here


Get our toolbar!


by Aamir Hasan   on Wednesday, June 9, 2010
TransmitFile Method reads Transmit the file into smaller memory buffer .So you don’t have control over the response. You don’t know that download is completed... More
by Aamir Hasan   on Sunday, June 6, 2010
Here Aamir Hasan has explained how to implement paging in ASP.NET Repeater Control. More
by Aamir Hasan   on Sunday, June 6, 2010
In this article, you will see how how to search a value using linq query and bind it into repeater. More
by Aamir Hasan   on Thursday, June 3, 2010
Here Aamir Hasan has explained how to bind Repeater using Linq in More
by Aamir Hasan   on Sunday, May 30, 2010
Language-Integrated Query (LINQ)is a set of classes to the .Net framework 3.5. Linq is introduce in Visual Studio 2008,Write the queries in the code to retrive the data from data source... More
by Aamir Hasan   on Friday, May 28, 2010
Here Aamir Hasan has explained that how to create background color effect on mouseover on a list text More
Tags: , ,
by Aamir Hasan   on Friday, March 12, 2010
Here Aamir Hasan has explained how to bind data in combobox control in silverlight More
by Aamir Hasan   on Saturday, March 6, 2010
Aamir Hasan has explained that how to add css links programmatically in page using Javascript... More
by Aamir Hasan   on Wednesday, August 5, 2009
DAL DbConnectionusing System.Configuration;namespace AamirHasan.DAL{    public class DBConnection    {        public DataACDataContext GetDBContext()        {            return new DataACDataContext(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString);        }    }}   DataAC.dbml     AamirHasan.BLL ICountry.cs using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace AamirHasan.BLL{    public class ICountry    {        private long id;        private string name;        public long ID        {            get { return id; }            set { id = value; }        }        public string Name { get { return name; } set { name = value; } }    }} Country.cs using System;using System.Collections.Generic;using System.Linq;using System.Text;using AamirHasan.DAL;namespace AamirHasan.BLL{    public class Country : ICountry    {        public List<Country> getAllCountriesName()        {            DBConnection d = new DBConnection();            using (var db = d.GetDBContext())            {                List<Country> _List = (from Obj in db.countries                                       select new Country                                       { ID =, Name = }).ToList<Country>();                return _List;            }        }    }} <script src="JavaScript/jquery.js" type="text/javascript"></script>    <script src="JavaScript/jtemplates.js" type="text/javascript"></script>   <link href="CSS/StyleSheet.css" rel="stylesheet" type="text/css" />    <script type="text/javascript">        $(document).ready(function() {            $.ajax({                type: "POST",                url: "Default.aspx/getAllCountriesName",                data: "{}",                contentType: "application/json; charset=utf-8",                dataType: "json",                success: (function Success(data, status) {                    $('#placeholder').setTemplateURL('JTemplates/ForEachTemplate.htm');                    $('#placeholder').processTemplate(data.d);                })            });                 });    </script></head><body>    <form id="form1" runat="server">        <p><h1>How to Apply Jtemplate in using,Linq</h1></p>    <p><h4>Author:Aamir Hasan<br /><br />092 333 5494532</h4></p>    <div id="placeholder" style="clear: both;"></div>    </form>   Download password:aamirhasan
Advertizement 1
Advertizement 2
Advertizement 3
Advertizement 4
Advertizement 5