Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
working with listbox and textboxs
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
srikanthreddy
12y
1.4k
1
Reply
while edit/update error in this application...
my question is i am selecting one item from the listbox ..that is filled with 3 textboxs and modified some content and click on edit button ...
the error is "object reference not set to an instance of object".......
listBox1.Items.
Add(textBox1.Te
xt + "," + textBox2.Text + "," + textBox3.Text);
string s = listBox1.Select
edItem.ToString
();
i = listBox1.Select
edIndex;
string[] s1 = s.Split(',');
textBox1.Text = s1[0].ToString(
);
textBox2.Text = s1[1].ToString(
);
textBox3.Text = s1[2].ToString(
);
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Form authotication problem
Block a Password in Database.