Monthly Archives: June 2010

Using Web.config in ASP

I used this code in ASP to read a web.config key value

set xmlDoc=server.CreateObject("Microsoft.XMLDOM")
set xmlappSettings=server.CreateObject("Microsoft.XMLDOM")
set xmladd=server.CreateObject("Microsoft.XMLDOM")
xmlDoc.load(server.MapPath ("web.config"))
set xmlappSettings = xmldoc.GetElementsByTagName("appSettings").Item(0) 
set xmladd = xmlappSettings.GetElementsByTagName("add")
for each x in xmladd 
   ‘Check for the Atrribute Value
   if  x.getAttribute("key") ="RequiredKey" then
          sRequiredKey = x.getAttribute("value")
   end if

Leave a comment

Posted by on June 9, 2010 in Programming


Tags: , , , , , ,

Web Mobile Development

I was very busy recently working on a Web Mobile Application, The biggest problem I faced is detecting the Mobile screen size. eventually I used this .NET Mobile API.

I highly recommend Great support team

Leave a comment

Posted by on June 4, 2010 in Programming


Tags: , , , ,

%d bloggers like this: