News:

SQL Table To C# Entity Model ConverterEntity Model (Class Properties) to SQL Table ConverterIf you encounter any trouble visiting our site, please contact us.

Advertisement

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;
public class ProductService :
System.Web.Services.WebService
{
public List GetProducts(int categoryID)
{
return GetProductsFromDatabase(categoryID);
}
}

You need to ensure that the GetProducts method can be called by using AJAX. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

  1. Apply the WebService attribute to the ProductService class.

  2. Apply the ScriptService attribute to the ProductService class.

  3. Apply the WebMethod attribute to the GetProducts method.

  4. Apply the ScriptMethod attribute to the GetProducts method.

Answer: Answer is b, c
comments powered by Disqus
Advertisement

BCS Preparation now even more easy. ReadBD is the place where you can find all kind of resources to be successful in BCS,Bank,Islami Bank exam and interview.

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;