Click here to Skip to main content
15,888,527 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi all,

Can any 1 please help me to create/Generate Google spreadsheet from uploaded excel file using c# code.Thanks in advance


C#
string connString11 = ConfigurationSettings.AppSettings["connectionstring"].ToString();
string query1 = "SELECT * FROM " + ViewState["tblName"]; 
DataSet ds1 = new DataSet(); 
ds1 = Main.BindGridSearch(query1); 
DataTable dtt = new DataTable(); 
SqlDataAdapter sda = new SqlDataAdapter(query1, connString11); 
sda.Fill(dtt); 


Here I am getting user uploaded sheet in a Dataset / datatable from here I need to generate Google Spreadsheet. So that user can able to edit the excel..
Posted
Updated 30-May-13 2:49am
v3
Comments
David_Wimbley 29-May-13 11:28am    
What have you tried?
GaviGunda 30-May-13 1:32am    
string connString11 = ConfigurationSettings.AppSettings["connectionstring"].ToString();
string query1 = "SELECT * FROM " + ViewState["tblName"];
DataSet ds1 = new DataSet();
ds1 = Main.BindGridSearch(query1);
DataTable dtt = new DataTable();
SqlDataAdapter sda = new SqlDataAdapter(query1, connString11);
sda.Fill(dtt);

Here I am getting user uploaded sheet in a Dataset / datatable from here I need to generate Google Spreadsheet. So that user can able to edit the excel..

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