row.set_Value(FIELD INDEX, WHAT GOES HERE?); cur.UpdateRow(row);
ICursor cur = Tab.Search(queryfilter, false); row.set_Value(FIELD INDEX, WHAT GOES HERE?); cur.UpdateRow(row);
ICursor cur = Tab.Update(queryfilter, false); row.set_Value(FIELD INDEX, DBNull.Value); cur.UpdateRow(row);
Dim myIntValue As Integer? = Nothing row.set_Value(FIELD INDEX, myIntValue); cur.UpdateRow(row);
Hello,I'm looking for some help in setting a value to <Null>. I have a field in a table of type Long and it is a coded value domain. In ArcMap I am able to assign a value of <Null> to the field and save it without error. I'd like to be able to do this programmatically. How do I assign a <Null> to a Long data type in code? row.set_Value(FIELD INDEX, WHAT GOES HERE?); cur.UpdateRow(row); G
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.