TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
srikanthreddy
NA
28
24k
working with listbox and textboxs
Feb 9 2012 8:28 AM
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(
);
Reply
Answers (
1
)
Issue with Ajax Control Toolkit
Block a Password in Database.