Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
i want to select those value is gave by user from textbox
Amit Kumar
Jul 28 2016 7:25 AM
244
Reply
protected void btn2_Click(object sender, EventArgs e)
{
string man = txt2.Text;
string[] match = man.Split(',');
int i = match.Length;
for (int count = 0; count < i; count++)
{
var a = ltb1.Items.FindByText(match[i].ToString());
if (a.Text == man)
{
ltb1.SelectedValue = a.Value;
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
I need to full fill default.aspx on desktop (full size)
Multiple Check boxes Not Select in GridView