lhayes00
October 22nd, 2006, 01:24 PM
Hi all,
I am using Visual Web Developer 2005 Express Edition with the ASP.NET 2.0 framework. I have created an SQL database using SQL Express Edition 2005.
I have got a page which contains a drop down box. The control is bounded to the database via an SqlDataSource object. This works, and when running the drop down list shows all data records and when a data record is selected I can retrieve the ID value.
The database table has fields like:
[ID] [Name] [Description] [Date Modified]
Now I have access to the selected records, [ID] and [Name] via the DropDownList object. How can I access the other two fields for read-only purposes?
I am a complete newbie with ASP.NET, but am picking it up quite well.
Lea Hayes
I am using Visual Web Developer 2005 Express Edition with the ASP.NET 2.0 framework. I have created an SQL database using SQL Express Edition 2005.
I have got a page which contains a drop down box. The control is bounded to the database via an SqlDataSource object. This works, and when running the drop down list shows all data records and when a data record is selected I can retrieve the ID value.
The database table has fields like:
[ID] [Name] [Description] [Date Modified]
Now I have access to the selected records, [ID] and [Name] via the DropDownList object. How can I access the other two fields for read-only purposes?
I am a complete newbie with ASP.NET, but am picking it up quite well.
Lea Hayes