Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hello Friends!!! I Want to import data from excel file to windows mobile..i have use photochooser task..but till now i can not read the data....please friends help me...
Posted
Comments
Gian rebollido 26-Mar-13 1:59am    
try this codes.
private async void LaunchExcel(object sender, RoutedEventArgs e)
{
var file = await ApplicationData.Current.LocalFolder.CreateFileAsync("myExcelFile.xlsx");
using (var s = await file.OpenAsync(FileAccessMode.ReadWrite))
using (var dw = new DataWriter(s))
{
dw.WriteString("hello world");
}

await Launcher.LaunchFileAsync(
await ApplicationData.Current.LocalFolder.GetFileAsync("myExcelFile.xlsx"));
}
pranavshah598 26-Mar-13 7:18am    
Thanx..for given ans...it works on windows 8..it doesn't work on windows phone 7....if you know how can i solve problem on windows 7..plz help me...
Sanaullah Bukkhari 28-May-13 4:51am    
did you get your answer?? beacuse i am also facing the same problem.....
pranavshah598 30-May-13 6:09am    
ya i get the answer........

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900