TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Prasad Bhagat
NA
516
235.4k
search in mvc ?
Jan 18 2016 10:12 PM
Dear all,
i have one stored procedure for bind the values to dropdown ,
CREATE PROCEDURE [dbo].[GetDevices]
AS
BEGIN
SELECT DeviceID, Name, Description, CreatedDate FROM dbo.DevicesMaster
END
this is for bind the device id to my dropdown ,
and
other one
CREATE PROCEDURE [dbo].[GetDevicesData]
@DeviceId nvarchar(20),
@Rcvdate date
AS
BEGIN
SELECT Deviceid, RcvDate, Voltage1, Voltage2, Voltage3, Voltage4, Voltage5, Voltage6, Voltage7
FROM dbo.TemperatureSensorData
WHERE Deviceid = @DeviceId
AND Rcvdate = @Rcvdate
END
this is for search with two parameters ,
after entering the two values need to press search button ,then bind the data to datagrid,
so please help me how can ii do this in mvc without entity freamework
Reply
Answers (
3
)
after dropdown selection fill the datagrid in mvc?
Login Id in Textbox