I received this code from another question, and I'm wanting to modify it a bit to suit a different need.
I need that when this page loads, it will read a sql database, passing the current user's logon name. Sql psuedo query would state "Select MtItems from tbl where owner='<user>'".
And then the list would simply contain the list of those MtItems, but allow the user to click on each to get more details (though I realize this could potentially be a 'part 2' question, which I'm fine with asking).
Thanks for the help!
<form id="form1" runat="server">
Distibution Lists:<br />
<asp:ListBox ID="ListBox1" runat="server" AutoPostBack="True"></asp:ListBox>
<% If ListBox1.SelectedValue <> "" Then%>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:Button ID="btnSave" runat="server" Text="Save" />
<% End If%>