Interview Questions: 1. Difference between following condel :- Use condel to delete one or more items from a container. confind :- Use confind to locate a sequence of items in a container. conins :- Use conins to insert some items into a container. conlen :- Use conlen to find out how many items there are in a container. connull :- Use connull to explicitly dispose of the contents of a container. conpeek :- Use conpeek to extract an item from a container, and to convert it into another data type conpoke :- Use conpoke to replace (poke) an item in a container. 2. Difference between edit and display method Display Indicates that the method's return value is to be displayed on a form or a report. The value cannot be altered in the form or report Edit Indicates that the method's return type is to be used to provide information for a field that is used in in a form. The value in the field can be edited. 3. Diff
Class : Class is the 1st OOPs concept .Class defines the characteristics of objects which includes its attributes , fields properties and behavior . Let us say we have a class called car , then the color , model number , top speed can be its attributes and properties . Accelerating , breaking , turning will be its behavior Objects: Objects can be considered as a thing that performs a set of related functions .Programming objects are used to model real worlds objects. An object is also an instant of a class . For our class Car , Ferrari will be our object Instance : One can have an instance of a class; the instance is the actual object created at runtime. The set of values of the attributes of a particular object is called its state. The object consists of state and the behaviour that’s defined in the object’s class. Method :Also called as functions in some programming languages , methods defines the behavior of particular objects . For our Car class , turning() , breakin
Exploring SysQuery class SysQuery is a helper class provided by Microsoft for working with queries dynamically. It has all its methods set as ‘static.’ It provides numerous functionalities that allow one to add data source in a query, add range, apply sort, etc. in a user-friendly system. This article will provide demonstrations for the most commonly used methods from SysQuery: findOrCreateDataSource() FindOrCreate is mainly used to check whether or not the query already contains the data source. If it does not, a data source will be created. FindOrCreate is most efficient when an event developer must write a code in which the event must be fired multiple times. This function allows developers to prevent adding additional elements to data sources. This is the most common situation in which findOrCreateDatasource() is used to avoid multiple addition of data sources in a query. Because this method is static, it uses Query as the first parameter. The next parameter w
what is the use run method in forms?
ReplyDeletehow can we know that form is executed??pls reply
ReplyDeleteStatic Server boolean validateEmail(socialsecuritynumber _socialsecuritynumber)//syntax error//
ReplyDelete{
Str MatchEmailPattern =
@"^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$";
System.Text.RegularExpressions.Match myMatch;
;
myMatch = System.Text.RegularExpressions.Regex::Match(
_socialsecuritynumber, MatchEmailPattern);
return(myMatch.get_Success());
}
I am getting error in Validate email as syntax error.Please can one rectify??