Click here to Skip to main content
16,005,734 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Display blob data Pin
Guffa21-Jun-07 18:18
Guffa21-Jun-07 18:18 
AnswerRe: Display blob data Pin
ASPnoob21-Jun-07 19:02
ASPnoob21-Jun-07 19:02 
QuestiondropAssigned.SelectedValue. Pin
isaii21-Jun-07 16:34
isaii21-Jun-07 16:34 
AnswerRe: dropAssigned.SelectedValue. Pin
RepliCrux21-Jun-07 17:31
RepliCrux21-Jun-07 17:31 
QuestionActivex Object Pin
dhatchu21-Jun-07 16:25
dhatchu21-Jun-07 16:25 
AnswerRe: Activex Object Pin
Christian Graus21-Jun-07 17:43
protectorChristian Graus21-Jun-07 17:43 
QuestionGridView Column Invisible Pin
seemamltn21-Jun-07 14:53
seemamltn21-Jun-07 14:53 
AnswerRe: GridView Column Invisible Pin
RepliCrux21-Jun-07 16:09
RepliCrux21-Jun-07 16:09 
Hi,

When you add grid view, to bind it to datasource, the best practice is below:

Click on the property builder (the little black arrow comes up when you click on GridView):

-->Add New Column:
-->Choose field type = bound Field
-->HeaderText = your choice
-->DataField = "The name of the column in your datatable.

Now go to GridView property:

AutogenerateColumns = False

Doing the above you won't have to hide any columns, you will see what you have decided. If you are worrying about the primary key, set that in the "DataKeysNames":
DaatKeysnames = (ColumnName from your DataTable) "PrimaryKeyColumnName"

Hope that will solve your problem.
Cheers.
QuestionDate Time..... Pin
moomoooomoo21-Jun-07 14:25
moomoooomoo21-Jun-07 14:25 
AnswerRe: Date Time..... Pin
Christian Graus21-Jun-07 17:45
protectorChristian Graus21-Jun-07 17:45 
AnswerRe: Date Time..... Pin
Guffa21-Jun-07 17:59
Guffa21-Jun-07 17:59 
Questiongetting fields values of DetailsView control Pin
Farhad Eft21-Jun-07 12:51
Farhad Eft21-Jun-07 12:51 
AnswerRe: getting fields values of DetailsView control Pin
Farhad Eft22-Jun-07 4:14
Farhad Eft22-Jun-07 4:14 
QuestionError: The virtual path '/includes/utils/StateDropDown.ascx' maps to another application, which is not allowed. [modified] Pin
Mark J. Miller21-Jun-07 11:26
Mark J. Miller21-Jun-07 11:26 
AnswerRe: Error: The virtual path '/includes/utils/StateDropDown.ascx' maps to another application, which is not allowed. Pin
Christian Graus21-Jun-07 12:58
protectorChristian Graus21-Jun-07 12:58 
QuestionGridView Pin
seemamltn21-Jun-07 11:01
seemamltn21-Jun-07 11:01 
AnswerRe: GridView Pin
sidbaruah25-Jun-07 2:07
sidbaruah25-Jun-07 2:07 
QuestionSyntax Error Pin
seemamltn21-Jun-07 10:08
seemamltn21-Jun-07 10:08 
AnswerRe: Syntax Error Pin
Tarakeshwar Reddy21-Jun-07 10:16
professionalTarakeshwar Reddy21-Jun-07 10:16 
AnswerRe: Syntax Error Pin
Guffa21-Jun-07 14:09
Guffa21-Jun-07 14:09 
QuestionDateTime Pin
seemamltn21-Jun-07 8:43
seemamltn21-Jun-07 8:43 
AnswerRe: DateTime Pin
Tarakeshwar Reddy21-Jun-07 10:14
professionalTarakeshwar Reddy21-Jun-07 10:14 
Question"Back" button in Internet explorer does not change radiobutton selection. Pin
ny71121-Jun-07 8:27
ny71121-Jun-07 8:27 
QuestionEnter key association with multiple textboxes Pin
InvalidTypecast21-Jun-07 7:00
InvalidTypecast21-Jun-07 7:00 
AnswerRe: Enter key association with multiple textboxes Pin
PrakashBhaskar21-Jun-07 18:57
PrakashBhaskar21-Jun-07 18:57 

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.