Go Back   CodingForums.com > :: Server side development > ASP.NET

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-21-2012, 09:15 PM   PM User | #1
coxmg
New Coder

 
Join Date: Sep 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
coxmg is an unknown quantity at this point
C Sharp - DetailsView1 does not exist

Hey guys, I have an issue with C# I am trying to set a detailsview with dataset info like:

DetailsView1.DataSource = ds123;
DetailsView1.DataBind();

It is from inside a Gridview SelectedIndexChanged event handler, but it is giving me an error message "DetailsView1 does not exist in current context.

How do I fix this?
coxmg is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:43 AM.


Advertisement
Log in to turn off these ads.