4
Answers

Can i control hardware using c# .net

Photo of Nikhil Fegade

Nikhil Fegade

7y
169
1
I got a project to control camera movement. Customer going to buy kit from south africa to control the movement of camera and asked me to code for kit.  I know only .net programming so can i do it in c#.net

Answers (4)

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..