how to retrieve fieldcontent in ASP.NET

how to retrieve fieldcontent in ASP.NET

Postby 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
Posts: 77
Joined: Sun 22 Jan 2006 20:44
Location: munic

Postby 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
Devart Team
Posts: 7948
Joined: Thu 14 Aug 2008 12:44

Return to dotConnect for Oracle