ASP.NET News from Blogger: Sushila Patels Weblog   Get the feed of: Sushila Patels Weblog

Total News: 27

Silverlight Tip: How to add new line to string in resource file

To add new line to string in resource file in Silverlight applicationSolution:During add/edit of the resource string, press Shift + Enteri.e. Line 1 Shift + Enter Line 2...

Silverlight <Grid>

I had attended couple of sessions on Silverlight few years ago, bumped into couple of blogs until recently that I actually got to work on it. Well I must say I am xapped so far. Still learn...

How To: Group Data in the GridView Control

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 th...

Somesagar: Listening to your feedback - Expression and MSDN

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 ye...

Google, Yahoo and Microsoft team up

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 ...

ViewState in-depth

Interesting and enlightening article on Viewstate.TRULY Understanding ViewState  ...

Sql Injection in-depth

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...

Move VB6 application form by form to .NET

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 Develop...

How To: Get Selected Date from MonthCalendar control

VB.NETPrivate Sub MonthCalendar1_DateChanged(ByVal sender As Object, ByVal e As System.Windows.Forms.DateRangeEventArgs) Handles MonthCalendar1.DateChanged'Display the dates for selected rangeLabe...

How To: Get the foldername in which the file resides

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...

How to extract numbers from string

VB.NETShared Function ExtractNumbers(ByVal expr As String) As String  Return String.Join(Nothing, System.Text.RegularExpressions.Regex.Split(expr, "[^\d]")) End FunctionC#static string ...

How to open a pop-up window using dropdownlist

To open pop-up window using <asp:dropdownlist..>VB.NETProtected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs)  Response.Write("<script>wind...

How To: Change the row Background color based on the database value using GridView Control

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 da...

Welcome to Virtual India Project!

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 technolog...

How To: Customize Calendar Control to limit the users to select day on or after today

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...

Microsoft Expression

Check out Tours and Demos on the much awaited Microsoft Expression Series Microsoft Expression "Acrylic Graphic Designer" a painting, illustration and effects tool for creating...

ASP.NET Faq on Syncfusion Website

Check out ASP.NET Faq on Syncfusion website....

Google Feature Incorporates Satellite Maps

After the Google Maps, a stunning mapping and direction finding service, Google has unveiled a new feature that will enable its users to zoom in on homes and businesses using satellite images. Mo...

How to troubleshoot Microsoft.Net Framework installation issues

When Microsoft Windows Installer is incorrectly registered in the Windows registry, the .NET Framework version Setup program cannot gain access to some Windows Installer components. The below&nbs...

Validation Controls not working on Firefox

The ASP.Net validations controls only work client side in IE. You can make them work in other browsers, coding as below: C# Page.Validate(); if ( !Page.IsValid ){ return;}//Continue Your code ...

ASP.NET 2.0 Presentations

Below is a series of presentations by Jeff Prosise of Wintellect where he introduces us with the new features of ASP.NET 2.0. Web Forms Web Forms - Web forms are the atoms from which ASP.NET Web pa...

Think you have gotta tough job?....

There was a time when I used to open/refresh my inbox every 5-3-2-1-... mins to check if I have got a new mail. Along with original mails every forwarded mail brought a very satisfying smile on my fac...

Designing .NET Class Libraries Training

A great series of presentations and technical chats on Designing .NET Class Libraries is available @ MSDN .NET Framework Developer Center. Lesson 0: Setting the Stage... by Brad Adam's is awesome!56k|...

Think you have gotta tough job....

There was a time when I used to open/refresh my inbox every 5-3-2-1-... mins to check if I have got a new mail. Along with original mails every forwarded mail brought a very satisfying smile on my fac...

Sample Code: Bidirectional Sorting in ASP.NET Repeater control

.aspx <asp:Repeater ID="Repeater1" Runat="server" EnableViewState="False"> <ItemTemplate> <table width="100%" cellspacing="0" cellpadding="0"> <tr>&n...

Sample Code: How to display multiple spaces in a dropdownlist

webform1.aspx <asp:DropDownList id="DropDownList1" runat="server"></asp:DropDownList> VB.NET Code Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Hand...

Injection Attacks

 To prevent SQL-injection attacks, never use string concatenation to build a SQL command, always use the SqlCommand class (or OleDbCommand class, etc) with parameterized commands. if possible...

View Other bloggers