Dear Sir,
I used viewstate i heard in gridview it reduce performance how to avoid that in gridview loading data
Viewstate in Asp.net
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Karthik AgarwalRank #2,270 · 620 reputationPosted Dec 14, 2011, 10:34 PM EST
DataGridView1.ColumnCount = 2;
DataGridView1.Rows.Add(column1, column2);