- 685 名前:nobodyさん mailto:sage [2009/07/27(月) 15:33:45 ID:???]
- >>681
TextBoxとLabelを配置したUserControl作って、ReadOnlyプロパティとTextプロパティを作って、 TextBox.Visible = !ReadOnly Labe.Visible = ReadOnlyすればいいじゃない >>683 public List<TextBox> TextBoxList = new List<TextBox>(); protected void Page_Load(object sender, EventArgs e) { for (int i = 0; i < this.Repeater1.Items.Count; i++) { RepeaterItem ri1 = this.Repeater1.Items[i]; TextBox textBox = (TextBox)ri1.FindControl("TextBox1"); TextBoxList.Add(textBox); } } あとはお好きにどぞ
|

|