Grouping the data based on the column data is one of the common requirement. In ASP.NET 2.0 the Gridview control proves to be an efficient data control. The code snip shows how to group data using the GridView control . Read More...
Probably everyone having a love/hate relationship with Microsoft is talking about Windows Vista these days. Not to say some of my Anti-Microsoft friends are taking pride saying they have Vista installed on laptops/desktops. Reason could be the eye candy...
Microsoft has its own ways to amuse people with there new products. Almost every year Microsoft invites MVP's (Microsoft Valuable Professional) for Microsoft Global Summit in Seattle. This year was no different and I was glad to be a part of it! With...
The SiteMap protocol created by Google has been used for year and a half, will now be embraced by Yahoo and Microsoft. While Yahoo plans to adopt this effective Thursday, with the continuous support for its current protocol, Microsoft plans to terminate...
Interesting and enlightening article on Viewstate. TRULY Understanding ViewState Read More...
In earlier post I had discussed about ways to prevent Sql Injection . Rocky Heckman's (Visual Developer Security MVP) webcast on Assembly Injection anatomizes these issues, giving us an in-depth understanding of the topic. Tip/Trick: Guard Against...
Yes true! Microsoft released its Interop Forms Toolkit 1.0 as a free add-in that simplifies the process of displaying .Net WinForms in a VB6 application. More details: Microsoft Tool Brings VB6 Developers to .Net Read More...
Several times there is a requirement to hide/disable the close button and to close the Form with a button on the Form to exit the application. To hide the Close Button on the form we can set ControlBox propertyof the Form to False (by default its set...
VB.NET Private Sub MonthCalendar1_DateChanged(ByVal sender As Object, ByVal e As System.Windows.Forms.DateRangeEventArgs) Handles MonthCalendar1.DateChanged 'Display the dates for selected range Label1.Text = "Dates Selected from :" &...
Join the Windows Community Site! Please register and share your comments/suggestion. A great effort put together by fellow MVP's: Raghu Boddu , Soumitra Sengupta and M Rajesh Read More...
We come across situation many a times where we need the name of the folder in which the file resides. Let's say the folder is as "C:\Project1\CSProj1\somename\file1.cs" We need to get the folder "somename" We can do this by using...
VB.NET Shared Function ExtractNumbers( ByVal expr As String ) As String Return String.Join( Nothing, System.Text.RegularExpressions.Regex.Split( expr, "[^\d]" ) ) End Function C# static string ExtractNumbers( string expr ) { return string.Join...
To open pop-up window using <asp:dropdownlist..> VB.NET Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) Response.Write("<script>window.open('" + DropDownList1.SelectedValue + "'...
We have seen many examples on how to change the background color of row based on the data using DataGrid Control. This can be done using a helper function or using the appropriate event of the datagrid We will use the similar scenerio to find out how...
Virtual India is a research project by Microsoft Research India , in collaboration with the Government of India's Department of Science and Technology , powered by Microsoft Virtual Earth™ technology. Check below links for more information on...
In this Sample code we will see how to customize calendar control to limit the user to select the day on or after today Step 1: Drag Drop Calendar Control <asp:Calendar id="Calendar1" runat="server"></asp:Calendar> Step 2: In code behind use...