ahmed salah

ahmed salah

  • NA
  • 85
  • 59k

Can I more select specific number from SQL query in C#

Mar 30 2017 5:41 AM
I work in windows form application c# vs2015 integrated to sql server 2012
I face problem
i need to select more specific number in same time but i dont know
what query i write or what i do in c#
current i using select * from table where userID=@UserID
this is select only number
but if i need to select more specific number
suppose i have numbers from 1001 to 1020
i need to select 1005,1009,1012,1017
How to get result for more records from SQL query or c# in same time
any way i can accept

Answers (4)