Microsoft .Net Mobile Question:
Download Questions PDF

What is the difference between .Net Mobile Pages and ordinary .NET web page?

Answer:

.NET Mobile pages are similar to ordinary .NET Webpages.

<%@ Page Inherits="System.Web.UI.MobileControls.MyPage" %>

<%@ Register TagPrefix="mob" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile" %>

<mob:Form runat="server">
<mob:Label runat="server">Hello World</mob:Label>
</mob:Form>

Notice the only difference being the tag mob which uses the System.Web.UI.MobileControls library instead of the asp tag.

Download .Net Mobile Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me .NET Mobile Emulators?What is .Net Mobile automatic paging?