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
SWAMY YT
1.1k
643
30.6k
Cannot create a row of size 12573 which is greater than the
Oct 16 2019 7:19 AM
DashboardContext context = new DashboardContext();
DataTable dataTable = new DataTable();
SqlDataAdapter sqlDataAdapter = new SqlDataAdapter();
sqlDataAdapter.SelectCommand = new SqlCommand();
sqlDataAdapter.SelectCommand.CommandTimeout = 120;
sqlDataAdapter.SelectCommand.CommandType = CommandType.StoredProcedure;
sqlDataAdapter.SelectCommand.CommandText = "STRPROCEDURE_Name";
sqlDataAdapter.SelectCommand.Connection = new SqlConnection(context.Database.Connection.ConnectionString);
sqlDataAdapter.SelectCommand.Parameters.Add("@StorePK", SqlDbType.UniqueIdentifier).Value = (object)storePk;
sqlDataAdapter.Fill(dataTable);
while calling that sqlDataAdapter.Fill(dataTable) function i am getting an exception "Cannot create a row of size 12573 which is greater than the allowable maximum row size of 8060."
can anyone please help me out by a resolution and how cn i limit the resultant row size to the its maximum size.
any help woukd be appreciated
Reply
Answers (
1
)
NullReferences Exception
Disable right click on the textbox WITHOUT alert