Hi Guys
In my view there is Four text box
SID
StudentName
Address
PhoneNumber
I should implement Two Buttons
1)Save
2)Next Buttons
If i click Save the record should be updated
If I click Next Button It should fetch next record from database and should be displayed
How to implement this Can anyone help me in code Please
Bharath PeggemPosted Sep 30, 2015, 9:03 AM
abhi lashPosted Sep 30, 2015, 8:55 AM
Bharath PeggemPosted Sep 30, 2015, 8:52 AM
try this one
where std.id == getid
select new{std.id,std.name};
foreach (Student sted in result)
}
abhi lashPosted Sep 30, 2015, 8:48 AM
abhi lashPosted Sep 30, 2015, 8:31 AM
Bharath PeggemPosted Sep 30, 2015, 8:30 AM
var result = from std in db.Student
where std.id == getid
select new{std.id,std.name};
foreach (Student sted in result)
}
abhi lashPosted Sep 30, 2015, 8:11 AM
abhi lashPosted Sep 30, 2015, 8:06 AM
abhi lashPosted Sep 30, 2015, 8:06 AM
Bharath PeggemPosted Sep 30, 2015, 7:59 AM
abhi lashPosted Sep 30, 2015, 7:55 AM
Bharath PeggemPosted Sep 30, 2015, 7:49 AM
abhi lashPosted Sep 30, 2015, 7:40 AM
Bharath PeggemPosted Sep 30, 2015, 7:20 AM
abhi lashPosted Sep 30, 2015, 6:52 AM
Edit
Student
abhi lashPosted Sep 30, 2015, 6:46 AM
Bharath PeggemPosted Sep 30, 2015, 6:32 AM
abhi lashPosted Sep 30, 2015, 6:09 AM
abhi lashPosted Sep 30, 2015, 6:09 AM
Bharath PeggemPosted Sep 30, 2015, 5:54 AM
abhi lashPosted Sep 30, 2015, 5:48 AM
Bharath PeggemPosted Sep 30, 2015, 5:46 AM
Bhushan BhasmePosted Sep 30, 2015, 5:40 AM
abhi lashPosted Sep 30, 2015, 5:20 AM
Bharath PeggemPosted Sep 30, 2015, 4:23 AM
abhi lashPosted Sep 30, 2015, 3:44 AM
Bharath PeggemPosted Sep 30, 2015, 3:41 AM
abhi lashPosted Sep 30, 2015, 3:33 AM
Bharath PeggemPosted Sep 30, 2015, 3:29 AM
abhi lashPosted Sep 30, 2015, 3:07 AM
abhi lashPosted Sep 30, 2015, 3:07 AM
Bharath PeggemPosted Sep 30, 2015, 3:04 AM
abhi lashPosted Sep 30, 2015, 2:35 AM
abhi lashPosted Sep 30, 2015, 2:31 AM
abhi lashPosted Sep 30, 2015, 2:04 AM
abhi lashPosted Sep 30, 2015, 1:57 AM
Bharath PeggemPosted Sep 30, 2015, 1:40 AM
Manas MohapatraPosted Sep 30, 2015, 1:25 AM