How to limit inserting records in sql using dataadapter?
Hi! everyone, How to limit inserting records into my sql server using dataadapter in csharp?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jiteendra SampathiraoPosted Aug 29, 2011, 3:21 AM
int RowCount = DataSet.Tables("Customers").Rows.Count;
Black DiamondPosted Aug 29, 2011, 3:13 AM
Jiteendra SampathiraoPosted Aug 29, 2011, 2:01 AM
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....