What is the different between <%# %> and <%= %>
The <%# %> is used for databinding where as <%= %> is used to output the result of an expression. The expression inside <%# %> will be executed only when you call the page’s or control’s DataBind method. The expression inside <%= %> will be executed and displayed as and when it appears in the page.
Is it possible to write code in many languages in one ASP.NET project
You cannot write the code-behind files in different languages in the same project, but you can write the aspx pages and ascx controls in different languages.
How to convert milliseconds into time
VB.NET dim ts as TimeSpan = TimeSpan.FromMilliseconds(10000) Response.Write (ts.ToString () ) C# TimeSpan ts = TimeSpan.FromMilliseconds(10000); Response.Write (ts.ToString () );
What is the difference between URL and URI
A URL is the address of some resource on the Web, which means that normally you type the address into a browser and you get something back. There are other type of resources than Web pages, but that’s the easiest conceptually. The browser goes out somewhere on the Internet and accesses something. A URI is just a unique string that uniquely identifies something, commonly a namespace. Sometimes they look like a URL that you could type into the address bar of your Web browser, but it doesn’t have to point to any physical resource on the Web. It is just a unique set of characters, that, in fact, don’t even have to be unique. URI is the more generic term, and a URL is a particular type of URI in that a URL has to uniquely identify some resource on the Web.
Can I read the hard disk serial # of the client computer using ASP.NET
No. Such information is not passed to the server with a http request.