Click here to Skip to main content
15,911,142 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Search Button Pin
Imran Khan Pathan13-Sep-07 18:30
Imran Khan Pathan13-Sep-07 18:30 
Questionstring Pin
seemamltn13-Sep-07 13:31
seemamltn13-Sep-07 13:31 
AnswerRe: string Pin
netJP12L13-Sep-07 17:23
netJP12L13-Sep-07 17:23 
AnswerRe: string Pin
Imran Khan Pathan13-Sep-07 18:20
Imran Khan Pathan13-Sep-07 18:20 
Questionhow to create a data entry table? Pin
foobarDividedByZero13-Sep-07 12:43
foobarDividedByZero13-Sep-07 12:43 
AnswerRe: how to create a data entry table? Pin
Shujaat Ullah Khan13-Sep-07 20:27
Shujaat Ullah Khan13-Sep-07 20:27 
QuestionValidation Pin
seemamltn13-Sep-07 12:39
seemamltn13-Sep-07 12:39 
QuestionGridView binding issue [modified] Pin
Vodstok13-Sep-07 10:51
Vodstok13-Sep-07 10:51 
I have a gridview that, depending on the information being passed to it, needs to flag the Visible attribute of a textbox control in one of the template columns. so here is a quick snippet of the datarow as it is being built:

dr[4] = "";
dr[5] = s;
dr[6] = "false";

the datatable columns it references:

dt.Columns.Add("filler");
dt.Columns.Add("key");
dt.Columns.Add("Vis");

and the line in the gridview that is having issues:
<asp:TextBox ID="txtItmQty" runat="server" Text='<%# Bind("filler") %>' Width="42px" Visible='<%# Bind("Vis") %>'></asp:TextBox>

every time i run it, i get this:
<b>Specified cast is not valid.</b>

how or what do i have to pass to the Visible attribute to set this dynamically?


-- modified at 18:14 Thursday 13th September, 2007

______________________
Mr Griffin, eleventy billion is not a number...WTF | :WTF:


-- modified at 18:14 Thursday 13th September, 2007
AnswerRe: GridView binding issue Pin
Imran Khan Pathan13-Sep-07 18:56
Imran Khan Pathan13-Sep-07 18:56 
AnswerRe: GridView binding issue [modified] Pin
Jintal Patel13-Sep-07 19:51
Jintal Patel13-Sep-07 19:51 
QuestionCookies problem. Pin
Saksida Bojan13-Sep-07 10:32
Saksida Bojan13-Sep-07 10:32 
AnswerRe: Cookies problem. Pin
Guffa13-Sep-07 11:40
Guffa13-Sep-07 11:40 
GeneralRe: Cookies problem. Pin
Saksida Bojan13-Sep-07 21:28
Saksida Bojan13-Sep-07 21:28 
AnswerRe: Cookies problem. Pin
Guffa14-Sep-07 7:21
Guffa14-Sep-07 7:21 
GeneralRe: Cookies problem. Pin
Saksida Bojan14-Sep-07 9:22
Saksida Bojan14-Sep-07 9:22 
QuestionValidate dates Pin
seemamltn13-Sep-07 9:38
seemamltn13-Sep-07 9:38 
QuestionValidating the dates Pin
seemamltn13-Sep-07 9:36
seemamltn13-Sep-07 9:36 
AnswerRe: Validating the dates Pin
Jon Sagara13-Sep-07 9:39
Jon Sagara13-Sep-07 9:39 
QuestionRequiredValidation controls Pin
seemamltn13-Sep-07 7:57
seemamltn13-Sep-07 7:57 
AnswerRe: RequiredValidation controls Pin
Brent Lamborn13-Sep-07 8:42
Brent Lamborn13-Sep-07 8:42 
AnswerRe: RequiredValidation controls Pin
Jintal Patel13-Sep-07 20:05
Jintal Patel13-Sep-07 20:05 
QuestionSendin Emails !!! Pin
mrkeivan13-Sep-07 7:29
mrkeivan13-Sep-07 7:29 
AnswerRe: Sendin Emails !!! Pin
hsesoldi3-Sep-08 4:05
hsesoldi3-Sep-08 4:05 
QuestionRepeater and datagrid Pin
cbm13-Sep-07 6:02
cbm13-Sep-07 6:02 
AnswerRe: Repeater and datagrid Pin
eggsovereasy13-Sep-07 9:51
eggsovereasy13-Sep-07 9: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.