Click here to Skip to main content
15,885,216 members
Home / Discussions / C#
   

C#

 
GeneralIP from NetworkInterface Pin
stancrm10-Mar-08 1:19
stancrm10-Mar-08 1:19 
GeneralRe: IP from NetworkInterface Pin
Scott Dorman10-Mar-08 4:59
professionalScott Dorman10-Mar-08 4:59 
Generalpop-up window sliding from top to down Pin
mnalammwb10-Mar-08 1:07
mnalammwb10-Mar-08 1:07 
QuestionHelp with reading 3 column csv Pin
kali0610-Mar-08 0:55
kali0610-Mar-08 0:55 
GeneralRe: Help with reading 3 column csv Pin
PIEBALDconsult10-Mar-08 5:21
mvePIEBALDconsult10-Mar-08 5:21 
Generalsingle static instance in multi-thread env. Pin
buchstaben10-Mar-08 0:42
buchstaben10-Mar-08 0:42 
GeneralRe: single static instance in multi-thread env. Pin
Bekjong10-Mar-08 4:39
Bekjong10-Mar-08 4:39 
GeneralRe: single static instance in multi-thread env. Pin
LongRange.Shooter10-Mar-08 8:42
LongRange.Shooter10-Mar-08 8:42 
Your code here does not show HibernateDAO as static. Also it cannot be static as written due to the generics.
You have to make the class a strong type and define it explicitely as static in order to get a static class.
All you've done is define a static method inside an instance class.

You need something like this:

public static class Hibernate
{
      ...

}

Generalmultiple selection listbox Pin
Ballita10-Mar-08 0:36
Ballita10-Mar-08 0:36 
GeneralRe: multiple selection listbox Pin
ChandraRam10-Mar-08 1:19
ChandraRam10-Mar-08 1:19 
GeneralRe: multiple selection listbox Pin
Ballita10-Mar-08 1:31
Ballita10-Mar-08 1:31 
GeneralRe: multiple selection listbox Pin
ChandraRam10-Mar-08 1:34
ChandraRam10-Mar-08 1:34 
Questionhow can we change the input locale programmatically using C# Pin
g_hemanth1710-Mar-08 0:22
g_hemanth1710-Mar-08 0:22 
GeneralRe: how can we change the input locale programmatically using C# Pin
ChandraRam10-Mar-08 1:29
ChandraRam10-Mar-08 1:29 
QuestionRe: how can we change the input locale programmatically using C# Pin
g_hemanth1710-Mar-08 18:09
g_hemanth1710-Mar-08 18:09 
QuestionFormBorderStyle set to None with Context Menu on taskbar? Pin
lordkaile10-Mar-08 0:22
lordkaile10-Mar-08 0:22 
GeneralSplitcontainer SplitterDistance increases in every time Pin
AndrusM10-Mar-08 0:09
AndrusM10-Mar-08 0:09 
GeneralRe: Splitcontainer SplitterDistance increases in every time Pin
LongRange.Shooter10-Mar-08 8:51
LongRange.Shooter10-Mar-08 8:51 
GeneralRe: Splitcontainer SplitterDistance increases in every time Pin
AndrusM11-Mar-08 7:53
AndrusM11-Mar-08 7:53 
GeneralRe: Splitcontainer SplitterDistance increases in every time Pin
LongRange.Shooter11-Mar-08 16:56
LongRange.Shooter11-Mar-08 16:56 
GeneralRe: Splitcontainer SplitterDistance increases in every time Pin
AndrusM12-Mar-08 2:40
AndrusM12-Mar-08 2:40 
GeneralRe: Splitcontainer SplitterDistance increases in every time Pin
henkiepl22-Sep-10 21:02
henkiepl22-Sep-10 21:02 
QuestionAdd,Amend data from DataGridView Pin
Krazy Programmer9-Mar-08 23:45
Krazy Programmer9-Mar-08 23:45 
GeneralRe: Add,Amend data from DataGridView Pin
LongRange.Shooter13-Mar-08 5:01
LongRange.Shooter13-Mar-08 5:01 
Generalnumeric validation problem Pin
Miss Maheshwari9-Mar-08 23:27
Miss Maheshwari9-Mar-08 23:27 

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.