zaki100
asked on
Convert Command text to stored procedure in asp.net c#
Hello,
I want the following code in asp.net c# to be changed to use stored procedure with two parameters instead of command text.
Thanks
Zaki
I want the following code in asp.net c# to be changed to use stored procedure with two parameters instead of command text.
conReport.Open();
cmdReport.CommandType = CommandType.Text;
cmdReport.Connection = conReport;
cmdReport.CommandText = "Select * FROM mytable";
drReport = cmdReport.ExecuteReader();
dsReport.Tables[0].Load(drReport);
drReport.Close();
conReport.Close();
Thanks
Zaki
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.