Hi, yes, you have to run a loop for this. See an example here: http://www.ajaxpro.info/datagrid.aspx
Regards, Michael On 6/29/06, Guritfaq <[EMAIL PROTECTED]> wrote: > > > Hi Michael, > > > Thanks for your prompt and correct reply. We have another requrirement > as > we have to populate a datagrid from this dataview. Do we have to run a loop > for each record or can we easily bind datagrid with dataview in > Javascript( if possible plz give us a hint for the same ) . > > > Thanks and Regards > Guritfaq > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] > Behalf Of Michael Schwarz > Sent: Thursday, June 29, 2006 10:51 AM > To: [email protected] > Subject: [ajaxpro] Re: How to read DataView in javascript > > > > Hi, > > use: > > alert(objdata.Rows[i].Columname); > > Regards, > Michael > > On 6/29/06, Guritfaq <[EMAIL PROTECTED]> wrote: > > > > Thanks Albert for your prompt reply > > > > > > but i am actually using "objdata"and i used "states" for your > understanding > > as the in link u mailed "states" was used. > > > > my actual code is > > > > > > for (var i = 0; i < objdata.Rows.length; ++i) > > { > > alert(objdata.Rows[i].Columns[0]); > > } > > > > > > > > > > > > -----Original Message----- > > From: [email protected] [mailto:[EMAIL PROTECTED] > > Behalf Of Albert Weinert > > Sent: Wednesday, June 28, 2006 7:44 PM > > To: [email protected] > > Subject: [ajaxpro] Re: How to read DataView in javascript > > > > > > > > Albert Weinert schrieb: > > > > >> > > alert(states.Rows[i].Columns > > > > > > because your "states" object is named "objdata" > > > > And you should read the whole thread to the "Columns" thing. > > > > > > -- > > Freundliche Grüße > > > > Albert Weinert > > > > http://der-albert.com > > > > > > > > > > > > > > > > -- > Best regards | Schöne Grüße > Michael > > Microsoft MVP - Most Valuable Professional > Microsoft MCAD - Certified Application Developer > > http://weblogs.asp.net/mschwarz/ > http://www.schwarz-interactive.de/ > mailto:[EMAIL PROTECTED] > > > > > > > -- Best regards | Schöne Grüße Michael Microsoft MVP - Most Valuable Professional Microsoft MCAD - Certified Application Developer http://weblogs.asp.net/mschwarz/ http://www.schwarz-interactive.de/ mailto:[EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ajax.NET Professional" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/ajaxpro The latest downloads of Ajax.NET Professional can be found at http://www.ajaxpro.info -~----------~----~----~----~------~----~------~--~---
