Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

php - create empty spreadsheet in google docs -


i want create empty spreadsheet google docs api error: not convert document.

$xml = "--end_of_part\r\n".         "content-type: application/atom+xml;\r\n\r\n".               "<?xml version='1.0' encoding='utf-8'?>         <entry xmlns=\"http://www.w3.org/2005/atom\" xmlns:docs=\"http://schemas.google.com/docs/2007\">           <category scheme=\"http://schemas.google.com/g/2005#kind\"               term=\"http://schemas.google.com/docs/2007#spreadsheet\"/>             <title>".$name."</title>         </entry>\r\n".           "--end_of_part\r\n".         "content-type: text/csv;\r\n\r\n".         "--end_of_part--\r\n"; 

this xml sent server of google post param convert=true got error: not convert document. when use mime-type 'application/vnd.oasis.opendocument.spreadsheet' instead of 'text/csv' , not add param convert=true internal error.

docs list api v3 deprecated. use google drive api instead. can create file insert call:

https://developers.google.com/drive/v2/reference/files/insert

the mimetype native spreadsheet be:

application/vnd.google-apps.spreadsheet


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -