title: How to import bulk data in documentDB from excel?
body: <p>I have surfed for a day about how to insert bulk data in documentDB from excel file, but I didn't get any informaion.</p>
  
  <p>I can able to read data from excel file and insert one by one in documentDB</p>
  
  <pre><code>Service service = new Service();
      foreach(data in exceldata) //exceldata contains set of rows
      {
      var student = new Student();
      student.id= "";
      student.name = data.name;
      student.age = data.age;
      student.class = data.class;
      student.id = service.savetoDocumentDB(collectionLink,student); //collectionlink is a string stored in web.config
      students.add(student);
      }
  
  Class Service
  {
   public async Task&lt;string&gt; AddDocument(string collectionLink, Student data)
          {
              this.DeserializePayload(data);
              var result = await Client.CreateDocumentAsync(collectionLink, data);
              return result.Resource.Id;
          }
  }
  </code></pre>
  
  <p>Can I insert all records at one instance?</p>
  
  <p>Any help would be greatly appreciable.</p>