I was wondering if CAML query Value Types are strongly typed or not. It would save me some time if I didn't have to specify "text" or "date" every time I made a query.
Here is the code I am using, its part of a helper method that allows me to grab an item based on a certain field and that field's value.
String camlQuery = "<Where><Eq><FieldRef Name ='" + internalFieldName + "' /><Value Type='" + fieldType + "'>" + fieldValue + "</Value></Eq></Where>
I would like to get rid of the if possible.