Add data in datagridview without delete old data
if datagridview datasource is not null then how to add new data without delete old record
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
VulpesRank #55 · 29.2K reputationPosted Jan 16, 2015, 2:13 AM EST
If, say, your DGV is bound to a DataTable, then you could add a new row to the DataTable and hence to the DGV with code such as this: