Top "Field" questions

In computer science a field is a smaller piece of data from a larger collection.

Set field value with reflection

I'm working with one project which is not opensource and I need to modify one or more its classes. In …

java reflection field
Javascript - removing undefined fields from an object

Is there a clean way to remove undefined fields from an object? i.e. > var obj = { a: 1, b: undefined, …

javascript object field undefined
String field value length in mongoDB

The data type of the field is String. I would like to fetch the data where character length of field …

mongodb field string-length
Making a DateTime field in a database automatic?

I'm putting together a simple test database to learn MVC with. I want to add a DateTime field to show …

database database-design datetime sql-server-express field
c# - How to iterate through classes fields and set properties

I am not sure if this is possible but I want to iterate through a class and set a field …

c# class properties set field
Django: How can I create a multiple select form?

I'm beginner in Django/Python and I need to create a multiple select form. I know it's easy but I …

python django forms field multiple-select
Check field length using awk

I have a file of 3 fields: 123710337783,351898014413150,123028040249634 123710337785,352934028758390,123028040109275 I need to check that the fields meet the following lengths: Field 1 = 12 Field 2 = 15 or 16 …

awk field
SQL Server - use columns from the main query in the subquery

Is there any way to get a column in real time, from a main query, and use it in a …

sql sql-server subquery field
Retrieve only static fields declared in Java class

I have the following class: public class Test { public static int a = 0; public int b = 1; } Is it possible to use …

java reflection static field
Inconsistent accessibility: field type 'world' is less accessible than field 'frmSplashScreen

I have this error called Inconsistent accessibility: field type 'world' is less accessible than field 'frmSplashScreen' In my code there …

c# field restriction