Click here to Skip to main content
15,908,675 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: TextBox.text not showing in code behind Pin
Christian Graus20-May-08 14:29
protectorChristian Graus20-May-08 14:29 
GeneralRe: TextBox.text not showing in code behind Pin
DerekFL21-May-08 3:06
DerekFL21-May-08 3:06 
QuestionFile Uploading/Downloading problem. Pin
TheMajorRager20-May-08 10:25
TheMajorRager20-May-08 10:25 
AnswerRe: File Uploading/Downloading problem. Pin
Expert Coming20-May-08 10:36
Expert Coming20-May-08 10:36 
QuestionMessages in web.config Pin
Saba0220-May-08 8:35
Saba0220-May-08 8:35 
AnswerRe: Messages in web.config Pin
Expert Coming20-May-08 10:37
Expert Coming20-May-08 10:37 
AnswerRe: Messages in web.config Pin
keyboard warrior20-May-08 11:23
keyboard warrior20-May-08 11:23 
QuestionHiding Columns in Datagrids (C#) Pin
Chris Beres20-May-08 7:55
Chris Beres20-May-08 7:55 
Hey guys,

Using C#: To hide a column in my datagrid I'm using the code

grid1.Columns[4].Visible = false;

The column I am hiding is a bound column. Is there a smarter way to go about this rather than using an index number to hide the column since it will no doubt come back to bite me when I need to add/remove columns from my grid in the future.

Thanks for your help.

~Chris
AnswerRe: Hiding Columns in Datagrids (C#) Pin
keyboard warrior20-May-08 8:12
keyboard warrior20-May-08 8:12 
GeneralRe: Hiding Columns in Datagrids (C#) Pin
Chris Beres20-May-08 8:25
Chris Beres20-May-08 8:25 
GeneralRe: Hiding Columns in Datagrids (C#) Pin
keyboard warrior20-May-08 8:36
keyboard warrior20-May-08 8:36 
GeneralRe: Hiding Columns in Datagrids (C#) Pin
Chris Beres20-May-08 8:56
Chris Beres20-May-08 8:56 
GeneralRe: Hiding Columns in Datagrids (C#) Pin
keyboard warrior20-May-08 9:14
keyboard warrior20-May-08 9:14 
GeneralRe: Hiding Columns in Datagrids (C#) Pin
Chris Beres20-May-08 9:23
Chris Beres20-May-08 9:23 
GeneralRe: Hiding Columns in Datagrids (C#) Pin
keyboard warrior20-May-08 9:38
keyboard warrior20-May-08 9:38 
QuestionProblem with ASP.NET page submiting to other page using target method Pin
The8at20-May-08 7:14
The8at20-May-08 7:14 
Questionmodel security Pin
raquidd2220-May-08 6:10
raquidd2220-May-08 6:10 
AnswerRe: model security Pin
keyboard warrior20-May-08 7:47
keyboard warrior20-May-08 7:47 
QuestionDetailsView show the right ID from SQL Database Pin
Frozzare20-May-08 5:38
Frozzare20-May-08 5:38 
AnswerRe: DetailsView show the right ID from SQL Database Pin
keyboard warrior20-May-08 6:16
keyboard warrior20-May-08 6:16 
GeneralRe: DetailsView show the right ID from SQL Database Pin
Frozzare20-May-08 7:27
Frozzare20-May-08 7:27 
GeneralRe: DetailsView show the right ID from SQL Database Pin
keyboard warrior20-May-08 7:38
keyboard warrior20-May-08 7:38 
Questiondisabling a row in gridview Pin
Banjo Ayorinde20-May-08 5:25
Banjo Ayorinde20-May-08 5:25 
AnswerRe: disabling a row in gridview [modified] Pin
keyboard warrior20-May-08 5:47
keyboard warrior20-May-08 5:47 
QuestionReg Deploying web parts using STSADM.exe Pin
manikandanid20-May-08 3:44
manikandanid20-May-08 3:44 

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.