Questions tagged [databind]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
153 views

bind dropdown data from sharepoint list and display based on certain value

I have a SharePoint list with field Country and employee. it has 10 records. values of the country are US (for 5 records) and the UK (for 5 records). I am binding employee value into dropdown and used ...
0
votes
0answers
14 views

populate thetextbox based on drodpwn selection, value is coming from list [duplicate]

I have a sharepoint list employee with column first and second. First has a value ( A,B,C,D) and second has value (1,2,3,4) respectively. first = drodpwn second = textbox i need that when i select "A" ...
4
votes
1answer
768 views

Run JS link file on just 1 web part

I have a page with 2 web parts. the 2 web parts are the same list just imported in different views. i have added a JS link file to 1 of the web parts using the edit web part properties miscellaneous ...
1
vote
1answer
624 views

Getting items from list with Knockout

I'm trying to get items from a list usin REST and knockout and this is my code <html lang="en-US"> <head> <meta charset="UTF-8"> </head> <script src="http://ajax.aspnetcdn....
1
vote
1answer
31 views

SharePoint 2010 : rebind each loop in listview

Is there a way to rebind each loop in listview for a SharePoint web part ? because I have a foreach loop, and my listview binds all the iterations but delete and show the last iteration I have a ...
1
vote
1answer
142 views

Sharepoint 2010 - bind listview error message :Object reference not set to an instance of an object

I have an application page which retieve data from a stored procedure, my page give me the desired result but I discovrer in log table that this page have an error System.NullReferenceException: ...
0
votes
1answer
1k views

C# Bind SQL Server Table in Sharepoint List

I want to copy sql server table in sharepoint 2010list, I know that Business Data Connectivity Service (BDC) might do it, but I have some problems and it doesn't work, so I want to do it ...
0
votes
0answers
509 views

Gridview Databinding method in sharepoint

I know I have done something wrong so I need some suggestion about writing the below code. protected void Page_Load(object sender, EventArgs e) { SPWeb web = SPContext.Current.Web;...