Prasad Bhagat

Prasad Bhagat

  • NA
  • 516
  • 234.5k

How to implement two methods in a single call?

Apr 12 2016 4:41 AM
Dear All,
 
 
am writing  two methods using c#.they are
 
initially in my first method was  saves the phone number into database and return the id or phone number and status .
 
if the status is "ok" then i want to call my second method .
 
my second method was simply storing a message into database with refrence of first method id or phone number into other table .please give me some idea .how can i call these methods.give me any examples ..
 
am using simple c#,sql server. 

Answers (6)