Click here to Skip to main content
15,895,777 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Calling webservice from client side Pin
Vasudevan Deepak Kumar17-Apr-08 21:46
Vasudevan Deepak Kumar17-Apr-08 21:46 
Generalproblem with bool field Pin
eyeseetee17-Apr-08 1:22
eyeseetee17-Apr-08 1:22 
GeneralRe: problem with bool field Pin
Herman<T>.Instance17-Apr-08 1:45
Herman<T>.Instance17-Apr-08 1:45 
GeneralRe: problem with bool field Pin
eyeseetee17-Apr-08 2:14
eyeseetee17-Apr-08 2:14 
GeneralRe: problem with bool field Pin
Herman<T>.Instance17-Apr-08 2:40
Herman<T>.Instance17-Apr-08 2:40 
GeneralRe: problem with bool field Pin
rajkumar.317-Apr-08 1:51
rajkumar.317-Apr-08 1:51 
GeneralRe: problem with bool field Pin
eyeseetee17-Apr-08 2:12
eyeseetee17-Apr-08 2:12 
GeneralRe: problem with bool field Pin
eyeseetee17-Apr-08 4:04
eyeseetee17-Apr-08 4:04 
ok slightly seperate problem but related

ive got the following code which is binding data which is not a bit field but a varchar and contains Y or N in the column. The code below produces the error:

"Specified cast is not valid."

stringvalue = (bool)DataBinder.Eval(e.Row.DataItem, "fieldname");

however if I change the column to bit i.e. 1 and 0 it works.
Is there a way I can change the code so that it works without changing the column to 1 and 0 i.e. bit! Smile | :)

cheers
QuestionCapturing the UN-UPDATED records Pin
John Sundar17-Apr-08 0:58
John Sundar17-Apr-08 0:58 
GeneralRe: Capturing the UN-UPDATED records Pin
Ariel Kazeed17-Apr-08 1:13
Ariel Kazeed17-Apr-08 1:13 
GeneralRe: Capturing the UN-UPDATED records Pin
pmarfleet17-Apr-08 1:14
pmarfleet17-Apr-08 1:14 
GeneralQuestion Pin
nithydurai17-Apr-08 0:53
nithydurai17-Apr-08 0:53 
GeneralRe: Question Pin
eyeseetee17-Apr-08 0:56
eyeseetee17-Apr-08 0:56 
GeneralRe: Question Pin
_AK_17-Apr-08 1:18
_AK_17-Apr-08 1:18 
GeneralRe: Question Pin
Vasudevan Deepak Kumar17-Apr-08 21:50
Vasudevan Deepak Kumar17-Apr-08 21:50 
Questionhow is run Pin
sugunavathysubramanian17-Apr-08 0:42
sugunavathysubramanian17-Apr-08 0:42 
AnswerRe: how is run Pin
_AK_17-Apr-08 0:45
_AK_17-Apr-08 0:45 
GeneralRe: how is run Pin
sugunavathysubramanian17-Apr-08 0:53
sugunavathysubramanian17-Apr-08 0:53 
GeneralRe: how is run Pin
J4amieC17-Apr-08 1:46
J4amieC17-Apr-08 1:46 
GeneralRe: how is run Pin
Vasudevan Deepak Kumar17-Apr-08 21:53
Vasudevan Deepak Kumar17-Apr-08 21:53 
AnswerRe: how is run Pin
Ariel Kazeed17-Apr-08 0:54
Ariel Kazeed17-Apr-08 0:54 
GeneralRe: how is run Pin
sugunavathysubramanian17-Apr-08 1:03
sugunavathysubramanian17-Apr-08 1:03 
GeneralRe: how is run Pin
pmarfleet17-Apr-08 1:09
pmarfleet17-Apr-08 1:09 
AnswerRe: how is run Pin
Ariel Kazeed17-Apr-08 1:11
Ariel Kazeed17-Apr-08 1:11 
AnswerRe: how is run Pin
Vasudevan Deepak Kumar17-Apr-08 21:51
Vasudevan Deepak Kumar17-Apr-08 21:51 

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.