|
using System;
namespace Business
{
[System.ComponentModel.DataObject]
public class Organisation : IBusiness
{
[System.ComponentModel.DataObjectMethod(System.ComponentModel.DataObjectMethodType.Select, true)]
public LookupDataSet GetLookupList(string partOfNaam)
{
LookupDataSet ds = new LookupDataSet();
for (int i = 0; i < 10; i++)
{
ds.Lookup.AddLookupRow(string.Format("OrganisationName{0}", i), i, string.Format("OrganisationDescription {0}", i));
}
return ds;
}
public string Name()
{
return this.GetType().Name;
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Hi my name is Dries de Groot. I have a Masters degree in applied physics and am graduated in solid-state matter. Besides that I am a .NET Professional with scrum certificates