自己做了一个 listbox控件和linkbutton的综合实现选择项的动态移动,以下是前后台源代码,由于比较简单,就不再赘述了:
//前台代码:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="zsg.aspx.cs" Inherits="zsg" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>未命名頁面</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<div style="text-align: center">
<table border="0" cellpadding="0" cellspacing
//前台代码:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="zsg.aspx.cs" Inherits="zsg" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>未命名頁面</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<div style="text-align: center">
<table border="0" cellpadding="0" cellspacing