Click here to Skip to main content
15,041,025 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionWriting Validation summary message from Client side script Pin
snir_ya29-Mar-07 6:32
Membersnir_ya29-Mar-07 6:32 
AnswerRe: Writing Validation summary message from Client side script Pin
Vasudevan Deepak Kumar29-Mar-07 6:45
MemberVasudevan Deepak Kumar29-Mar-07 6:45 
QuestionRe: Writing Validation summary message from Client side script Pin
snir_ya29-Mar-07 7:01
Membersnir_ya29-Mar-07 7:01 
GeneralRe: Writing Validation summary message from Client side script Pin
snir_ya29-Mar-07 7:48
Membersnir_ya29-Mar-07 7:48 
AnswerRe: Writing Validation summary message from Client side script Pin
Kunal P29-Mar-07 21:44
MemberKunal P29-Mar-07 21:44 
QuestionUsing for loops within aspx? Pin
muppet00729-Mar-07 6:26
Membermuppet00729-Mar-07 6:26 
AnswerRe: Using for loops within aspx? Pin
kubben29-Mar-07 6:40
Memberkubben29-Mar-07 6:40 
GeneralRe: Using for loops within aspx? Pin
muppet00729-Mar-07 6:52
Membermuppet00729-Mar-07 6:52 
If I understand correctly Page.Bind is just like calling DataBind on every control.

There's no problem with the data source here, or data binding, it's all working fine.. I'd just like to have a for loop that goes through the row and replaces the last character in the field name with the one from the variable.

Rather than doing this:
<%# DataBinder.Eval(Container.DataItem, "somefield_a_1")%><%# DataBinder.Eval(Container.DataItem, "somefield_b_1")%><%# DataBinder.Eval(Container.DataItem, "somefield_c_1")%><%# DataBinder.Eval(Container.DataItem, "somefield_a_2")%><%# DataBinder.Eval(Container.DataItem, "somefield_b_2")%><%# DataBinder.Eval(Container.DataItem, "somefield_c_2")%><%# DataBinder.Eval(Container.DataItem, "somefield_a_3")%><%# DataBinder.Eval(Container.DataItem, "somefield_b_3")%><%# DataBinder.Eval(Container.DataItem, "somefield_c_3")%>etc.. you get the picture.. Smile | :)
GeneralRe: Using for loops within aspx? Pin
kubben29-Mar-07 7:20
Memberkubben29-Mar-07 7:20 
AnswerRe: Using for loops within aspx? Pin
Not Active29-Mar-07 7:04
mentorNot Active29-Mar-07 7:04 
Questioninserting listbox item into databse Pin
Kunal P29-Mar-07 5:43
MemberKunal P29-Mar-07 5:43 
AnswerRe: inserting listbox item into databse Pin
Not Active29-Mar-07 5:52
mentorNot Active29-Mar-07 5:52 
GeneralRe: inserting listbox item into databse Pin
Kunal P29-Mar-07 5:55
MemberKunal P29-Mar-07 5:55 
GeneralRe: inserting listbox item into databse Pin
Not Active29-Mar-07 6:08
mentorNot Active29-Mar-07 6:08 
GeneralRe: inserting listbox item into databse Pin
Kunal P29-Mar-07 6:11
MemberKunal P29-Mar-07 6:11 
QuestionServer Error in '/aspx' Application. Pin
nothingbutcat29-Mar-07 5:04
Membernothingbutcat29-Mar-07 5:04 
AnswerRe: Server Error in '/aspx' Application. Pin
Paddy Boyd29-Mar-07 5:09
MemberPaddy Boyd29-Mar-07 5:09 
GeneralRe: Server Error in '/aspx' Application. Pin
nothingbutcat29-Mar-07 5:29
Membernothingbutcat29-Mar-07 5:29 
GeneralRe: Server Error in '/aspx' Application. Pin
Paddy Boyd29-Mar-07 5:31
MemberPaddy Boyd29-Mar-07 5:31 
GeneralRe: Server Error in '/aspx' Application. Pin
Not Active29-Mar-07 5:45
mentorNot Active29-Mar-07 5:45 
GeneralRe: Server Error in '/aspx' Application. Pin
Paddy Boyd29-Mar-07 5:49
MemberPaddy Boyd29-Mar-07 5:49 
AnswerRe: Server Error in '/aspx' Application. Pin
Not Active29-Mar-07 5:49
mentorNot Active29-Mar-07 5:49 
GeneralRe: Server Error in '/aspx' Application. Pin
nothingbutcat29-Mar-07 6:50
Membernothingbutcat29-Mar-07 6:50 
QuestionAjax control doesn't work in Firefox and other computers? Pin
Abubakarsb29-Mar-07 4:49
MemberAbubakarsb29-Mar-07 4:49 
QuestionSSL ERROR Pin
lajith29-Mar-07 3:05
Memberlajith29-Mar-07 3:05 

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.