Select statement
i forgot that...i use the dataset to connect database tables to c# win form ...so i add this query to data set for so many values :SELECT * FROM table1 WHERE code IN @codeand i have this error:Error in...
View ArticleSelect statement
i forgot that...i use the dataset to connect database tables to c# win form ...so i add this query to data set for so many values :SELECT * FROM table1 WHERE code IN @codeand i have this error:Error in...
View ArticleSelect statement
Hi.You can use the "IN" clauses.Take a look at this...http://www.mikesdotnetting.com/article/116/parameterized-in-clauses-with-ado-net-and-linqRegards, Bubuhttp://zsvipullo.blogspot.it Please mark my...
View ArticleSelect statement
See the table valued parameters reply in this thread:http://stackoverflow.com/questions/337704/parameterize-an-sql-in-clauseRead the thread!The code from there is:CREATE TYPE dbo.TagNamesTableType AS...
View ArticleSelect statement
usewhere in (1,2,3,4 ....); you have to create this string in the where condition dynamicallyHope it helps. Spiri
View ArticleSelect statement
i want select a group of data that has a condition of one field but the values are to many (not one) from SQL server table.i write select statement like this:select * from table1 where code=@codebut...
View Article