View Complete Post
I'm not sure how to structure the code for this but what I want to do is be able to add data to a database, and once this has completed successfully, then email the user to say the details have been added successfully to the database.
I need to:
1. Check that the relevant data has been added into the database then
2. Email the details of the relevant data when completed.
Thanks in advance for your help,
Is there a membership function to search a username Like this: LIKE '%UserName%' ?
This is not working.
MembershipUser User = Membership.GetUser("%" + TextBox1.Text + "%");Thank you.
I have set up a mysql connection in visual studio 2010 and now i have a connection and dont really know where to go next.
I want to be able to search the data and get the result in a view.
using asp.net mvc
actually i came across this senario for new project where userstatus must change to log off when ever he do fallowing activity.I have maintain user status when he log in to web based system.
1.user click log off
2.or user click browser close button or close brwoser tab.
3.or Fource fully shut down his Pc
I am able to get first 2 but not the last one.I googled it but not get any satified ans for that.
I m looking for guidens for this. Any help is grate help for me as i want it.And also other suggesstion also welcomed.
thanks in advance
I have created a custom user property,and created metadata property and added mapping to it, still i m not able to Search in People,Please advise
I have created an InfoPath 2007 form. It works great.. I have 5 data connections to sharepoint lists and profile's database. The form displays public data (profile database) about the user, such as name, manager.. etc.
What I would like to do is have an option on the form that says " If you are not this person , click here" , manually type the persons last name , and bring up their information.
Basically , there are some people who will have someone else fill the form out for them. But I don't want them to be giving out their username and password to the system.
I want the ability to fill out a form as another user without logging off sharepoint.
i'm using sql server 2005, sql server business intelligence development studio for my reports and deploy them in my wss3.0 site.
what i'm trying to do is i'm trying to restrict wich users can see specific data within a report.
now, the thing is. the report gets the data out of my DB1 database and my windows authenticated user are in the WSS_content database.
when i deploy my report in my wss3 site. it gets the user that is loged in. but of course it does not display any data because the tables are not in the same database.
does someone knows how to do this?
I had already setup roles for my pages and requirements call for ability to manage and create users.
So i was looking at code that allows you to do so using membership, even though i got the page to work, it was creating a database in my app_data folder.. i already have SQLExpress setup with the asp schema, but cant figure out how to get my application to use that instead of creating the db in the folder?
What am i missing or doing wrong?
I have the following setup in my web.config file..
<add name="SqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"