473,405 Members | 2,187 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

dataset or detail view mistake of some sort

I am running through a tutorial on

http://www.asp.net/get-started/

about database web pages. I have a page that uses a dataset to list authors
by state. Works great. All is peachy keen. There is a hyperlink column that
passes an AuthorID to as details page. I have a different query (method) in
the dataset to get the author by author id.

On the details page, there is a DetailsView control. When you click on the
right arrow next to the control (in design view here), there is a list of
"tasks"... Autoformat, choose data souce... There is a checkbox for enable
paging. In the tutorial there are checkboxes Enable Inserting, Enable
Editting, Enable Delete... I don't have thoses check boxes. I cannot make
the DetailsView control editable.

I am sure I have done something wrong in either my Dataset or my Table
Adaptor. But I cannot figure out what. I have gone through the tutoral ... a
bunch. I simply cannot see what I did differently to give me this result.
Any help is appreciated. THoughts?

Thanks!

Stephanie
Nov 2 '08 #1
1 1316
Stephanie wrote:
I am running through a tutorial on

http://www.asp.net/get-started/

about database web pages. I have a page that uses a dataset to list
authors by state. Works great. All is peachy keen. There is a
hyperlink column that passes an AuthorID to as details page. I have a
different query (method) in the dataset to get the author by author
id.
On the details page, there is a DetailsView control. When you click
on the right arrow next to the control (in design view here), there
is a list of "tasks"... Autoformat, choose data souce... There is a
checkbox for enable paging. In the tutorial there are checkboxes
Enable Inserting, Enable Editting, Enable Delete... I don't have
thoses check boxes. I cannot make the DetailsView control editable.

I am sure I have done something wrong in either my Dataset or my Table
Adaptor. But I cannot figure out what. I have gone through the
tutoral ... a bunch. I simply cannot see what I did differently to
give me this result. Any help is appreciated. THoughts?

Thanks!

Stephanie

Nevermind... I figured it out. That ALWAYS happens. I should just skip
trying to figure before posting, since I always figure it out after I post.
Weird muphy's law thing there.
Nov 2 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Alex Ayzin | last post by:
Hi, I have a problem that might be easy to solve(possibly, I've just overlooked an easy solution). Here we go: I have a dataset with 2 datatables in it. Now, I need to do the following: if...
0
by: Rob | last post by:
Hi I have a dataset that is ordered by the primary key, but when I view it in a dataview with the sort propery filled in with the primary key, the order is different. The data that seems to cause...
4
by: Deepa | last post by:
I have a dataset which am trying to sort by 3 specific columns. I am not making any connection to the database to get the dataset. I have the raw dataset already. What i tried doing was to create...
4
by: johnb41 | last post by:
I need to create a Dataset and datatable from an XML file. The only way I know how to make a Dataset and Datatable, is by using an Access database as my datastore: You know, the usual thing in...
6
by: ALI-R | last post by:
Hi All; I'm reading the following xml file into a Dataset but there are only 4 datatables in my dataset (which should be 5) Is that because I have two nodes with the same name (detail) in my xml...
22
by: Arne | last post by:
How do I pass a dataset to a webservices? I need to submit a shoppingcart from a pocket PC to a webservice. What is the right datatype? II have tried dataset as a datatype, but I can't get it to...
2
by: Carl Summers | last post by:
I have a table in an Access database that has no sort applied in Access. When I fill a dataset with data from that table (the entire one dimensional table) my dataset is sorted differently than...
4
by: Hushpappy | last post by:
Hello, I'm trying to sort a dataset, for some reason, when i use the writeXml of the dataset obeject I don't see any change. i'm trying to put the view into a dataview and then sort it but...
3
by: Brad | last post by:
Is there an easy way to sort a DataTable in a DataSet? I've tried a variety of ideas, but none of them seems to work. I'm reading in the data from an XML file and I want to sort the list of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.