<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1629722577641388465</id><updated>2011-11-27T16:30:02.728-08:00</updated><title type='text'>Learn DotNet</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://featuresindotnet.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1629722577641388465/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://featuresindotnet.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Vijay Kumar</name><uri>http://www.blogger.com/profile/12535714666203300014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1629722577641388465.post-377128606944500529</id><published>2008-01-03T20:36:00.000-08:00</published><updated>2008-01-03T21:18:06.635-08:00</updated><title type='text'>GridView Paging and Sorting in ASP.NET 2.0 without SqlDataSource</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;When displaying large amounts of data it's often best to only display a portion of the data, allowing the user to step through the data ten or so records at a time. Additionally, the end user's experience can be enhanced if they are able to sort the data by one of the columns. Creating a pageable, bi-directional sortable DataGrid in &lt;strong&gt;ASP.NET 1.x&lt;/strong&gt; was possible, but required creating two event handlers and writing, at minimum, a half dozen lines of code. The good news is that with &lt;strong&gt;ASP.NET 2.0&lt;/strong&gt; you can create a pageable, bi-directional sortable DataGrid without writing a single line of code!&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;View the following Link to See the Example of Gridview Paging and Sorting in ASP.NET 2.0 with SQLDataSource &lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/aa479347.aspx"&gt;GridView Paging&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;or &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;The follwoing Shows how to do Paging and Sorting &lt;strong&gt;without SQLDataSource&lt;/strong&gt;,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;--&gt; First Change the &lt;strong&gt;AllowPaging&lt;/strong&gt; and &lt;strong&gt;AllowSorting&lt;/strong&gt; Properties to &lt;strong&gt;True&lt;/strong&gt; for GridView.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;For Paging,&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;on Page_Load,&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Dim sqlconn As New SqlConnection("data source=&lt;datasource_name&gt;;database=&lt;database_name&gt;;uid=&lt;userid&gt;;pwd=&lt;pwd&gt;")&lt;br /&gt;Dim da As New SqlDataAdapter("select login,firstname,lastname from users", sqlconn)&lt;br /&gt;Dim ds As New DataSet&lt;br /&gt;da.Fill(ds, "users")&lt;br /&gt;GridView1.DataSource = ds.Tables(0)&lt;br /&gt;GridView1.DataBind()&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;GridView Has an Event Called &lt;strong&gt;PageIndexChanging&lt;/strong&gt; , in this Event Procedure Write the following code&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;GridView1.PageIndex = e.NewPageIndex&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1629722577641388465-377128606944500529?l=featuresindotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://featuresindotnet.blogspot.com/feeds/377128606944500529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1629722577641388465&amp;postID=377128606944500529' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1629722577641388465/posts/default/377128606944500529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1629722577641388465/posts/default/377128606944500529'/><link rel='alternate' type='text/html' href='http://featuresindotnet.blogspot.com/2008/01/gridview-paging-in-aspnet-20.html' title='GridView Paging and Sorting in ASP.NET 2.0 without SqlDataSource'/><author><name>Vijay Kumar</name><uri>http://www.blogger.com/profile/12535714666203300014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1629722577641388465.post-8146135623022786519</id><published>2007-12-28T22:03:00.000-08:00</published><updated>2007-12-28T22:16:51.093-08:00</updated><title type='text'>DOT NET Framework Architecture</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    The .Net framework consists of two main component one of them is .Net framework class library and another is CLR. The .Net framework class library common for all .Net language .We can use this to develop different application such as console applications, windows and Web Forms and Web Services.&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    The CLR do some of the important task such as load the IL code of program at runtime. Compile the IL code in native code execute and manage code enforce security and type safety helps in thread support .The code that run in CLR is called unmanaged code .There is an layer which allow both manage code and unmanaged code to interoperate with each other.&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;    The CLR is combination of various components which provides the runtime environment and runtime services for our application .These components loads the IL code into runtime environment and runtime service for our applications.&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;    These components provide multiple task such as type safety and also provide automatic memory management and also helps in threading too. These components also play a sensitive role in exception manager. Some of these components which is generally asked in interview questions &lt;/span&gt;&lt;span style="font-family:verdana;"&gt;are as follow:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Class loader&lt;/strong&gt;: its helps in loading class at runtime.Security engine: as the name suggest its helps in security restrictions and enforces security. &lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Code manager&lt;/strong&gt;: Its works is to manage the code during execution.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Type checker&lt;/strong&gt;: Its helps CLR to do strict type checking.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;COM Marshler&lt;/strong&gt;: It helps. Net application for exchange data with the COM applications.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Exception Manager&lt;/strong&gt;: It provides a method to handle the runtime exceptions.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Base class library support&lt;/strong&gt;: it provides the type which is required at runtime&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Garbage collector&lt;/strong&gt;: Its performs the automatic memory management and treatment of objects.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;MSIL&lt;/strong&gt;: It converts MSIL to native code and then converts MSIL code into native code. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1629722577641388465-8146135623022786519?l=featuresindotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://featuresindotnet.blogspot.com/feeds/8146135623022786519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1629722577641388465&amp;postID=8146135623022786519' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1629722577641388465/posts/default/8146135623022786519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1629722577641388465/posts/default/8146135623022786519'/><link rel='alternate' type='text/html' href='http://featuresindotnet.blogspot.com/2007/12/dot-net-framework-architecture.html' title='DOT NET Framework Architecture'/><author><name>Vijay Kumar</name><uri>http://www.blogger.com/profile/12535714666203300014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
