Browse by Tags

All Tags » How To (RSS)

Web Platform Installer 2.0 available for Web developers by vik20000in

Hi, Of late Microsoft Has been doing great job in creating an great experience for installation for both development component for Asp.net and IIS server and also available free open source software. Yes I am talking about the Web Platform Installer 2...

LINQ Having Clause and Group By with condition by vik20000in

Hi, While querying with LINQ, some times we will have to use the group By clause. But many a times we also want to use the having clause of SQL with the group by clause in the LINQ. There is no direct having keyword in LINQ to do this we need to use the...
Filed under: , , ,

Application running in localhost and debugging mode by vik20000in

Hi, Most of the time (If not all) when working on the project we view the website with the help of localhost in debugging mode. Many a times when working on some modules, for solving small problem, we want to write some code that should execute only when...
Filed under: , ,

Visual Studio Changing default profile setting by vik20000in

Hi, While working with Visual Studio, was that normally we have to select the profile setting (Visula Basic profile, C# profile, web development profile etc...) when we start the Visual Studio for the first Times. But Many a time after working on a type...

Asp.net 4.0 FormView Control Enhancement by vik20000in

Hi, another of the new features of Asp.net 4.0 is the enhancement(in terms of rendering) made in the Formview control. By default the Formview control would render table, tr and td tags for display of content. This can be of much trouble to many of the...
Filed under: , ,

Assigning Multiple FontStyle to a single instance of font class in Dot net Windows Application by vik20000in

Hi, While working with Textbox in a windows application I wanted to show the text of the textbox to be both Bold and Underlined. I had to do this based on certain condition. I was surprised to see that the bold and underlined properties in the font class...

Setting and retrieving the default printer from code by vik20000in

Hi, There came a requirement in one of my colleague’s project whereby it was needed to set the printer to be used for the lotus notes (The project is about integrating with Lotus Notes.). To solve the issue instead of looking into the Lotus notes API...

Path.combine to combine two paths and backslash in second parameter by vik20000in

Hi, system.IO.Path comes with many good function to work with the File system. some of them are ChangeExtension, GetDirectoryName, GetExtension, GetFileNameWithoutExtension, IsPathRooted etc. The system.IO.Path.Combine is also include as a function in...
Filed under: , ,

Search on Last Modified By field in Sharepoint not working by default by vik20000in

Hi, Of late I have been working in Sharepoint project which works extensively on searching of data. We have implemented our own custom search page and use Sharepoint object model for searching the data. Yesterday I found a unique bug in Sharepoint. While...
Filed under: ,

C Sharp goto statement for breaking the nested loop by vik20000in

Hi, Two days back, while discussing with a friend came a small interesting (programming) situation where he wanted to stop (break) a loop which was inside another loop. You can think of the situation as he was first looping through all the rows in a grid...
Filed under: , , , ,
More Posts Next page »