asp:label databinding
-
Hi there, i need your help in displaying particular field from the database to the label for ex: condiser the below is page and it contain label Title need to display titile field from the database subject need to display subject field from the database. etc... any suggestion or code snippet so i can know how to get the bind data in the label? or any other suggestion. pls revert back as soon as possible. Thanx in advance....
-
Hi there, i need your help in displaying particular field from the database to the label for ex: condiser the below is page and it contain label Title need to display titile field from the database subject need to display subject field from the database. etc... any suggestion or code snippet so i can know how to get the bind data in the label? or any other suggestion. pls revert back as soon as possible. Thanx in advance....
Why would you need to do anything more than set the text if it's only one label ?
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
Why would you need to do anything more than set the text if it's only one label ?
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
no i want it to be dynamic the page will fetch data from the database each record is one page.
if u just want to display the field value into the label then read the database and use the label.text property to show the data, what's the problem, let me know if i'm interpreting wrong.
-
Hi there, i need your help in displaying particular field from the database to the label for ex: condiser the below is page and it contain label Title need to display titile field from the database subject need to display subject field from the database. etc... any suggestion or code snippet so i can know how to get the bind data in the label? or any other suggestion. pls revert back as soon as possible. Thanx in advance....
HI May it will help you Label1.Text = rdr("Title").ToString()
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
-
HI May it will help you Label1.Text = rdr("Title").ToString()
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf