Ejemplo n.º 1
0
		void FnContactSelected(PhoneContactClass _objPhoneContactClass)
		{
			objPhoneContactClass = _objPhoneContactClass;
			PerformSegue ("EditContact",this);

		}
		async Task<int>FnInsertRecord()
		{
			objPhoneContactLocalClass = new PhoneContactClass ();
			objPhoneContactLocalClass.strContactName = txtContactName.Text;
			objPhoneContactLocalClass.strContactNumber =Convert.ToInt64( txtContactNumber.Text);
			int intRow=await sqlAsyncConnection.InsertAsync ( objPhoneContactLocalClass ); 

			objPhoneContactLocalClass=null;
			return intRow;
		}