Click here to Skip to main content
15,890,845 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: I have to implement field level security Pin
eyeseetee8-Apr-08 0:08
eyeseetee8-Apr-08 0:08 
GeneralRe: I have to implement field level security Pin
Christian Graus8-Apr-08 0:11
protectorChristian Graus8-Apr-08 0:11 
GeneralProblem in moving text from one textbox to another Pin
Deepak Nigam7-Apr-08 22:46
Deepak Nigam7-Apr-08 22:46 
GeneralRe: Problem in moving text from one textbox to another Pin
Christian Graus7-Apr-08 23:00
protectorChristian Graus7-Apr-08 23:00 
QuestionHow to Process name Pin
ILLUSIONARY LIFE7-Apr-08 22:41
ILLUSIONARY LIFE7-Apr-08 22:41 
AnswerRe: How to Process name Pin
Christian Graus7-Apr-08 22:58
protectorChristian Graus7-Apr-08 22:58 
GeneralProblem with onrowcreate in gridview Pin
eyeseetee7-Apr-08 21:48
eyeseetee7-Apr-08 21:48 
GeneralRe: Problem with onrowcreate in gridview Pin
Christian Graus7-Apr-08 21:52
protectorChristian Graus7-Apr-08 21:52 
.netman wrote:
DataBinder.Eval(e.Row.DataItem, "Ignore")


You're calling this method three times because...... ????

.netman wrote:
Ignore").ToString() != "Y"

.netman wrote:
(bool)DataBinder.Eval(e.Row.DataItem, "Ignore");


You're assuming because the the field is not a string starting with Y or N ( and not y, n, t, T, F, f, or any other letter or character ), it must be a bool. Either your data source is seriously messed up, or your understanding of how this works is. Judging from the error message you're getting, I'd say the latter. You can't just convert anything to a bool, it has to be a bool. It's obviously not. At a minimum, you should put this code in a try/catch, and then set a default. Probably, you should replace it with a default.

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

GeneralRe: Problem with onrowcreate in gridview Pin
eyeseetee7-Apr-08 21:58
eyeseetee7-Apr-08 21:58 
GeneralRe: Problem with onrowcreate in gridview Pin
Christian Graus7-Apr-08 22:21
protectorChristian Graus7-Apr-08 22:21 
GeneralRe: Problem with onrowcreate in gridview Pin
eyeseetee7-Apr-08 22:30
eyeseetee7-Apr-08 22:30 
GeneralRe: Problem with onrowcreate in gridview Pin
Christian Graus7-Apr-08 22:32
protectorChristian Graus7-Apr-08 22:32 
GeneralImage Transparency Pin
Reelix7-Apr-08 21:43
Reelix7-Apr-08 21:43 
GeneralRe: Image Transparency Pin
Christian Graus7-Apr-08 21:49
protectorChristian Graus7-Apr-08 21:49 
GeneralRe: Image Transparency Pin
Reelix8-Apr-08 4:33
Reelix8-Apr-08 4:33 
GeneralOnloine Payment Pin
Member 46590017-Apr-08 21:34
Member 46590017-Apr-08 21:34 
GeneralRe: Onloine Payment Pin
eyeseetee7-Apr-08 21:39
eyeseetee7-Apr-08 21:39 
QuestionHow to use MathML Control Pin
yogesh_kumar_agarwal7-Apr-08 21:15
yogesh_kumar_agarwal7-Apr-08 21:15 
GeneralRe: How to use MathML Control Pin
Christian Graus7-Apr-08 21:19
protectorChristian Graus7-Apr-08 21:19 
GeneralRe: How to use MathML Control Pin
yogesh_kumar_agarwal7-Apr-08 22:24
yogesh_kumar_agarwal7-Apr-08 22:24 
GeneralRe: How to use MathML Control Pin
Christian Graus7-Apr-08 22:31
protectorChristian Graus7-Apr-08 22:31 
Questionhow to replace Permanently in aspx page using .net with c# Pin
sugunavathysubramanian7-Apr-08 20:51
sugunavathysubramanian7-Apr-08 20:51 
AnswerRe: how to replace Permanently in aspx page using .net with c# Pin
Ashish Sehajpal7-Apr-08 20:58
Ashish Sehajpal7-Apr-08 20:58 
GeneralRe: how to replace Permanently in aspx page using .net with c# Pin
sugunavathysubramanian7-Apr-08 21:21
sugunavathysubramanian7-Apr-08 21:21 
AnswerRe: how to replace Permanently in aspx page using .net with c# Pin
Christian Graus7-Apr-08 21:09
protectorChristian Graus7-Apr-08 21:09 

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.