Click here to Skip to main content
15,885,435 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionPassing an ID to an external .js file Pin
dwolver1-Jun-09 4:44
dwolver1-Jun-09 4:44 
AnswerRe: Passing an ID to an external .js file Pin
RajeevKumarSharma1-Jun-09 23:19
RajeevKumarSharma1-Jun-09 23:19 
QuestionGridview in ASP.Net with C# [modified] Pin
mahichandu1-Jun-09 4:18
mahichandu1-Jun-09 4:18 
AnswerRe: Gridview in ASP.Net with C# Pin
Ibrahim Bello1-Jun-09 9:24
Ibrahim Bello1-Jun-09 9:24 
QuestionRe: Gridview in ASP.Net with C# Pin
mahichandu1-Jun-09 9:40
mahichandu1-Jun-09 9:40 
AnswerRe: Gridview in ASP.Net with C# Pin
Ibrahim Bello1-Jun-09 22:04
Ibrahim Bello1-Jun-09 22:04 
QuestionRe: Gridview in ASP.Net with C# Pin
mahichandu2-Jun-09 6:36
mahichandu2-Jun-09 6:36 
AnswerRe: Gridview in ASP.Net with C# Pin
Ibrahim Bello2-Jun-09 7:03
Ibrahim Bello2-Jun-09 7:03 
If what you want to do is to delete a column from the underlying database table I'm not sure I can help you on that.

If what you want h/ever is to simply hide the column from the GridView this should work otherwise you can replace GridView1.Columns.Remove(GridView1.Columns[i]); with GridView1.Column[i].Visible = false;

I've tested the previous code and it worked.

Why not post more code for us to see where you're getting it wrong?
QuestionRe: Gridview in ASP.Net with C# Pin
mahichandu2-Jun-09 7:19
mahichandu2-Jun-09 7:19 
AnswerRe: Gridview in ASP.Net with C# Pin
Ibrahim Bello2-Jun-09 7:31
Ibrahim Bello2-Jun-09 7:31 
QuestionRe: Gridview in ASP.Net with C# Pin
mahichandu2-Jun-09 7:48
mahichandu2-Jun-09 7:48 
AnswerRe: Gridview in ASP.Net with C# Pin
Ibrahim Bello2-Jun-09 8:09
Ibrahim Bello2-Jun-09 8:09 
AnswerRe: Gridview in ASP.Net with C# Pin
Ibrahim Bello3-Jun-09 22:08
Ibrahim Bello3-Jun-09 22:08 
QuestionUnable to connect to SQL Server database. Pin
Koss_G1-Jun-09 4:01
Koss_G1-Jun-09 4:01 
AnswerRe: Unable to connect to SQL Server database. Pin
Herman<T>.Instance2-Jun-09 21:54
Herman<T>.Instance2-Jun-09 21:54 
QuestionHidden Field problem Pin
ais071-Jun-09 3:58
ais071-Jun-09 3:58 
AnswerRe: Hidden Field problem Pin
l.laxmikant1-Jun-09 4:33
l.laxmikant1-Jun-09 4:33 
GeneralRe: Hidden Field problem Pin
Not Active1-Jun-09 7:50
mentorNot Active1-Jun-09 7:50 
QuestionImplementing article reading/writing (ASP.NET) Pin
Hristiyan1-Jun-09 3:57
Hristiyan1-Jun-09 3:57 
QuestionOpen Url like http://noida.saamstesting.com Pin
.NET- India 1-Jun-09 2:33
.NET- India 1-Jun-09 2:33 
AnswerRe: Open Url like http://noida.saamstesting.com Pin
Ramesh Swaminathan1-Jun-09 2:51
Ramesh Swaminathan1-Jun-09 2:51 
Questionbutton click event fires without code Pin
Kissy161-Jun-09 2:07
Kissy161-Jun-09 2:07 
AnswerRe: button click event fires without code Pin
Not Active1-Jun-09 2:30
mentorNot Active1-Jun-09 2:30 
Answer[Message Deleted] Pin
Ramesh Swaminathan1-Jun-09 2:46
Ramesh Swaminathan1-Jun-09 2:46 
GeneralRe: button click event fires without code Pin
Not Active1-Jun-09 3:17
mentorNot Active1-Jun-09 3:17 

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.