Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 8th, 2004, 12:29 PM
Authorized User
 
Join Date: Aug 2004
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to macupryk Send a message via Yahoo to macupryk
Default Given the datalist. How do I add edit mode?

:(I want to be able to just show one instance on my in of my datalist of the datagrid. At this point
 in time I have 4 of them that are shown. I want seprate ones for each instance of the list.Is this
 possible,I want to do this in edit mode how do I achive it?

 Below is my datalist:

 <HeaderTemplate>

 <table cellpadding=1 cellspacing=0 >
 <tr>
 <td colspan=4>
 Objects
 </td>
 </tr>
 <tr>
 <td colspan=4 height=5 bgcolor="000000"></td>
 </tr>

 </HeaderTemplate>
 <ItemTemplate>
 <tr>
 <tr><td>Object ID: </td><td>
 <%# Convert.ToString(DataBinder.Eval(Container.DataIte m, "CM_REF")) %>
 </td></tr>
 <tr><td>Description: </td><td>
 <%# Convert.ToString(DataBinder.Eval(Container.DataIte m, "CM_DESCRIPTION")) %>
 </td></tr>
 <tr><td>Name: </td><td>
 <%# Convert.ToString(DataBinder.Eval(Container.DataIte m, "CM_OBJECTNAME")) %>
 </td></tr>
 <tr><td>Timeout: </td><td>
 <%# Convert.ToString(DataBinder.Eval(Container.DataIte m, "CM_TIMEOUT")) %>
 </td></tr>
 <tr><td>Type: </td><td>
 <%# Convert.ToString(DataBinder.Eval(Container.DataIte m, "CM_TYPE")) %>
 </td></tr>
 <tr><td>Content: </td><td>
 <%# Convert.ToString(DataBinder.Eval(Container.DataIte m, "CM_CONTENT"))%>
 </td></tr>
 <tr><td>Prepared: </td><td>
 <%# Convert.ToString(DataBinder.Eval(Container.DataIte m, "CM_PREPARED")) %>
 </td></tr>
 <tr><td>Connection ID:</td><td>
 <%# Convert.ToString(DataBinder.Eval(Container.DataIte m, "DB_REF")) %>
 </td></tr>
 </tr>
 </ItemTemplate>
 <SeparatorTemplate>
 <tr>
 <td colspan=4 height=1 bgcolor="000000"></td>
 </tr>
 </SeparatorTemplate>

 <FooterTemplate>
 <tr>
 <td colspan=4 height=5 bgcolor="000000"></td>
 </tr>
 </table>
 </FooterTemplate>
</asp:datalist>


If you have any information I would be so happy.I have been busting my head for days!
Even if you are not sure but think it may work send it to me and I will see if I can
impliment it. Thank You Sincerely.
Matt

Knowledge is to be shared.
__________________
Knowledge is to be shared.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Detect Edit Mode everest ASP.NET 2.0 Basics 0 December 19th, 2006 05:32 PM
Datagrid - edit mode Programator ASP.NET 1.0 and 1.1 Professional 1 September 5th, 2003 08:38 AM
Datagrid - edit mode Programator ASP.NET 1.x and 2.0 Application Design 1 September 5th, 2003 08:37 AM
Datagrid - edit mode Programator Classic ASP Professional 0 September 5th, 2003 03:13 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.