thanks very much,I change it ,just this line: DbParameter parameter = target.Factory.CreateParameter(); It works now!
but,I know When The parameter query works,It will generator sql command.I want to know How to write the sql statement without parameter,Could you tell me? "Select * From Table where GuidField = "+Guidvalue,How can I convert Guidvalue to a string format that It can works? -- View this message in context: http://www.nabble.com/How-to-use-sql-to-insert-record-with-guid--t1427996.html#a3883509 Sent from the firebird-net-provider forum at Nabble.com. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider