Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
GeneralRe: Nested pinning? Pin
DaveyM6926-Oct-09 22:22
professionalDaveyM6926-Oct-09 22:22 
GeneralRe: Nested pinning? Pin
Luc Pattyn27-Oct-09 3:21
sitebuilderLuc Pattyn27-Oct-09 3:21 
QuestionWeb Reference in VS incorrectly reads array parameter Pin
Vengeance26-Oct-09 11:20
Vengeance26-Oct-09 11:20 
QuestionMultiple Components In One Solution Accessing Data Pin
Kevin Marois26-Oct-09 10:46
professionalKevin Marois26-Oct-09 10:46 
AnswerRe: Multiple Components In One Solution Accessing Data Pin
Not Active26-Oct-09 11:32
mentorNot Active26-Oct-09 11:32 
GeneralRe: Multiple Components In One Solution Accessing Data Pin
Kevin Marois26-Oct-09 12:29
professionalKevin Marois26-Oct-09 12:29 
GeneralRe: Multiple Components In One Solution Accessing Data Pin
Not Active26-Oct-09 12:43
mentorNot Active26-Oct-09 12:43 
QuestionDetailsView returns null values on postback?? Pin
je198026-Oct-09 10:41
je198026-Oct-09 10:41 
Hi,

I want to use a DetailsView to insert a record into an empty list.
I have a DetailsView in my page source (DefaultMode set to insert), and the datasource in set in the codebehind.


myObject = new CustomObject();

if (!IsPostBack)
{
myDetailsView.DataSource = new List<customobject>() {myObject};
myDetailsView.DataBind();
}

...Then I run the website and type some text into one of the bound fields,
then click a button on the form...


protected void Button_Click(object sender, EventArgs e)
{
string s = myObject.myProperty;
}


But the value of the object is NULL.
Even myDetailsView.DataSource returns an empty list

what am I doing wrong??? I just want to retrieve the values types into the DetailsView
Thanks

James
AnswerRe: DetailsView returns null values on postback?? Pin
Not Active26-Oct-09 11:15
mentorNot Active26-Oct-09 11:15 
QuestionODBC Type mismatch error Pin
TheJudeDude26-Oct-09 9:25
TheJudeDude26-Oct-09 9:25 
AnswerRe: ODBC Type mismatch error Pin
Abhishek Sur26-Oct-09 10:01
professionalAbhishek Sur26-Oct-09 10:01 
GeneralRe: ODBC Type mismatch error Pin
TheJudeDude26-Oct-09 11:46
TheJudeDude26-Oct-09 11:46 
AnswerRe: ODBC Type mismatch error Pin
OriginalGriff26-Oct-09 10:02
mveOriginalGriff26-Oct-09 10:02 
GeneralRe: ODBC Type mismatch error Pin
TheJudeDude26-Oct-09 11:51
TheJudeDude26-Oct-09 11:51 
GeneralRe: ODBC Type mismatch error Pin
Luc Pattyn26-Oct-09 12:22
sitebuilderLuc Pattyn26-Oct-09 12:22 
GeneralRe: ODBC Type mismatch error Pin
TheJudeDude26-Oct-09 13:19
TheJudeDude26-Oct-09 13:19 
GeneralRe: ODBC Type mismatch error Pin
Luc Pattyn26-Oct-09 13:40
sitebuilderLuc Pattyn26-Oct-09 13:40 
GeneralRe: ODBC Type mismatch error Pin
TheJudeDude26-Oct-09 14:10
TheJudeDude26-Oct-09 14:10 
GeneralRe: ODBC Type mismatch error Pin
Luc Pattyn26-Oct-09 14:18
sitebuilderLuc Pattyn26-Oct-09 14:18 
GeneralRe: ODBC Type mismatch error Pin
TheJudeDude26-Oct-09 14:42
TheJudeDude26-Oct-09 14:42 
GeneralRe: ODBC Type mismatch error Pin
Luc Pattyn26-Oct-09 14:53
sitebuilderLuc Pattyn26-Oct-09 14:53 
GeneralRe: ODBC Type mismatch error Pin
TheJudeDude26-Oct-09 15:41
TheJudeDude26-Oct-09 15:41 
GeneralRe: ODBC Type mismatch error Pin
Luc Pattyn26-Oct-09 15:46
sitebuilderLuc Pattyn26-Oct-09 15:46 
GeneralRe: ODBC Type mismatch error Pin
TheJudeDude27-Oct-09 3:49
TheJudeDude27-Oct-09 3:49 
AnswerRe: ODBC Type mismatch error Pin
Luc Pattyn26-Oct-09 10:05
sitebuilderLuc Pattyn26-Oct-09 10:05 

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.