c# - Azure mobileservice with winforms -


i trying insert data in sql database using microsoft azure mobile service.

unfortunately did not succeed , have not found code works.

is there tested , got work?

all want insert rows same table azure sql mobile service.

.

edit problem solved!

public static mobileserviceclient mobileservice = new mobileserviceclient(   "https://your-domain.azure-mobile.net/",   "your-key" );  public class item {   public string id { get; set; }   public string text { get; set; } }  private void buttoninsert_click(object sender, eventargs e) {   item item = new item { text = "awesome item" };   mobileservice.gettable<item>().insertasync(item); } 


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -