U can do one thing.
DataSet ds = new DataSet();
ds.ReadXml("Path of xml file");
You can try this code by passing path of xml file that you want to upload to SQL server.
And after getting all data in dataset you can use loop to insert record.