porblem of string

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jamesjoel
    New Member
    • Feb 2010
    • 1

    porblem of string

    What are the problems to construct SQL statement in the following way. (strID will be assigned user input value)

    string strID;
    :
    :
    string strSQL = “SELECT * From ItemMaster WHERE ID = ‘” + strID + “’”;
  • ck9663
    Recognized Expert Specialist
    • Jun 2007
    • 2878

    #2
    What front-end are you using? This could be more of a question about your front-end than SQL Server.

    Good Luck!!!

    ~~ CK

    Comment

    Working...