How to limit inserting records in sql using dataadapter?
Hi! everyone, How to limit inserting records into my sql server using dataadapter in csharp?
3 Answers
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
Jiteendra SampathiraoRank #585 · 4.1K reputationPosted Aug 28, 2011, 11:21 PM EDT
int RowCount = DataSet.Tables("Customers").Rows.Count;
Jiteendra SampathiraoRank #585 · 4.1K reputationPosted Aug 28, 2011, 10:01 PM EDT
try this...
Dim RowCount As Integer = DataSet.Tables("Customers").Rows.Count
build the condition by using RowCount(like for loop etc)...
hope it help you....
Black Diamond191 reputationPosted Aug 28, 2011, 11:13 PM EDT