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
Resign Designs
NA
31
30k
How to remove tab page dynamically?
May 19 2015 4:39 AM
Hi,
I need to remove tabpage dynamically based on a result from database.DB result having tabpage names.
SqlDataReader reader = command.ExecuteReader();
while (reader.Read())
{
string langname = reader.GetString(0);
TabControl.TabPages.Remove(langname);
}
Error showing in highlighted section saying it has some invalid arguments.
When I put a tabpage name manually instead of langname it is working.
How can I achieve this?
Thanks
Reply
Answers (
1
)
Upload file chunk by chunk using threads in c# console app
How to find COM port for a specific USB devices connected.