|
Subject:
|
Given the datalist. How do I add edit mode?
|
|
Posted By:
|
macupryk
|
Post Date:
|
10/8/2004 12:29:55 PM
|
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> <font face="Verdana" size=3>Objects</font> </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.DataItem, "CM_REF")) %> </td></tr> <tr><td>Description: </td><td> <%# Convert.ToString(DataBinder.Eval(Container.DataItem, "CM_DESCRIPTION")) %> </td></tr> <tr><td>Name: </td><td> <%# Convert.ToString(DataBinder.Eval(Container.DataItem, "CM_OBJECTNAME")) %> </td></tr> <tr><td>Timeout: </td><td> <%# Convert.ToString(DataBinder.Eval(Container.DataItem, "CM_TIMEOUT")) %> </td></tr> <tr><td>Type: </td><td> <%# Convert.ToString(DataBinder.Eval(Container.DataItem, "CM_TYPE")) %> </td></tr> <tr><td>Content: </td><td> <%# Convert.ToString(DataBinder.Eval(Container.DataItem, "CM_CONTENT"))%> </td></tr> <tr><td>Prepared: </td><td> <%# Convert.ToString(DataBinder.Eval(Container.DataItem, "CM_PREPARED")) %> </td></tr> <tr><td>Connection ID:</td><td> <%# Convert.ToString(DataBinder.Eval(Container.DataItem, "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.
|
|