Click here to Skip to main content
15,888,610 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Reference to running application. Pin
SHatchard5-Jul-07 0:27
SHatchard5-Jul-07 0:27 
QuestionSteps for???? Pin
PACO774-Jul-07 5:05
PACO774-Jul-07 5:05 
AnswerRe: Steps for???? Pin
originSH4-Jul-07 22:44
originSH4-Jul-07 22:44 
GeneralRe: Steps for???? Pin
PACO774-Jul-07 23:16
PACO774-Jul-07 23:16 
QuestionThreading/Paging in web services Pin
BobsAfro4-Jul-07 4:21
BobsAfro4-Jul-07 4:21 
QuestionCalling c++ unmanaged code from c++ Managed code Pin
AlamBakr3-Jul-07 12:25
AlamBakr3-Jul-07 12:25 
AnswerRe: Calling c++ unmanaged code from c++ Managed code Pin
Giorgi Dalakishvili3-Jul-07 20:38
mentorGiorgi Dalakishvili3-Jul-07 20:38 
QuestionUsercontrol can't handle generic collection Pin
Santiago Perez3-Jul-07 9:42
Santiago Perez3-Jul-07 9:42 
I have a set of class all deriving from the same interface, iVendor. Now I have a user control that I am formatting according to the type of VendorClass that it will be assigned via a property. The problem is the following: My middle tier is returning a generic Collection that is returned from a generic function. So my function signature is as follows:


public static Collection<t> GetVendors<t>(eDataDetail eDetail, int Contract_ID, ref ContractsException oCEExecption,
int startRowIndex, int maximumRows, out int TotalRowCount) where T : iVendor, new()





I'm trying to assign the result of this function call to a property on my usercontrol with a signature of :

public List<ivendor> Vendors
{

get { return this._oLVendors; }set { this._oLVendors = value; }
}



I'm trying to make the assignment as follows:

ctlDemographics.Vendors = new List<ivendor>(Contract.GetVendors<contractvendor>(Contract.eDataDetail.Basic, this.ContractID, ref oCE, 1, 300, out TotRowCount));



SInce there is no such thing as Generic properties can someone explain how I would go about handling this?

Thanks


Regards,
Santiago "Saint" Perez
Florida's Turnpike Enterprise - Santiago.perez@dot.state.fl.us

AnswerRe: Usercontrol can't handle generic collection Pin
Andy L 23-Jul-07 10:21
Andy L 23-Jul-07 10:21 
GeneralRe: Usercontrol can't handle generic collection Pin
Santiago Perez3-Jul-07 15:00
Santiago Perez3-Jul-07 15:00 
GeneralRe: Usercontrol can't handle generic collection Pin
Andy L 29-Jul-07 1:47
Andy L 29-Jul-07 1:47 
GeneralRe: Usercontrol can't handle generic collection Pin
Santiago Perez3-Jul-07 18:26
Santiago Perez3-Jul-07 18:26 
GeneralRe: Usercontrol can't handle generic collection Pin
Santiago Perez9-Jul-07 3:50
Santiago Perez9-Jul-07 3:50 
QuestionSystem.byte[] returned for AD Query (asp.net/C# web app) Pin
Matt Martinez3-Jul-07 5:24
Matt Martinez3-Jul-07 5:24 
AnswerRe: System.byte[] returned for AD Query (asp.net/C# web app) Pin
Dave Kreskowiak3-Jul-07 5:47
mveDave Kreskowiak3-Jul-07 5:47 
GeneralRe: System.byte[] returned for AD Query (asp.net/C# web app) Pin
Matt Martinez3-Jul-07 6:35
Matt Martinez3-Jul-07 6:35 
GeneralRe: System.byte[] returned for AD Query (asp.net/C# web app) Pin
Dave Kreskowiak3-Jul-07 7:03
mveDave Kreskowiak3-Jul-07 7:03 
GeneralRe: System.byte[] returned for AD Query (asp.net/C# web app) Pin
Matt Martinez6-Jul-07 8:00
Matt Martinez6-Jul-07 8:00 
QuestionHow to search for hard coded string in VC++ code Pin
Neeranjan3-Jul-07 3:46
Neeranjan3-Jul-07 3:46 
AnswerRe: How to search for hard coded string in VC++ code Pin
Dave Kreskowiak3-Jul-07 5:21
mveDave Kreskowiak3-Jul-07 5:21 
AnswerRe: How to search for hard coded string in VC++ code Pin
l0kke3-Jul-07 5:41
l0kke3-Jul-07 5:41 
AnswerDO NOT CROSSPOST Pin
leckey3-Jul-07 8:19
leckey3-Jul-07 8:19 
AnswerThe rules Pin
leckey3-Jul-07 8:18
leckey3-Jul-07 8:18 
QuestionArray name is in a variable Pin
peacefulmember29-Jun-07 9:35
peacefulmember29-Jun-07 9:35 
AnswerRe: Array name is in a variable Pin
Dave Kreskowiak29-Jun-07 9:49
mveDave Kreskowiak29-Jun-07 9:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.