How do i display Db data in labels ?
-
Hi, I'm retrieving data from a database and need to display it in labels within a repeater. I do this using: However in some situations i need to display 2 or 3 fields of data in one label eg Firstname and Lastname. I tried the following: However this returns errors. I know this is possible to achieve as ive done it in the past but cannot remember how as its been a long time since i last used .Net. Any help would be appreciated. Thanks!
-
Hi, I'm retrieving data from a database and need to display it in labels within a repeater. I do this using: However in some situations i need to display 2 or 3 fields of data in one label eg Firstname and Lastname. I tried the following: However this returns errors. I know this is possible to achieve as ive done it in the past but cannot remember how as its been a long time since i last used .Net. Any help would be appreciated. Thanks!
Yes you can do that check the following code. Hope this will solve your problem. "Walking on water and developing Software on a specification is easy, if both are frozen..."
-
Yes you can do that check the following code. Hope this will solve your problem. "Walking on water and developing Software on a specification is easy, if both are frozen..."
Excellent! Thanks!!!!