Click here to Skip to main content
14,665,175 members
Home » Discussions » C#
   

C#

 
AnswerRe: about BitVector32 Pin
Guffa13-Jun-09 23:46
MemberGuffa13-Jun-09 23:46 
QuestionQuestion For List Generics Pin
Sider8913-Jun-09 22:54
MemberSider8913-Jun-09 22:54 
AnswerRe: Question For List Generics Pin
0x3c013-Jun-09 23:22
Member0x3c013-Jun-09 23:22 
GeneralRe: Question For List Generics Pin
Sider8913-Jun-09 23:36
MemberSider8913-Jun-09 23:36 
GeneralRe: Question For List Generics Pin
0x3c014-Jun-09 0:57
Member0x3c014-Jun-09 0:57 
GeneralRe: Question For List Generics Pin
Sider8914-Jun-09 1:04
MemberSider8914-Jun-09 1:04 
GeneralRe: Question For List Generics Pin
0x3c014-Jun-09 1:36
Member0x3c014-Jun-09 1:36 
GeneralRe: Question For List Generics Pin
Sider8914-Jun-09 5:30
MemberSider8914-Jun-09 5:30 
well it's works but there is some another problem like this:
Here is class where I invoked function into delegate

public class CountryDAO : BaseDAO< Country >
{

public override Country Load(int id) //I try to do lazyloading
{
Country country = base.Load(id); //just loads from database to Country class objects
if (country != null)
{
country.LoadChild = LoadCity;// here I invoked it and here occurs error
}
return country;
}

private List< City > LoadCity(int parentId)
{
CityDAO cDao = new CityDAO();
return cDao.LoadList("CountryID=" + parentId.ToString());
}

}

Error: 'System.Collections.Generic.List< G1_OnlineStoreObjects.City > G1_OnlineStoreDAO.CountryDAO.LoadCity(int)' has the wrong return type

what's the matter, why cann't compile it?
I repeat it what you said me to cast bu it is not works again Frown | :(

C# Developer

GeneralRe: Question For List Generics Pin
0x3c014-Jun-09 5:47
Member0x3c014-Jun-09 5:47 
GeneralRe: Question For List Generics Pin
Sider8914-Jun-09 19:39
MemberSider8914-Jun-09 19:39 
QuestionClosing and recreating a form Pin
SimpleData13-Jun-09 22:43
MemberSimpleData13-Jun-09 22:43 
AnswerRe: Closing and recreating a form Pin
Henry Minute14-Jun-09 0:14
MemberHenry Minute14-Jun-09 0:14 
GeneralRe: Closing and recreating a form Pin
SimpleData14-Jun-09 0:15
MemberSimpleData14-Jun-09 0:15 
GeneralRe: Closing and recreating a form Pin
Henry Minute14-Jun-09 0:31
MemberHenry Minute14-Jun-09 0:31 
GeneralRe: Closing and recreating a form Pin
SimpleData14-Jun-09 3:05
MemberSimpleData14-Jun-09 3:05 
GeneralRe: Closing and recreating a form Pin
Henry Minute14-Jun-09 3:13
MemberHenry Minute14-Jun-09 3:13 
GeneralRe: Closing and recreating a form Pin
SimpleData14-Jun-09 3:36
MemberSimpleData14-Jun-09 3:36 
GeneralRe: Closing and recreating a form Pin
Henry Minute14-Jun-09 3:40
MemberHenry Minute14-Jun-09 3:40 
AnswerRe: Closing and recreating a form Pin
Luc Pattyn14-Jun-09 4:14
sitebuilderLuc Pattyn14-Jun-09 4:14 
GeneralRe: Closing and recreating a form Pin
SimpleData14-Jun-09 4:43
MemberSimpleData14-Jun-09 4:43 
GeneralRe: Closing and recreating a form Pin
Luc Pattyn14-Jun-09 4:49
sitebuilderLuc Pattyn14-Jun-09 4:49 
GeneralRe: Closing and recreating a form Pin
SimpleData14-Jun-09 4:52
MemberSimpleData14-Jun-09 4:52 
GeneralRe: Closing and recreating a form Pin
Dave Kreskowiak14-Jun-09 4:58
mveDave Kreskowiak14-Jun-09 4:58 
GeneralRe: Closing and recreating a form Pin
Dave Kreskowiak14-Jun-09 4:55
mveDave Kreskowiak14-Jun-09 4:55 
GeneralRe: Closing and recreating a form Pin
SimpleData14-Jun-09 5:07
MemberSimpleData14-Jun-09 5:07 

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.