goransaler
IS-IT--Management
hello
i´m trying to pass a stringvalue when i display some data
If i have a string named ViewTablename
and like to do this
the string value is for example "company"
this.MainlistBox3.DisplayMember = "company.Name";
but i like to use the string
how do i do
this.MainlistBox3.DisplayMember = ViewTablename + ".Name";
or what
thanks
i´m trying to pass a stringvalue when i display some data
If i have a string named ViewTablename
and like to do this
the string value is for example "company"
this.MainlistBox3.DisplayMember = "company.Name";
but i like to use the string
how do i do
this.MainlistBox3.DisplayMember = ViewTablename + ".Name";
or what
thanks