Пример #1
0
 public string GetPostStateName(int stateID)
 {
     DSStateTableAdapters.StateTableAdapter helper = new DSStateTableAdapters.StateTableAdapter();
     return(helper.GetStateNameByStateID(stateID));
 }
Пример #2
0
 public string UpdateStateByStateID(int stateID)
 {
     DSStateTableAdapters.StateTableAdapter helper = new DSStateTableAdapters.StateTableAdapter();
     return(helper.UpdateStateByStateID(stateID));
 }
Пример #3
0
 public int GetPostStateID(string state, string action)
 {
     //DSRegistrationTableAdapters.RegistrationTableAdapter helper = new DSRegistrationTableAdapters.RegistrationTableAdapter();
     DSStateTableAdapters.StateTableAdapter helper = new DSStateTableAdapters.StateTableAdapter();
     return(Convert.ToInt32(helper.GetPostState(state, action).ToString()));
 }