11-17 of 17
  • Interesting .Net String Functions

    5/9/2009
    Introduction: .Net 3.5 has some interesting string functions. I almost admire their usage. Following are those functions that we will be discussing here. String.IsNullOrEmpty() String.Split()(Available from .Net 1.0) String.Join()(Available from .Net 1.0) Reference Links String.IsNullOrEmpty - http://msdn.microsoft.com/en-us/library/system.string.isnullorempty.aspx String.Split() -http://msdn.microsoft.com/en-us/library/system.string.split.aspx String.Join()-http://msdn.microsoft.com/en-us/library/system.string.join.aspx Target Audience: The target audience should have knowledge in VB.Net or C#.Net to get a clear understanding of these functions. String.IsNullOrEmpty() This is the function to test a string for either Null reference or Emptiness. This is something equal to VB.Net Dim tstStr As String If tstStr = String.Empty Or tstStr = Nothing Then Response.Write("String is empty or null") End
  • GridView Fixed Header

    5/5/2009
    Gridview is one of the good controls which enables us to produce Excel like output in the webforms.You can learn more about grid view in the following link GridView Documentation We had a scenario where we are supposed to give freeze pane like feature for Gridview. We had a lengthy Grid with some 20 or 30 columns . We had paging for about 20 records per page. So following were the requirements. 1. Grid must have a Fixed header. 2. it should be scrollable horizontally. 3. it should be scrollable vertically. I did a lot of search and could only
  • Dynamic Query with Entity Framework

    4/29/2009
    Dynamic query building is most often used in the enterprise world for search screens and other operations. I remember writing code very tediously night and day for a very big search screen. Those days where the nightmares, but good experiences we got. Now these things are made very simple by means of Microsoft's Ado.Net entity framework. ADO.Net Entity Framework is an ORM extension from Microsoft. This is something similar to Linq to Sql . But this one is having some good features and we will be discussing one of them. I will demonstrate this with a sample project. Prerequisites: Visual
  • Silverlight - DomainUpDown Control

    4/28/2009
    DomainUpDown control is one of the new controls available in the Silverlight 3 Toolkit which can be found in Silverlight Toolkit This control Represents a Windows spin box (also known as an up-down control) that displays string values.Help files for the assemblies are downloaded with them by default. This control belongs to the following namepsace. Namespace: System.Windows.Forms Assembly: System.Windows.Forms (in System.Windows.Forms.dll) The control is bound with a datasource collection. One item from the collection will be displayed at a time. User can enter text into the control provided one of the values of the collection is matched else it will
  • Asp.Net Excel File Import and Transfer to Sql Server

    4/27/2009
    Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;} Excel file import is one of the important repeatedly used feature in all the web applications and Windows application. The thing is Excel is very useful for ordinary people other than technical people. One doesn't need to know about queries when using Excel. Such a user friendly tool for the Business users. So the scenario here is uploading them in Web
  • Silverlight 3 Navigation API

    4/24/2009
    Silverligth 3 is the most awaited release of Microsoft. I found the download’s from the page Silverlight 3. The following are the utlities that can be found in this download page. Silverlight 3 Beta Tools for Visual Studio Microsoft Expression Blend 3 Preview Silverlight Toolkit .NET RIA Services Silverlight 3 Beta Documentation In this list the most attracting one is the RIA services which is making wonders with Silverlight now. I will be discussing about them in the later posts. Now I am going to discuss about the Navigation features that are introduced with this new release. Its good to
  • .Net Ria and Silverlight 3

    4/23/2009
    Hi All,I am happy that i will be writting some posts on .Net Ria and Silverlight 3. I will also be posting some detailed articles on Entity Framework and ADO.Net Data Services. So keep checking my blogs and articles.Thanks,Thani