your recordClass exposes a public property that returns the value for dt.Rows[i]["RecordType"]...right?
right below in the call to "InitializeComponent()", you need to insert the following:
cmb.DisplayMember = "" <---- public Property name goes here.
This will solve your problem.
Scott...
My company has multiple divisions. I'd like to give the client the option to run the report for the division of their choice based on a parameter. I'm really being lazy here and would like to write 1 report instead of 3.
Thanks for your help
Scott
Programmer Analyst
<{{><
I'm moving queries from Access to Sql server and one of them uses the First() command in the query. I can't seem to find an equivalent in T-Sql. Can someone help out?
Thanks
Scott
Programmer Analyst
<{{><
Here is an article trying to deter people from doing this and giving detail reasons.
http://www.interact-sw.co.uk/iangblog/2004/11/25/savingconfig
However, there are classes out there that will write back to the config file you really want to.
Scott
Programmer Analyst
<{{><
I'm currently reviewing infragistics, componentone and janus control suites. My main interest is for the grid control.
Janus
I really like the grid control but the documentation sucks and the forums are less than helpfull. All of the samples make use bound data controls which I don't plan on...
I have a usercontrol that contains a treeview. I have included in this control an imagelist. I have applied the imagelist to the treeview and in the designer the control looks like it should.
When the control is placed on a form the images are not present. My first pass to fix this problem was...
We currently use a document management system(DMS) for our ISO documents. This application is stand alone and was purchased. I am currently developing an application that could benefit by using this DMS. I would like to "embed" this application into a winform.
Now, I know that this probably...
We currently use a document management system(DMS) for our ISO documents. This application is stand alone and was purchased. I am currently developing an application that could benefit by using this DMS. I would like to "embed" this application into a winform.
Now, I know that this probably...
public class Class1
{
public class1(){}
[DefaultMember(true)]
public string this [int Index]
{ get
{
return List.Item(Index).ToString;
}
set
{
List.Item(Index) = value;
}
}
}
Usage:
Class1 c = new Class1();
c[0].ToString();
Scott
Programmer...
//First Column
this.listView1.Items[0].Text;
//Second Column, First Row
// SubItems may be zero based but I can't remember
// at the moment
this.listView1.Items[0].SubItems[1].Text;
Scott
Programmer Analyst
<{{><
What project management software do you use to keep track of delivery dates, milestones, or anything related to project you work on?
Scott
Programmer Analyst
<{{><
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.