Hello,
i starting with programming Webparts for SharePoint in C# with Visual Studio. I want to get Items from a SharePoint List which are depend on a specific input from a user.
My List have a Name, E-Mail-Adress and Informations.
So i startet to create a TextBox (get_UserName) where a user kann Enter die Name for which person he want to get the information. When he click on the Button, i want to get informationen about the person in a label from the sharepoint list.
But i don't know how to get these information from the list. I like to have a statement like this for SharePoint
"Select * from List where name " + get_UserName
Can anybody help me to get information from a list and write them down in a label when a user click on the button?
Another problem is, that i want to get a status during my coding. So i write down System.diagnostics.Debug("Test"); but i cannot see anything on the visual basic output window. Anybody have a solution for this problem? I tested the debug modus and normal but i never see anything when i deploy the webpart....