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
jani_rakesh
NA
1
0
ILIST
Aug 4 2004 1:06 PM
how do i coonect an ilist to the datagrid. Here the code i have wrriten but u get the length of the value in the ilist insted of the actual value in the ilist. private void Form1_Load(object sender, System.EventArgs e) { myilist ilist = new myilist(); ilist.Add((string) "Test"); ilist.Add((string) "Test1"); ilist.Add((string) "Test22"); this.dataGrid1.SetDataBinding(ilist,""); } } class myilist:CollectionBase { public int Add(string value) { return(List.Add(value)); } protected override void OnValidate( Object value ) { if ( value.GetType() != Type.GetType("System.String") ) throw new ArgumentException( "value must be of type string." ); }
Reply
Answers (
0
)
Fill data in textBox
How to have two tables on a single dataset?