Click here to Skip to main content
15,906,301 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Object reference not set to an instance of an object Pin
AlexeiXX311-Apr-08 17:09
AlexeiXX311-Apr-08 17:09 
GeneralException Handling in General Pin
Brady Kelly11-Apr-08 5:09
Brady Kelly11-Apr-08 5:09 
GeneralRe: Exception Handling in General Pin
led mike11-Apr-08 5:55
led mike11-Apr-08 5:55 
GeneralAJAX Set focus + User Control Pin
tomwilliams11-Apr-08 4:19
tomwilliams11-Apr-08 4:19 
GeneralRe: AJAX Set focus + User Control Pin
tomwilliams11-Apr-08 5:16
tomwilliams11-Apr-08 5:16 
GeneralDatagrid Problem Pin
Devkranth Kishore Vanja11-Apr-08 4:13
Devkranth Kishore Vanja11-Apr-08 4:13 
GeneralRe: Datagrid Problem Pin
Herman<T>.Instance14-Apr-08 0:19
Herman<T>.Instance14-Apr-08 0:19 
GeneralRather bizarre databinding problem... Pin
RichardGrimmer11-Apr-08 3:49
RichardGrimmer11-Apr-08 3:49 
Hi guys...

OK, picture the scene if you will...a standard SP returns some codes and VAT values. The codes are in varchar(3) fields.

This data is then bound to a DataList - not directly, but with an Item template, containing a drop down list for the rates. Now when binding, the values are correctly added to the ddl, but the selected value is not being set correctly. Looking at the code, when I do the databind, the column is indeed "1" or "x" or whatever...so far so good, but in the databind event handler, when I look at e.Item.DataItem's version of the value (used to determine which item to select), it's being returned as "1 " or "x "

Anyone seen anything similar? It's almost as though the function call to the bind event is what's doing the mangling. but I can't see how!

I've also tried changing the column to a varchar (1) in the database, but bizarrely, it still appears as "1 " in the bind event. To add even more complexity(!) this is only ocurring on a client's dataset - on our "reference" dataset, with similar data, all is fine...

C# has already designed away most of the tedium of C++.

GeneralRe: Rather bizarre databinding problem... Pin
Brady Kelly11-Apr-08 5:10
Brady Kelly11-Apr-08 5:10 
QuestionCreating Multilingual Web page? Pin
Sam.M11-Apr-08 2:25
Sam.M11-Apr-08 2:25 
AnswerRe: Creating Multilingual Web page? Pin
its.rajendra11-Apr-08 2:46
its.rajendra11-Apr-08 2:46 
Generalsmtp.gmail.com Pin
Piyush Vardhan Singh11-Apr-08 2:18
Piyush Vardhan Singh11-Apr-08 2:18 
GeneralRe: smtp.gmail.com Pin
Sam.M11-Apr-08 2:26
Sam.M11-Apr-08 2:26 
GeneralRe: smtp.gmail.com Pin
Piyush Vardhan Singh11-Apr-08 2:29
Piyush Vardhan Singh11-Apr-08 2:29 
GeneralRe: smtp.gmail.com Pin
Sam.M11-Apr-08 2:31
Sam.M11-Apr-08 2:31 
GeneralRe: smtp.gmail.com Pin
Piyush Vardhan Singh11-Apr-08 2:37
Piyush Vardhan Singh11-Apr-08 2:37 
GeneralRe: smtp.gmail.com Pin
Piyush Vardhan Singh11-Apr-08 2:32
Piyush Vardhan Singh11-Apr-08 2:32 
GeneralRe: smtp.gmail.com Pin
Parwej Ahamad11-Apr-08 18:25
professionalParwej Ahamad11-Apr-08 18:25 
General'downloading an attachment file name changes when 2 dots(.) contained in filename' Pin
its.rajendra11-Apr-08 2:16
its.rajendra11-Apr-08 2:16 
GeneralRight Click event on image Pin
Imran Khan Pathan11-Apr-08 1:35
Imran Khan Pathan11-Apr-08 1:35 
GeneralRe: Right Click event on image Pin
Christian Graus11-Apr-08 1:38
protectorChristian Graus11-Apr-08 1:38 
GeneralDynamiclly radiobuttonlist Pin
Burim Rama11-Apr-08 1:08
Burim Rama11-Apr-08 1:08 
GeneralQuestion Pin
nithydurai11-Apr-08 0:47
nithydurai11-Apr-08 0:47 
GeneralRe: Question Pin
J4amieC11-Apr-08 0:51
J4amieC11-Apr-08 0:51 
GeneralRe: Question Pin
eyeseetee11-Apr-08 0:55
eyeseetee11-Apr-08 0:55 

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.