i have many label control..the label control is showing the data that comes from the database.(booking.aspx)
before this page..i have a page whereby when the link is click (posting.aspx)...this page(booking.aspx) will be display the information that comes from the databse..
As per my understanding you want to show the details of what you are choosing from posting.aspx page. If so you can pass a unique identifier of the record as query string and in booking page you can pull data from db for that particular id and display the
details in a grid or details view according to the structure of data.
its a kind of data store similar to database, but smaller when compared to database...
adura
before this page..i have a page whereby when the link is click (posting.aspx)...this page(booking.aspx) will be display the information that comes from the databse..
use Database only, dont go for Xml...Xml is typically used to expose data from database to thrid party applications using Web Services...
adura
Member
133 Points
105 Posts
xml file
Mar 17, 2012 04:17 PM|LINK
hello guys..
i wanna ask..what is xml file is for?..
and..
i have many label control..the label control is showing the data that comes from the database.(booking.aspx)
before this page..i have a page whereby when the link is click (posting.aspx)...this page(booking.aspx) will be display the information that comes from the databse..
do i need to put in xml file?
how can i do it?
hope u guys give info to me
Bimalvv
Contributor
2356 Points
478 Posts
Re: xml file
Mar 17, 2012 04:49 PM|LINK
XML file is mainly used for data storage and data transfer. Please see this link for more info http://www.w3schools.com/xml/xml_usedfor.asp
As per my understanding you want to show the details of what you are choosing from posting.aspx page. If so you can pass a unique identifier of the record as query string and in booking page you can pull data from db for that particular id and display the details in a grid or details view according to the structure of data.
Bimal
adura
Member
133 Points
105 Posts
Re: xml file
Mar 17, 2012 04:54 PM|LINK
to bimalvv..
can u give me the sampel code?..so that i can more understand the code
adura
Member
133 Points
105 Posts
Re: xml file
Mar 17, 2012 05:02 PM|LINK
and also .i'm using store procedure
Bimalvv
Contributor
2356 Points
478 Posts
Re: xml file
Mar 17, 2012 05:06 PM|LINK
Please see this post. This is also doing similar thing http://forums.asp.net/t/1778939.aspx/1?How+to+do+Most+Viewed+items+or+popular+article+
Please let me know if you have any questions.
Bimal
ramiramilu
All-Star
95399 Points
14099 Posts
Re: xml file
Mar 18, 2012 11:14 AM|LINK
its a kind of data store similar to database, but smaller when compared to database...
use Database only, dont go for Xml...Xml is typically used to expose data from database to thrid party applications using Web Services...
Thanks,
JumpStart
adura
Member
133 Points
105 Posts
Re: xml file
Mar 19, 2012 02:50 AM|LINK
HI..
anyone ..can help me..
i have TPKBookingEnquire.aspx that list the tour package in gridview..
the column title have a hyperlink in that gridview...
that link will direct to page TPKBooking.appx which has the details info about that package...that need to send the tour package id parameter
i try do a code..but cannot display the details info regarding that id that tour package id whenever i click the link title tour package...
please help me give the idea...