Wednesday, March 16, 2011

JavaScript return Value to Label or TextBox

Here Example of Email Validation is given

function Email(obj1)
var email=obj1.value;
var reguex=/\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/;
return true;

document.getElementById("lblemail").innerHTML="email not valid";

return false;

Friday, March 4, 2011

What is ADO.Net ?

ADO.NET is an object-oriented set of libraries that allows you to interact with data sources. Commonly, the data source is a database, but it could also be a text file, an Excel spreadsheet, or an XML file.