how to generate labels by user count?
I want to generate labels.if the user give 6 then 6 labels generate.if user give another value generate that counts of label in asp.net c#.
Answers (2)
0
Hi Bikesh Srivastava, I didn't exactly understand what you want to convey. I am doing my service method implementation in base class only.
public class Monitor : IMonitor
{
public Task AddMonitor(Monitor mo)
{
// Implementation goes here
}
public Task RemoveMonitor(Monitor mo)
{
// Implementation goes here
}
}
But anyway my code id now working. Once i decorated my IMonitorCallback with (IsOneWay = true)] its started working perfectly.
interface IMonitorCallback
{
[OperationContract(IsOneWay = true)]
void OnAdded(Monitor data);
[OperationContract(IsOneWay = true)]
void OnRemoved(Monitor data);
}
0
I think you need to understand of WCF in deep.
because if you are creating interface and implement then you have to declare all method in base class.
0
http://stackoverflow.com/questions/22466523/405-method-not-allowed-wcf-web-service-after-second-request