Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Datalist EditItemTemplate

Reply
Thread Tools

Datalist EditItemTemplate

 
 
SStory
Guest
Posts: n/a
 
      08-18-2003
I have VSNET2003.

I am using a datalist to display Locations that a person is willing to work.

I designed this in the IDE. Right clicked on edit templates, made entries
in each using Web Form Controls.

On the Edit Template I made form like control with various other controls.

Unfortunately when I click on "Edit" for an item it doesn't work.
The screen just blanks the datalist out and nothing happens.

I have been speaking with Microsoft about this, but still am not sure...
They keep talking about datasets.

Seems overkill to use a dataset just to get a list of records that will
seldom be viewed or modified and just for a particular person in a dataset
and then do all when all I need is a list that can click edit and change and
ADD to open a separate panel and add a record using SQL commands.

I have this sort of working but I am confused as to what I have to do and
what the IDE will do.

Example.

Do I need to physically open the HTML code and add the <%#' entries to tie
to data if using a datareader?
Do I also have to do the OnEditCommands and such and hard code those in by
hand?

If anyone could give me an overview of creating a datalist in the IDE and
getting it to function using SQL Commands and a datareader I would
appreciate it.

Also, if anyone could tell me why I should use datasets on webpages, unless
they are used to sort and view over and over by the same or many people I
would appreciate that.

Thanks in advance,

Shane


 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Not updated Textbox value inside a datalist editItemTemplate etantonio@gmail.com ASP .Net 1 09-27-2005 10:21 AM
Entering DataList EditItemTemplate from Outside of the DataList Luis Esteban Valencia ASP .Net 1 01-06-2005 07:32 PM
Setting DataList EditItemTemplate Properties Stuart Shay ASP .Net 0 12-26-2004 05:44 AM
how do i access a dropdownlists selected value in a datagrid edititemtemplate column from the selectedindexchanged event of another dropdownlist in a datagrid edititemtemplate column Dave M ASP .Net Datagrid Control 0 12-14-2004 11:53 AM
Setting up a datalist control - Item_DataBound for a datalist in a datalist Nevyn Twyll ASP .Net 8 09-09-2004 10:13 PM



Advertisments