sql query problem

Home Forums C# Programming sql query problem

This topic contains 0 replies, has 1 voice, and was last updated by  msaqib 11 years, 9 months ago.

  • Author
    Posts
  • #1927

    msaqib
    Participant

    This is an asp.net web page source code in C#. on the Button1_Click event it searches the data base and returns the records fetched. We create the query on the basis of drop down list box ‘SearchType’ and the query text from the text box ‘Q’. Now when it creates the query that query doesnt return any record. for example for slected index 1 and Q=”x” it shows no result from the data base which have the following table and records.

    query it generates is:

    but when i runthis query in MS access database it returns the two records. Why is it so, any one have an idea. thanks

You must be logged in to reply to this topic.

0 Shares
Share
+1
Tweet
Share
Stumble