0

Hi,

In my database table I have a column which has all the properties of a class. And While reading from the table I need to get the values of the properties.I have to get the value on a label.But obviously

lblTest.Text=reader["Description"].ToString();

wont work. As I need to get the values. I don even know how to approach.Please help its urgent.

Thanks in advance.

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by sniigg
0

Hi,

In my database table I have a column which has all the properties of a class. And While reading from the table I need to get the values of the properties.I have to get the value on a label.But obviously

lblTest.Text=reader["Description"].ToString();

wont work. As I need to get the values. I don even know how to approach.Please help its urgent.

Thanks in advance.

Why wouldn't that work? Are you looking to trigger a server-side call from client-side (JavaScript)?

0

hi John,
In our application the properties of a class are saved in the database. And I have to dynamically get the values of the properties from the database using code behind.

the whole purpose of doing this is..once the code is developed, we want to jus enter more properties into the db..and the code should just work fine.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.