Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
AnswerRe: adding new data over ProcessLayer Pin
Hiren solanki14-Dec-10 0:23
Hiren solanki14-Dec-10 0:23 
GeneralRe: adding new data over ProcessLayer Pin
Erdinc2714-Dec-10 0:40
Erdinc2714-Dec-10 0:40 
AnswerRe: adding new data over ProcessLayer Pin
Hiren solanki14-Dec-10 0:45
Hiren solanki14-Dec-10 0:45 
GeneralRe: adding new data over ProcessLayer Pin
Erdinc2714-Dec-10 0:47
Erdinc2714-Dec-10 0:47 
AnswerRe: adding new data over ProcessLayer Pin
Hiren solanki14-Dec-10 0:52
Hiren solanki14-Dec-10 0:52 
GeneralRe: adding new data over ProcessLayer Pin
Erdinc2714-Dec-10 1:31
Erdinc2714-Dec-10 1:31 
GeneralRe: adding new data over ProcessLayer Pin
Erdinc2714-Dec-10 2:16
Erdinc2714-Dec-10 2:16 
AnswerRe: adding new data over ProcessLayer Pin
Hiren solanki14-Dec-10 3:38
Hiren solanki14-Dec-10 3:38 
That's okey the way you are processing. But Why you have kept a seperate method for InsertData() You should Initialize command there itself. No need for extra garbage. Wrap thing in a function that can be reusable or having something meaning.

You got your problem solved now, I have also found why you were getting error let me tell you if you have found the same or different.

In your event btnEkle_Click you have called h.InsertFirm(firma); directly without setting value for each property, and after finishing a whole operation you are assigning value, I think you're very much newbie with OOPS. try to read some books around will give you better idea on this.

GeneralRe: adding new data over ProcessLayer Pin
Erdinc2714-Dec-10 4:50
Erdinc2714-Dec-10 4:50 
Questionget ip from a disconnected network interface Pin
caradri13-Dec-10 19:37
caradri13-Dec-10 19:37 
AnswerRe: get ip from a disconnected network interface Pin
Roger Wright14-Dec-10 18:39
professionalRoger Wright14-Dec-10 18:39 
QuestionReading Xml to and fro Pin
squerley13-Dec-10 5:02
squerley13-Dec-10 5:02 
AnswerRe: Reading Xml to and fro Pin
_Erik_13-Dec-10 5:15
_Erik_13-Dec-10 5:15 
GeneralRe: Reading Xml to and fro Pin
RaviRanjanKr13-Dec-10 5:43
professionalRaviRanjanKr13-Dec-10 5:43 
GeneralRe: Reading Xml to and fro Pin
squerley13-Dec-10 5:48
squerley13-Dec-10 5:48 
GeneralRe: Reading Xml to and fro Pin
_Erik_13-Dec-10 6:03
_Erik_13-Dec-10 6:03 
AnswerRe: Reading Xml to and fro PinPopular
RaviRanjanKr13-Dec-10 5:42
professionalRaviRanjanKr13-Dec-10 5:42 
GeneralRe: Reading Xml to and fro Pin
ShilpaKumari13-Dec-10 5:57
ShilpaKumari13-Dec-10 5:57 
GeneralRe: Reading Xml to and fro Pin
RaviRanjanKr13-Dec-10 6:08
professionalRaviRanjanKr13-Dec-10 6:08 
GeneralRe: Reading Xml to and fro Pin
squerley13-Dec-10 5:58
squerley13-Dec-10 5:58 
GeneralRe: Reading Xml to and fro Pin
RaviRanjanKr13-Dec-10 6:05
professionalRaviRanjanKr13-Dec-10 6:05 
GeneralRe: Reading Xml to and fro Pin
squerley13-Dec-10 6:25
squerley13-Dec-10 6:25 
GeneralRe: Reading Xml to and fro Pin
squerley13-Dec-10 6:13
squerley13-Dec-10 6:13 
GeneralRe: Reading Xml to and fro Pin
RaviRanjanKr13-Dec-10 6:19
professionalRaviRanjanKr13-Dec-10 6:19 
GeneralRe: Reading Xml to and fro Pin
ShilpaKumari13-Dec-10 6:28
ShilpaKumari13-Dec-10 6:28 

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.