Link to home
Start Free TrialLog in
Avatar of Harreni
HarreniFlag for Saudi Arabia

asked on

How to read detailsview fields values

How to read detailsview fields values

1 minutes ago

Dears,

I have SqlDataSource and detailsView, and I want to read detailsView fields values to use them instead of the dots below:
private void On_Inserted (object sender, SqlDataSourceStatusEventArgs e)

{

SQLDATASOURCE1.InsertParameters.Add("ServerID", ..........................................);

}

Open in new window


Please provide me with examples ..Thanks a lot..
Avatar of disrupt
disrupt
Flag of United States of America image

Something like:

string test =(string)((DataRowView)dv.DataItem)["field name here"];
ASKER CERTIFIED SOLUTION
Avatar of veenaravind
veenaravind
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Harreni

ASKER

Thanks a lot disrupt and veenaravind for your help