204 Topics
| |
I want to save an image from my computer to my project. c:\\image1.jpg to MyWebProject image folder. how can I do it? | |
Hello. I have a SQL database called bd with a table called dados. I want to get one row from it. Web.config <add connectionString="Data Source=(local);Initial Catalog=bd;Integrated Security=True" name="bd" providerName="System.Data.SqlClient"/> variable declarations Dim DS As New bd Dim a1row As bd.dadosRow this code in the method won't return anything. In fact … | |
Hello guys! I need advice. So I'm working on a Reservation feature of a system. I have created a DAO's for Customer, Employee, and CustomerInquiries. I will explain to you how this works first. The customer creates a "customer inquiry" on the company website to inquire about rental of buses. … | |
Hello. I right-clicked on a a view (Views/input/index.vbhtml) and chose "set as start page". But it always gave me an error on the browser (The resource cannot be found.) I have to manually enter the url localhost:xxxxx/input/index for it to work. I've already checked routeconfig.vb and it's ok routes.MapRoute( name:="Default", … | |
Hi. I have to do a MVC project and I don't know exactly how to do it. on the clientside I will have an input form the data (at least two codes and up to 8) will be sent to the server (best way?) then the server will access a … | |
This may appear as child problem but i have confusion about this When we document Root what this means?? I am creating directory strucure for framework eg this is directory structure from code tutsplus `----public Document root where public files are accessed -css -images -content -js ------ Resources -library -template … | |
| What is the best practice for including JQuery in Codeigniter? I've tried including the following line in my controller code: $this->load->library('javascipt/jquery'); But, when the page loads, I get > Unable to load the requested class: Jquery My setup is using xampp, CodeIgniter folder "CI" is located in /htcdocs/ci/. Thanks in … |
Hi, thanks for viewing this thread. How to call MVC controller action method from ASP.NET webform and pass few parameter to the MVC? I have found this solution: http://www.codeproject.com/Articles/37539/Redirect-and-POST-in-ASP-NET and would like to know whether is there any other ways to do it. Just like to explore other solutions. | |
hello daniwebers... I am really stuck with this design of tables for calendar. Here is the thing...there are employees in a specific company. Each employee accepts customers of the company per day. The number of customers is limited by the doctor on a day by day basis. So for e.g. … | |
I have followed all the tutorials, but still I have a problem that I can't get an object from a form to the controller using Spring MVC. What might be the case? I am using Thymeleaf to format my jsp pages. <!DOCTYPE HTML> <html xmlns:th="http://www.thymeleaf.org"> <head> <title>Getting Started: Handing Form … | |
I have followed all the tutorials, but still I have a problem that I can't get an object from a form to the controller using Spring MVC. What might be the case? I am using Thymeleaf to format my jsp pages. <!DOCTYPE HTML> <html xmlns:th="http://www.thymeleaf.org"> <head> <title>Getting Started: Handing Form … | |
Hi there so i was just wondering how i would go about developing some sort of page to display whether or not a module has been loaded or not, is there some simple way to do this that can scan your web app on launch and then report if a … | |
How to use two models in a view using Tuple and view model and what is there diffences? | |
I have 1 gridview with big table...colums:k,mi,ib and 3 textbox...texbox1 is first column,textbox2 is second and textbox3 is third! I want when i type some number in textbox1(That number is K),i want to textbox2 and textbox3 give me value of mi and ib in same row as k...but i got … | |
Action link in my nav menu <li>@Html.ActionLink("Log Off", "Logout", "Account")</li> My Logout.cshtml codes. @{ ViewBag.Title = "Log Out"; Session.Clear(); FormsAuthentication.SignOut(); Response.Redirect("~/../Home/Index.cshtml"); } Why I can't access my logout form? | |
i have following code @model EMS1.Models.UsersViewModel @{ ViewBag.Title = "List of users"; var grid = new WebGrid(source: Model.users, canPage: true, rowsPerPage: 10); grid.Pager(WebGridPagerModes.All); } @{ ViewBag.Title = "IndexViewModel"; } <script src="@Url.Content("~/Scripts/jquery-1.6.1.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.validate.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")" type="text/javascript"></script> <h2>Grid</h2> <style type="text/css"> .table { margin: 4px; border-collapse: collapse; width: 300px; } … | |
Can anyone give me an example to use authentication and authotization in MVC and C#? | |
[Autorize] I want to set the page if the user is not currently login in MVC. How can I do it? I want to set it in "User/Login" | |
I want to insert from product (id, name, price). How can I insert it using mvc[c#], mssql manually. | |
Here's my product table. [id, name, price, description, unit] For example. I want to edit only the name and description. How can I do it in mvc? | |
i have two controller customer and order in mvc Application ..I wnat to show customer in drop down list in order controller when click on order create ..or click on following url .http://localhost:1957/order/Create any help .. | |
| Anybody using L5 yet? Just got to grips with 4.2 and thought I had it cracked. L5 was a shock. The "simplicity" of 4.2 has disappeared IMO. The documentation sucks too. But I don't want to be a hater. Am I missing out on rolling back to 4.2? I've read … |
A method in the **controller.php** file public function invoke() { if (isset($_GET['book'])) { // show the requested book $book = $this->model->getBook($_GET['book']); include 'view/viewbook.php'; } else if(isset($_GET['add_book_form'])) { $action = $_GET['add_book_form']; include 'view/add_book.php'; } else if(isset($_GET['add_book'])) { $title = $_POST['title']; $author = $_POST['author']; $description = $_POST['description']; $this->model->addBook($title, $author, $description); include("view/add_book.php"); } … | |
I have an OpenVZ unmanaged VPS. Installed the control panel, LAMP stack, have the DNS and domains on the new nameservers(showing up if you go to the domains) But when i run a pingdom check i have an SOA error. Was reading that it is probably a reverse DNS issue...What … | |
Hi i have crate an Partial view with name "_Menu" it's view items as menu and sub menu in my website _Menu Partial view Code: @model IEnumerable<MainCats> @using GoShope.Models.GoShopeDB; @{ IList<MainCats> mainList = Model.Where(id => id.IsCompany == true).ToList(); } <div class="panel-group category-products" id="accordian"> <div class="panel panel-default"> @foreach (var item in … | |
I am new to vs2012.I am trying to run MVC3 tutorial to experience the working of vs2012. I have ran thesame tutorial on vs2010 successfully and inserted new record. Now I want to run thesame tutorial on vs2012. On both cases, i am using sqlserver management studio and entity framework(dotnet … | |
I'm trying to create an ASP .NET MVC WebSite that allows the user to enter the website without providing any additional information or by specifying an id or a name. Is this possible? How? I've tried the following method but it's not working public void Index() { //... ProcessClient(); } … | |
Hello All, I have searched every forum and google etc but nothing directed me in right path. Requirement: I am using a COM object which can be initialized only once. But, when I try with webapi the first run goes fine and the rest fails as the COM object does … | |
I want to show record of one row in multiple rows of webgrid. How can i achieve this. View @grid.GetHtml( tableStyle: "grid", headerStyle: "head", alternatingRowStyle: "alt", columns: grid.Columns( grid.Column("vehicleType","Type"), grid.Column("make", " Make"), grid.Column("modelType", "Model"), grid.Column("color", "Color"), grid.Column("registartion", "Registartion"), grid.Column( header: "Action", format: @<text> <a href="DeleteVehicle#" id="deleteLink" onclick="DeleteVehicle">Delete</a></text>) ) ) instead … | |
I have Book of ASP.net 4.0 2010 by kogent learning solution ........... this Book is very large to study ... i just want to know to learn important section of book.. because i have 1 to 2 month to apply for job .... this book is very big i think … |
The End.