.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

The Working Programmer: Inside SQLite

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

After tackling NoSQL, Ted Neward turns back to the relational world of SQL-SQLite, that is. Learn all about the lightweight, embedded database whose running footprint can be as small as one file installed in a client file system.

Ted Neward

MSDN Magazine August 2010

View Complete Post

More Related Resource Links

The Working Programmer: Going NoSQL with MongoDB, Part 3


Wrapping up his examination of MongoDB, Ted Neward discusses predicate queries, aggregate functions and LINQ support, and provides some tips on hosting the NoSQL database in a production environment.

Ted Neward

MSDN Magazine July 2010

The Working Programmer: Going NoSQL with MongoDB, Part 2


Ted Neward continues his dissection of the alternative MongoDB database system, using exploration testing to investigate the underlying technology.

Ted Neward

MSDN Magazine June 2010

The Working Programmer: Going NoSQL with MongoDB


MongoDB is one of the principal tools of the NoSQL movement, which offers alternatives to the traditional relational database system. Learn its strengths and weaknesses as Ted Neward examines the document-based database in detail in the first of a series of columns.

Ted Neward

MSDN Magazine May 2010

The Working Programmer: Multiparadigmatic .NET, Part 1

Software development isn't all about object-oriented design; it's about finding what works best, and incorporating it into your solution.Ted NewardMSDN Magazine September 2010

Image stretch inside a grid stops working horizontally once columns are added to grid.

I have a simple setup of a window. Window contains a grid, inside the grid there is an image. I want the image to always stretch across the entire cell. I've set it's Stretch property to Fill and it works fine, as long there is only one column in the parent grid. As the window is resized, the image stretches correctly. As soon as I add another column, the image stops stretching horizontally. Vertially it works just like before, horizontally it now appears with a fixed width corresponding to the width of the picture used as the source. Does not matter which column it's positioned in, and I've tried encapsulating it into another grid but behaviour does not change. It behaves the same in both Visual studio 2010 designer and at runtime. In addition when I tried to encapsulate it in a second grid, this seond grid also now has altered behavior - instead of sizing itself to it's container (both height and width are not set) as it's parent grid does, it now sizes itself to its contents - the image. But only horizontally. What is going wrong here, is this a bug or am I missing something, and any advice on how I can get the image to fill one of the cells of a grid with more then one column?

Alert not working when used with image inside gridview

I am currently using following code to set alert on required column of my grid. When I change button type to Image the alert appear after completion action. Any quick suggestion??   My code is below.. protected void grdDelTempList_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Cells[6].Attributes.Add("onClick", "javascript:return confirm('Are You Sure?');"); } }    

AsyncFileUpload inside FormView not working

I'm having a lot of problems with something seemingly simple, and from other posts sounds like people have been able to do. I have a FormView inside a user control, and in the InsertItemTemplate, I have an AsyncFileUpload control, that I would like to to use. On the user side, it seems to work, but it doesn't work on the server side code behind. The HasFile Property is always false, and it doesn't fire the UploadCompleted event either. My UpdatePanel is in the master page. Any ideas? Thanks <asp:FormView ID="frmAddImage" runat="server" DataKeyNames="imageID" DataSourceID="sqlImages" Width="100%"> <InsertItemTemplate> <cc1:AsyncFileUpload runat="server" ID="FileUploadImage" Width="400px" UploaderStyle="Traditional" CompleteBackColor="Lime" ErrorBackColor="Red" onuploadedcomplete="AsyncFileUpload_UploadedComplete" UploadingBackColor="#CCFFFF" />  

ReportViewer inside UpdatePanel not working


Has anyone been able to get the ReportViewer to work correctly inside an UpdatePanel?

For me the report renders fine on the initial whole-page refresh, but when I click the next page button the next page renders but doesn't allow me to navigate through the pages anymore. The toolbar says "(blank) of 0" pages and the arrow toolbar buttons for navigating between pages are all disabled.

overflow:auto not working inside updatepanel


Hi all:
I have a div and a css class that gives overflow. but when i add this div inside updatepanel. overflow:auto doesnt work any solution ?
 <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                <div id="mycontent" runat="server">

Crystal Report Export and Print button not working inside UpdatePanel



Iuse UpdatePanel for my pages, clients requested to view pages without flickering.

So, I put all component in update panel, but after that, export and printing for Crystal Reports stoped to work. If I put report viewer outside of updatepanel its working.

Have anyone this problem? There's some solution for this?

Thanks, Paul

Javascript allert inside AJAX UpdatePanel not working


I am having problems with alert box not popup when I'm using AJAX UpdatePanel. The following is what I have and it's not working.

1    ClientScriptManager csm = Page.ClientScript;
3    if(!csm.IsStartupScriptRegistered(this.GetType(), "winPop"))
4    {
5    	csm.RegisterStartupScript(this.GetType(), "winPop", "alert('Update is successful');", true);
6    }

I have to stress that the reason why it does not work is because I'm using AJAX UpdatePanel. If I turned off the AJAX UpdatePanel then it works perfectly. So does anyone have solution to go around this AJAX UpdatePanel issue?

The Working Programmer: Multiparadigmatic .NET, Part 2


Finding the commonalities and variabilities within a system, and expressing them, forms the heart of design.

Ted Neward

MSDN Magazine October 2010

The Working Programmer: Multiparadigmatic .NET, Part 3: Procedural Programming


Procedural programming is often seen as "old school," outdated and useless in modern software design, but the design paradigm still shows up in a surprising number of places-including the compiler and MSBuild.

Ted Neward

MSDN Magazine November 2010

Simple jQuery inside a ListView ItemTemplate: Only 1st row is working?


Here is my js code:

$(document).ready(function () {

    $("#lnkBlocks").text("Show Blocks");

    //Show course blocks
    $("#lnkBlocks").click(function () {
        if ($("#divBlocks:first").is(":hidden")) {
            $("#lnkBlocks").text("Hide Blocks");
        } else {
            $("#lnkBlocks").text("Show Blocks");


Here is my ListView Item Template:

            <a id="lnkBlocks">Show Blocks</a>
            <asp:Label ID="ShortNameLabel" runat="server" Text='<%# Eval("ShortName") %>' />
            <div id="divBlocks" style="display:none;">This is the blocks box</div>


What is happening here and how do I fix it? I will also be enclosing the ListView inside an UpdatePanel later, after I get this fixed. Thanks.

SharePoint PeopleEditor control is not working properly inside UpdatePanel


WSS 3.0

I have a page with UpdatePanel and PeopleEditor control inside it. PeopleEditor control does not restore selected user(s) after post back.
Searching over support forums gave me some answered questions but page with solution http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopmentprerelease/thread/b4756f6b-0940-4c2c-9c09-3d7dd7646fef is not found now.

Where else can I find the solution for this issue?


The Working Programmer: Multiparadigmatic .NET, Part 7: Parametric Metaprogramming


In this series we've examined procedural and structural programming, objects, and metaobjects. Now let's take a look at generics and put them to work as an example of parametric polymorphism in action.

Ted Neward

MSDN Magazine May 2011

Working with SharePoint document libraries

Document libraries are collections of files that you can share with team members on a Web based on Microsoft Windows SharePoint Services. For example, you can create a library of common documents for a project, and team members can use their Web browsers to find the files, read them, and make comments. Users with Microsoft Office 2003 can check out and edit the files as if they resided on a local or network drive.

By default, your team Web site comes with a built-in document library named Shared Documents, which is listed on the Quick Launch bar as well as on the Documents and Lists page.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend