I would like to know, why did the NotImplementedException(); still appear even though I'm pretty sure that I have called the method?
this is the throw exception in my dsNBC.xsd designer:
internal int getLastIDbyMaxPeg()
{
throw new System.NotImplementedException();
}
and this is how I called the method in PegawaiControl.cs in a folder named Control :
public int getNumID()
{
return Peg.getLastIDbyMaxPeg();
}
public string generateIDPeg()
{
string id = "PEG";
return id + Convert.ToString(getNumID() + 1);
}
and in the boundary layout I just called the generateIDPeg() into a local variable like this : string idPegw = PC.generateIDPeg();
Well, getLastIDbyMaxPeg() is a name of method in the query dataset of dsNBC.xsd that I created. So the actual implementation code for that method is the query in dataset. I got consufed here how can I implement the query as the actual implementation in the throw exception? You can see the StackTrace here
Can you help me?