Click here to Skip to main content
15,897,371 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to add parameter for 'In' clause Pin
robert11020-Oct-06 9:22
robert11020-Oct-06 9:22 
AnswerRe: How to add parameter for 'In' clause Pin
ednrgc20-Oct-06 9:29
ednrgc20-Oct-06 9:29 
GeneralVoting request... Pin
Clickok20-Oct-06 8:35
Clickok20-Oct-06 8:35 
AnswerRe: Voting request... Pin
Guffa20-Oct-06 12:18
Guffa20-Oct-06 12:18 
GeneralRe: Voting request... Pin
Clickok20-Oct-06 12:29
Clickok20-Oct-06 12:29 
AnswerRe: Voting request... Pin
Guffa20-Oct-06 13:35
Guffa20-Oct-06 13:35 
GeneralRe: Voting request... Pin
Clickok20-Oct-06 14:05
Clickok20-Oct-06 14:05 
GeneralRe: Voting request... Pin
Guffa20-Oct-06 15:37
Guffa20-Oct-06 15:37 
Clickok wrote:
Guffa wrote:
The DetailsView does not change the values to null, it just leaves the values as they were.

FALSE!!! It is the EXACT PROBLEM!!!


Stop screaming.

If you had taken the time to test this properly, you would see that I am correct. The DetailsView creates a new object of your class and populates it with the values that it has. The values that the constructor of your class puts in the properties that the DetailsView does not handle are unchanged when it has populated the object.

Clickok wrote:
Guffa wrote:
If you don't populate the values first

I'm populating correctly...


No, you are not. As the values are null after the DetailsView has populated the object, the values were null before.

Clickok wrote:
Guffa wrote:
So, it's not the DetailsView that sets the values to null, it's you.

FALSE again... My Select procedure fully populate all fields... but the DetailsView does not maintain the fields what is not used as BoundFields.


What the Select procedure does is irrelevant. The Select procedure is not used to create the object.

Clickok wrote:
Understood? I think wrong these behaviour, because in the SELECT method I get all fields, but in UPDATE, DetailsView place NULL in not used fields


That is based on a false assumtion. The DetailsView does not change unused fields at all.


---
b { font-weight: normal; }

GeneralRe: Voting request... Pin
Clickok20-Oct-06 17:14
Clickok20-Oct-06 17:14 
GeneralRe: Voting request... Pin
Guffa20-Oct-06 19:05
Guffa20-Oct-06 19:05 
GeneralRe: Voting request... Pin
ednrgc23-Oct-06 3:09
ednrgc23-Oct-06 3:09 
QuestionCalendar Control Pin
benno141220-Oct-06 7:08
benno141220-Oct-06 7:08 
AnswerRe: Calendar Control Pin
Jerry Hammond20-Oct-06 8:25
Jerry Hammond20-Oct-06 8:25 
GeneralRe: Calendar Control Pin
benno141220-Oct-06 8:52
benno141220-Oct-06 8:52 
QuestionCan anyone suggest a simple ASP project Pin
Meena T Shivaram20-Oct-06 4:54
Meena T Shivaram20-Oct-06 4:54 
AnswerRe: Can anyone suggest a simple ASP project Pin
Jerry Hammond20-Oct-06 5:55
Jerry Hammond20-Oct-06 5:55 
GeneralRe: Can anyone suggest a simple ASP project Pin
Meena T Shivaram20-Oct-06 6:20
Meena T Shivaram20-Oct-06 6:20 
AnswerRe: Can anyone suggest a simple ASP project Pin
postmaster@programmingknowledge.com20-Oct-06 6:41
postmaster@programmingknowledge.com20-Oct-06 6:41 
GeneralRe: Can anyone suggest a simple ASP project Pin
Meena T Shivaram20-Oct-06 6:53
Meena T Shivaram20-Oct-06 6:53 
GeneralRe: Can anyone suggest a simple ASP project Pin
Jerry Hammond20-Oct-06 8:27
Jerry Hammond20-Oct-06 8:27 
AnswerRe: Can anyone suggest a simple ASP project Pin
ednrgc20-Oct-06 7:11
ednrgc20-Oct-06 7:11 
GeneralRe: Can anyone suggest a simple ASP project Pin
Meena T Shivaram20-Oct-06 8:04
Meena T Shivaram20-Oct-06 8:04 
AnswerRe: Can anyone suggest a simple ASP project Pin
Clickok20-Oct-06 8:50
Clickok20-Oct-06 8:50 
AnswerRe: Can anyone suggest a simple ASP project Pin
Jon Sagara20-Oct-06 11:29
Jon Sagara20-Oct-06 11:29 
QuestionCustom Control. How to start? Pin
shapper20-Oct-06 4:00
shapper20-Oct-06 4:00 

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.