To be perfectly honest, even the ' isn't necessary. If it's a number, treat it like a number, not a string.
-tgCode:Cmd.CommandText = String.Concat( "Select identityNo from identityTab where identityTab.IdentityNo=", identifier);
|
Results 1 to 40 of 58
Thread: Database connection issueThreaded View
|
Click Here to Expand Forum to Full Width |