|
-
March 14th, 2005, 04:38 AM
#1
DataTable.Select and wildcards
Hi,
I'm having trouble getting this to work
In SQL Server , you can query for "SearchText___" and the underscore stands for 1 character.
How can one do the same in the Datatable.Select function? What is the wildcard for 1 character? I always thought the underscore was standard SQL?
Code:
DataRow[] drDataRow= l_DataTable.Select( "[master] like 'Menu___'", "somecolumn" );
returns nothing in C#, is does in SQL server
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|