Need Suggestion
ASP.NET
4
Posts
3
Posters
0
Views
1
Watching
-
Can i select two or more records randomly from a table in a dataset if yes pls give me a suggestion
-
Can i select two or more records randomly from a table in a dataset if yes pls give me a suggestion
You can access the records in a DataTable by row index, therefore generate 2 random numbers lower than the number of rows in your DataTable and use those to access the records/rows.
-
You can access the records in a DataTable by row index, therefore generate 2 random numbers lower than the number of rows in your DataTable and use those to access the records/rows.
how to generate random numbers
-
how to generate random numbers
Take a look at the Random[^] class.
Navaneeth How to use google | Ask smart questions