Category Archives: ASP.NET

Tip: Generating iCalender file using ASP.NET

  iCalender is something like an open format text file to add items to the calendar (like Outlook calendar).  It is simply a text file which contains fields and information about the particular event of a calendar.  Once you double … Continue reading

Posted in ASP.NET | Tagged , | Leave a comment

TIP: Modifying Connection String dynamically for a strongly typed dataset in a different assembly

Imagine, I am working on a Visual Studio 2005/2008 solution with class library project (DAL) and Web Application Project (ASP.NET).  Say, the DAL is being developed using Dataset Designer with different Strongly Typed DataSets/DataTables together with TableAdapters.  Then I would … Continue reading

Posted in ASP.NET | Tagged , | Leave a comment

TIP: Writing a macro in Visual Studio 2005 to attach a process for debugging purposes

For debugging class libraries, web services etc., we may need to attach the debugger to a running ASP.NET process.  It is better to write a macro to accomplish the above and use it for any number of times using a … Continue reading

Posted in ASP.NET | Tagged , | Leave a comment

Opening a Popup and refreshing parent (when closed) using ASP.NET

The following is the source code which demonstrates the opening of a popup (from gridview), adding/editing a record in popup and finally refresh the parent window upon closing the popup using ASP.NET:     http://cid-41050f68f010a662.skydrive.live.com/embedrowdetail.aspx/Public/SourceFilesForBlog/Misc/PopupTest.zip   thanks Jag

Posted in ASP.NET | Tagged , | Leave a comment

Part 4: Object Oriented Report Development using Crystal Reports and ASP.NET 2.0

Hello,   My new article on "Object Oriented Report Development with Crystal Reports and ASP.NET 2.0" got published here http://www.aspfree.com/c/a/ASP.NET/Object-Oriented-Report-Development-using-Crystal-Reports-and-ASP-NET-2-0/   Enjoy and let me know the feedback…   thanks Jag 

Posted in ASP.NET | Tagged , | 25 Comments

Part 3: Working with ADO.NET Datasets and .NET Objects using Crystal Reports and ASP.NET 2.0

Hai,   My new article (part of the series of "Programming with Crystal Reports using ASP.NET 2.0") got published here http://www.aspfree.com/c/a/ASP.NET/Working-with-ADONET-Datasets-and-NET-Objects-using-Crystal-Reports-and-ASP-NET-2-0/   It discusses about using datasets and .NET objects to pass data to Crystal Reports using ASP.NET 2.0   enjoy and … Continue reading

Posted in ASP.NET | Tagged , | 11 Comments

Part 2: Programming Crystal Reports with ASP.NET 2.0: working with parameters

Hello guys,   My latest article focusing on Programming with Crystal Reports with ASP.NET 2.0 (part 2) got published here http://www.aspfree.com/c/a/ASP.NET/Working-with-Parameters-with-Crystal-Reports-and-ASP-NET-2-0/   enjoy and let me know the feedback.   Thanks Jag 

Posted in ASP.NET | Tagged , | 6 Comments

TIP: Open popup when clicked on a hyperlink in GridView: Part-2

Part – 2 of previous Post:   Part – 1 is here: http://jagchat.spaces.live.com/blog/cns!41050F68F010A662!841.entry   ——– UPDATE: Page refresh upon closing a popup is published here (along with source code) http://jagchat.spaces.live.com/blog/cns!41050F68F010A662!1184.entry  ——–   The Employee class got coded as following:   Imports … Continue reading

Posted in ASP.NET | Tagged , | Leave a comment

TIP: Open Popup when clicked on a hyperlink in GridView: Part-1

This is a small tip which demonstrates the functionality to open a popup (with details page) when the user clicks on any link in a particular column of GridView.  Part-1 contains code for default.aspx and Part-2 (next post) contains the rest … Continue reading

Posted in ASP.NET | Tagged , | Leave a comment

TIP: Highlighting ASP.NET 2.0 GridView rows on mouseover (using CSS)

In my example, the GridView definition looks something like the following: <asp:GridView ID="GridView1" runat="server" AllowSorting="True" AutoGenerateColumns="False"DataSourceID="odsrcEmp"><Columns>…</Columns><AlternatingRowStyle BackColor="#FFC0C0" /></asp:GridView> I added the StyleSheet at the top as following: <head runat="server"><title>Untitled Page</title><style type = "text/css">tr.row:hover, tr.over td { background-color: #ffccff; }</style> </head> … Continue reading

Posted in ASP.NET | Tagged , | Leave a comment