CopyPastor

Detecting plagiarism made easy.

Score: 0.8376887033067683; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2018-03-19
by Aftab Lala

Original Post

Original - Posted on 2012-09-18
by Nic



            
Present in both answers; Present only in the new answer; Present only in the old answer;

This ended up being quite simple. chBoxListTables.Item[i] is a string value, and an explicit convert allowed it to be loaded into a variable. The following code works:
private void btnGO_Click(object sender, EventArgs e) {
for (int i = 0; i < chBoxListTables.Items.Count; i++) { if (chBoxListTables.GetItemChecked(i)) { string str = (string)chBoxListTables.Items[i]; respose.redirect("column.aspx"); } } }
Than, Go to the column.aspx page (Page load event) and in lable or respose.write script Bind it. like
lable1.text = ds.table[0].rows[0]["chackboxcolumnname"].tostring(); and get DS(Dataset) Or DT(Datatabe)... i hope it will work.
This ended up being quite simple. chBoxListTables.Item[i] is a string value, and an explicit convert allowed it to be loaded into a variable. The following code works:
private void btnGO_Click(object sender, EventArgs e) { for (int i = 0; i < chBoxListTables.Items.Count; i++) { if (chBoxListTables.GetItemChecked(i)) { string str = (string)chBoxListTables.Items[i]; MessageBox.Show(str); } } }

        
Present in both answers; Present only in the new answer; Present only in the old answer;