Hey, These are some Interview Questions with suggested answers we collected in Middle-East-Developers, for more questions in other fields like C++, you can check the group. These questions are collected by Adel Khalil Yehia Megahed Hisham Abd El-Hafez Mohammed Hossam Q1: Can DateTime variables be null? A1: No, because it is a value type (Struct) [...]
Archive for the ‘ASP.NET’ Category
Regular Expression in dotnet
February 27th, 2010
admin Regular expression examples for decimals input Positive Integers — ^\d+$ Negative Integers — ^-\d+$ Integer — ^-{0,1}\d+$ Positive Number — ^\d*\.{0,1}\d+$ Negative Number — ^-\d*\.{0,1}\d+$ Positive Number or Negative Number – ^-{0,1}\d*\.{0,1}\d+$ Phone number — ^\+?[\d\s]{3,}$ Phone with code — ^\+?[\d\s]+\(?[\d\s]{10,}$ Year 1900-2099 — ^(19|20)[\d]{2,2}$ Date (dd mm yyyy, d/m/yyyy, etc.) — ^([1-9]|0[1-9]|[12][1-9]|3[01])\D([1-9]|0[1-9]|1[012])\D(19[0-9][0-9]|20[0-9][0-9])$ IP v4 [...]
Factory patteren based code in C#.net
February 27th, 2010
admin IMPLEMETN THE INTERFACES AND USE IT FACTORY PATTERN BASE CODE using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public interface myinterface { int add(int x,int y); //int mul(int w, int z); } public class class1 : myinterface { public int add(int a, int b) { [...]
Disable or readonly the checkbox using javascipt
February 27th, 2010
admin document.getElementById(“ChkBoxName”).disabled =false; And for the Enable the checkbox using javascript document.getElementById(“ChkBoxName”).disabled =true;
Convert Asp.net to Asp.net Ajax enabled website in Asp.net 2.0
February 27th, 2010
admin How can I convert the asp.net website to Ajax enabled website in asp.net 2.0 This quation was very difficult for me change the simple website to Ajax enable website. Simply if we want to make ajax enabled website then select the Ajaxenabledwebsite from the Dashboard when click on file new and website. but if I [...]



Posted in