your stored procedure should be like this
CREATE procedure procedure_name
(
@CLAIM_NOS varchar(max)
)
as
declare @sql_query varchar(max)
set @sql_query='select * from table_name where CLAIMNO in ('+@CLAIM_NOS+')'
exec (@sql_query)
here im retrieving id number from gridview,,,
string S_selected_Claimno = "";
S_selected_Claimno = S_selected_Claimno + "'" + dataGridView1.Rows[i].Cells[1].Value + "',"
AT last ur parameter string should be like this (front end parameter format)
'1998102600200003','2000041900200001','333333333333333'
this will work ,,try it
NOTE : bt make sure while checking ur SP is working or not pass parameters in the below format (IN the back end)
'''1998102600200003'',''2000041900200001'',''333333333333333'''