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
dilip kumar
NA
29
0
How to use Datasource wizard property dynamically
May 18 2009 10:10 AM
can i use combobox datasource wizard dynamically in my application
..
open vb.net windows application..then take one combobox..Then goto combobox properties ..Then select Datasource and click on ADD project Datasource..It's open One wizard(Datasource configuration wizard)..ok..
Now come to my application
i am developing one designing tool..in my tool also having combobox ..i am setting all the properties to combobox ..all are working fine..but This datasource property is not working fine.. i can use this DataSource Wizard Dynamically to my combobox Datasource property...
This is the code i use for setting the property..
Private MyDataSource As Object
<Browsable(True)> _
<Category("Data"), AttributeProvider("System.ComponentModel.IListSource")> _
Public Shadows Property DataSource() As Object
Get
Return MyDataSource
End Get
Set(ByVal value As Object)
If MyDataSource <> value Then
MyDataSource = value
End If
End Set
End Property
Private mDateMember As String = ""
<Category("Data"), Editor("System.Windows.Forms.Design.DataMemberListEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor")> _
Public Property DateMember() As String
Get
Return mDateMember
End Get
Set(ByVal value As String)
mDateMember = value
End Set
End Property
Reply
Answers (
0
)
.Rows.Count and .RowCount
Total up a datagrid to a separate textbox