String doc = String.valueOf(po.get_Value("DocumentNo"));
I used above code but still it's taking the integer value in the query.
Below I mentioned the query where I want the String value.
String sql = "update C_partial SET IsExported = 'Y' where documentno ="+doc;
Integervalue andStringvalue? do you actually want the query to just end with"...documentno = ' +doc + "'";?