Last post Oct 01, 2008 09:05 AM by arungp
Sep 08, 2008 08:03 AM|arungp|LINK
Is there any method I can use to filter a Data Form webpart (Data View) based on a
I have seen Query String, Server, form, cookie, control types of variables in parameter source. I couldn't find
Sep 16, 2008 02:43 AM|suresh@net|LINK
It is possible by having session parameter..You have to add '<asp:SessionParamater>' in <SelectParameter> with the name and session Field .
Syntax : <asp:SessionParameter Name="Name" SessionField="SessField">
For Example , If you are trying to display some values from one table based on the Login Id means,
In select Command,
SelectCommand ="select * from exmaple where userid = @LogID"
and add the following command in select parammeter...
<asp:SessionParameter Name="LogID" SessionField="LoginId">
LoginId - is session value..
i described this according to my knowledge..
Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.
Sep 24, 2008 03:10 PMfirstname.lastname@example.org|LINK
The top post of this forum, under Announcements and FAQs, gives you your answer.
Oct 01, 2008 09:05 AM|arungp|LINK
Thanks for the reply and I admit that my mistake to post in the forum. I was asking about SharePoint's Data Form Webpart.