1
Answer

social networking website.. need reply soon

Photo of Dipa Ahuja

Dipa Ahuja

15y
3k
1

hello friends,


i have to make social networking website like orkut and facebook..'

 i want that username and password should be checked from aspdb and all other things profile,community,scraps etc should be from custom table(which i wl add to aspdb database)

d.JPG



is it possible? and to which table of aspdb i use to create relationship with other customized table(scraps,friends,community) etc

Answers (1)

0
Photo of Dharmraj Thakur
NA 4.1k 61.7k 7y
You have to show me your model and what type is returning from controller. For now you can try it using foreach loop.
  1. @foreach(var item in Model)  
  2. {  
  3.     if(item.Selected == "1")  
  4.     {  
  5.         //stuff          
  6.     }  

0
Photo of Altaf Ansari
NA 1.4k 27.4k 7y
Where you are defining "m" in
 
@if(m => m[i].Selected=="1") //errorline
 
Please define it first before using it..