Click here to Skip to main content
15,888,286 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to make Connection string in visual studio 2012 ? Pin
Farid khan kakar25-Jan-15 20:15
Farid khan kakar25-Jan-15 20:15 
AnswerRe: How to make Connection string in visual studio 2012 ? Pin
Kornfeld Eliyahu Peter25-Jan-15 21:56
professionalKornfeld Eliyahu Peter25-Jan-15 21:56 
AnswerRe: How to make Connection string in visual studio 2012 ? Pin
Simon_Whale25-Jan-15 22:09
Simon_Whale25-Jan-15 22:09 
AnswerRe: How to make Connection string in visual studio 2012 ? Pin
Member 1126431526-Jan-15 0:20
Member 1126431526-Jan-15 0:20 
AnswerRe: How to make Connection string in visual studio 2012 ? Pin
Member 1050600328-Jan-15 1:12
Member 1050600328-Jan-15 1:12 
QuestionThis operation requires IIS integrated pipeline mode Pin
Member 1139878823-Jan-15 21:08
Member 1139878823-Jan-15 21:08 
AnswerRe: This operation requires IIS integrated pipeline mode Pin
Kornfeld Eliyahu Peter25-Jan-15 21:55
professionalKornfeld Eliyahu Peter25-Jan-15 21:55 
Questionretrieving Date form SQL database using Stored Procedure and show the value in a Grid View in ASP.NET with MVC Pin
Member 1139327321-Jan-15 20:06
Member 1139327321-Jan-15 20:06 
i want to retrieve date from SQL database using c# [Stored Procedure] and show all the value of Database in a grid.i don't know how to call this procedure in view. this is my Controller code :-



namespace sp_insert.Controllers
{
public class EmployeDetailController : Controller
{
//
// GET: /EmployeDetail/

public ActionResult Index()
{
Employee Employee = new Employee();

return View("DisplayEmployee",Employee);
}

public ActionResult DisplayEmployee(Employee Employee)
{
SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["MyDatabaseConnectionString"].ConnectionString.ToString());
con.Open();
SqlCommand cmd = new SqlCommand("spEmpSelect",con);
cmd.CommandType = CommandType.StoredProcedure;
cmd.ExecuteReader();
return View("DisplayEmployee",Employee);
}
}
}
AnswerRe: retrieving Date form SQL database using Stored Procedure and show the value in a Grid View in ASP.NET with MVC Pin
Anurag Gandhi22-Jan-15 20:21
professionalAnurag Gandhi22-Jan-15 20:21 
GeneralRe: retrieving Date form SQL database using Stored Procedure and show the value in a Grid View in ASP.NET with MVC Pin
Member 1139327329-Jan-15 21:07
Member 1139327329-Jan-15 21:07 
QuestionOperations like Inser , Display ,Update ,and Delete on Database in asp.net with MVC using StoredProcedure Example??? Pin
Member 1139327321-Jan-15 19:42
Member 1139327321-Jan-15 19:42 
AnswerRe: Operations like Inser , Display ,Update ,and Delete on Database in asp.net with MVC using StoredProcedure Example??? Pin
Anurag Gandhi22-Jan-15 20:24
professionalAnurag Gandhi22-Jan-15 20:24 
Questionretrieving Date form SQL database and show the value on a Label in ASP.NET Pin
Member 1050484921-Jan-15 8:39
Member 1050484921-Jan-15 8:39 
AnswerRe: retrieving Date form SQL database and show the value on a Label in ASP.NET Pin
Wendelius21-Jan-15 8:57
mentorWendelius21-Jan-15 8:57 
QuestionHow can you programmatically control scrolling in a grid on a web page Pin
Member 1139198521-Jan-15 5:49
Member 1139198521-Jan-15 5:49 
AnswerRe: How can you programmatically control scrolling in a grid on a web page Pin
jkirkerx21-Jan-15 9:11
professionaljkirkerx21-Jan-15 9:11 
GeneralRe: How can you programmatically control scrolling in a grid on a web page Pin
Member 1139198521-Jan-15 9:15
Member 1139198521-Jan-15 9:15 
GeneralRe: How can you programmatically control scrolling in a grid on a web page Pin
jkirkerx21-Jan-15 13:19
professionaljkirkerx21-Jan-15 13:19 
QuestionCreate a folder on client machine from asp.net web application. Pin
Vishwaeet21-Jan-15 0:40
Vishwaeet21-Jan-15 0:40 
GeneralRe: Create a folder on client machine from asp.net web application. Pin
Kornfeld Eliyahu Peter21-Jan-15 0:42
professionalKornfeld Eliyahu Peter21-Jan-15 0:42 
GeneralRe: Create a folder on client machine from asp.net web application. Pin
OriginalGriff21-Jan-15 1:20
mveOriginalGriff21-Jan-15 1:20 
GeneralRe: Create a folder on client machine from asp.net web application. Pin
dandy7221-Jan-15 4:14
dandy7221-Jan-15 4:14 
GeneralRe: Create a folder on client machine from asp.net web application. Pin
Mark_Wallace21-Jan-15 5:07
Mark_Wallace21-Jan-15 5:07 
GeneralRe: Create a folder on client machine from asp.net web application. Pin
dandy7221-Jan-15 6:13
dandy7221-Jan-15 6:13 
GeneralRe: Create a folder on client machine from asp.net web application. Pin
Mark_Wallace21-Jan-15 7:25
Mark_Wallace21-Jan-15 7:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.