TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Senorita
NA
123
8.8k
Google.GoogleApiException: Google.Apis.Requests.RequestErro
Nov 6 2019 1:25 AM
Hi,
i am working on "Create And Update Google SpreadSheet Via Google API.NET Library" .
i follow all instrection in "https://www.c-sharpcorner.com/article/create-and-update-google-spreadsheet-via-google-api-net-library/" tutorial.
but when i upload more then 50 record it showing error . error in attached with screen short.
i only made below changes:-
private
static
IList<IList<Object>> GenerateData()
{
string
connstr;
connstr = ConfigurationManager.AppSettings[
"DSN_RMS"
];
SqlConnection conn =
new
SqlConnection(connstr);
conn.Open();
System.Data.DataTable table =
new
System.Data.DataTable();
SqlDataAdapter adapter =
new
SqlDataAdapter();
SqlCommand cmd =
new
SqlCommand(
"SELECT * from employee"
, conn);
adapter.SelectCommand = cmd;
adapter.Fill(table);
List<IList<Object>> objNewRecords =
new
List<IList<Object>>();
IList<Object> obj =
new
List<Object>();
IList<Object> obj1 =
new
List<Object>();
foreach
(System.Data.DataColumn row
in
table.Columns)
{
obj1.Add(row.ColumnName);
}
objNewRecords.Add(obj1);
foreach
(System.Data.DataRow row
in
table.Rows)
{
foreach
(System.Data.DataColumn dc
in
table.Columns)
{
obj.Add(row[dc].ToString());
}
objNewRecords.Add(obj);
}
return
objNewRecords;
}
Please help me as soon as possible
Reply
Answers (
0
)
How restrict A cookie associated with a cross-site resource?
how to get google excel sheet id at runtime