how to retrieve fieldcontent in ASP.NET

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Posts: 77
Joined: Sun 22 Jan 2006 20:44
Location: munic

how to retrieve fieldcontent in ASP.NET

Post by hannes_a » Thu 13 Aug 2009 11:16

As a ASP.NET beginner I've to ask some basic questions:
How to retrieve a field value eg here

Code: Select all

protected void OracleDataSource1_Selecting(object sender, System.Web.UI.WebControls.SqlDataSourceSelectingEventArgs e)
            Label1.text = ???
I know in ODAC/delphi it's something like Dataset.fieldbyname("abc").AsString
but how to do it in ASP.NET with OracleDataSource ?
I didn't found something in examples and the docu

Devart Team
Posts: 8080
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Fri 14 Aug 2009 15:13

Usage of OracleDataSource is similar to Microsoft's SqlDataSource control. For the detailed information, please refer to MSDN. For example, you can get a field value in the handler of the RowDataBound event for the System.Web.UI.WebControls.GridView control via e.Row.DataItem: ... aitem.aspx

Post Reply