Click here to Skip to main content
15,903,201 members
Home / Discussions / Database
   

Database

 
GeneralRe: In Access Ole object in Ado.net .....? Pin
sindhutiwari1-Nov-07 21:43
sindhutiwari1-Nov-07 21:43 
QuestionQuery for Creating table in ms access database Pin
sindhutiwari1-Nov-07 20:33
sindhutiwari1-Nov-07 20:33 
GeneralRe: Query for Creating table in ms access database Pin
sindhutiwari1-Nov-07 21:04
sindhutiwari1-Nov-07 21:04 
QuestionProblem with static IP Pin
cm pandian1-Nov-07 19:30
cm pandian1-Nov-07 19:30 
AnswerRe: Problem with static IP Pin
N a v a n e e t h1-Nov-07 20:24
N a v a n e e t h1-Nov-07 20:24 
GeneralRe: Problem with static IP Pin
cm pandian1-Nov-07 20:52
cm pandian1-Nov-07 20:52 
GeneralRe: Problem with static IP Pin
Hesham Amin2-Nov-07 1:19
Hesham Amin2-Nov-07 1:19 
QuestionCONTAINS search with a FilterExpression? Pin
Brian C Hart1-Nov-07 11:22
professionalBrian C Hart1-Nov-07 11:22 
Hello All,

I am using a SqlDataSource with a GridView on a ASP.NET 2005 page. I have a DropDownList (control parameter {0}) and a TextBox(control parameter {1}). The user picks the field they want to search in the DropDownList and then types in a search into the TextBox and it doesn't appear to like the use of LIKE in the SqlDataSource's FilterExpression property; i.e.

SqlDataSource1.FilterExpression = "{0} LIKE '{1}'"; produces a filter that searches on EXACT MATCHes only instead of STARTS WITH like the docs say. What would be ideal for my requirements is a CONTAINS search, really. I know I could use CharIndex -- at least in an explicit WHERE clause -- however, putting FilterExpression="CharIndex('{1}',{0})>0) raises a System.Data.EvaluateException: The expression contains undefined function call CharIndex() error.

Any hints? Thanks in advance.

Sincerely Yours,
Brian Hart
Department of Physics and Astronomy
University of California, Irvine

AnswerRe: CONTAINS search with a FilterExpression? Pin
pmarfleet1-Nov-07 12:58
pmarfleet1-Nov-07 12:58 
QuestionDatabase Design suggestions Pin
solutionsville1-Nov-07 8:42
solutionsville1-Nov-07 8:42 
AnswerRe: Database Design suggestions Pin
pmarfleet1-Nov-07 9:55
pmarfleet1-Nov-07 9:55 
GeneralRe: Database Design suggestions Pin
solutionsville1-Nov-07 9:59
solutionsville1-Nov-07 9:59 
GeneralRe: Database Design suggestions Pin
pmarfleet1-Nov-07 10:08
pmarfleet1-Nov-07 10:08 
GeneralRe: Database Design suggestions Pin
Mark Churchill1-Nov-07 16:28
Mark Churchill1-Nov-07 16:28 
NewsLINQ for SharePoint Pin
brucedkyle1-Nov-07 5:48
brucedkyle1-Nov-07 5:48 
GeneralRe: LINQ for SharePoint Pin
pmarfleet1-Nov-07 5:56
pmarfleet1-Nov-07 5:56 
GeneralRe: LINQ for SharePoint Pin
joemonvarghese1-Nov-07 23:53
joemonvarghese1-Nov-07 23:53 
Questionhow can i make sql expression to make a new column using vs 2005 and sql 2000 Pin
matched1-Nov-07 2:20
matched1-Nov-07 2:20 
AnswerRe: how can i make sql expression to make a new column using vs 2005 and sql 2000 Pin
pmarfleet1-Nov-07 2:26
pmarfleet1-Nov-07 2:26 
GeneralRe: how can i make sql expression to make a new column using vs 2005 and sql 2000 Pin
matched1-Nov-07 23:53
matched1-Nov-07 23:53 
GeneralRe: how can i make sql expression to make a new column using vs 2005 and sql 2000 Pin
matched2-Nov-07 0:11
matched2-Nov-07 0:11 
QuestionIssue Regarding Trigger Pin
jaganil31-Oct-07 21:47
jaganil31-Oct-07 21:47 
AnswerRe: Issue Regarding Trigger [modified] Pin
joemonvarghese1-Nov-07 23:24
joemonvarghese1-Nov-07 23:24 
QuestionHow Can i keep an Instance of SQL 2000, while Upgrading to 2005 Pin
Vimalsoft(Pty) Ltd31-Oct-07 21:46
professionalVimalsoft(Pty) Ltd31-Oct-07 21:46 
AnswerRe: How Can i keep an Instance of SQL 2000, while Upgrading to 2005 Pin
pmarfleet1-Nov-07 0:17
pmarfleet1-Nov-07 0:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.