Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

mpavas

@mpavas
About
Posts
183
Topics
84
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • ASP.NET MCV
    M mpavas

    Hi, I am developing a solution using MVC frame work and now I see that I have top heavily depend on the HTML Helper class and I am not using any of the server objects. It takes lot more time to do any thing now wrt server controls. How can I introduce/use server controls with out breaking the MVC gudelines.

    Regards, Pavas

    ASP.NET asp-net csharp html sysadmin architecture

  • Passing data to multiple user controls
    M mpavas

    Hello, I have a controller class like below: public class CompanyController : Controller { public ActionResult Index() { ViewData["Message"] = "Company List"; ViewData["Company"] = CompanyDataContext.GetCompanyByCategory(1).AsEnumerable();//dataContext.Persons.ToList(); return View(ViewData["Company"]); } ... ... The view has the below code <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site2.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Review.Models.Company>>" %> <% foreach (var item in Model) { %> <% Html.RenderPartial("~/Views/Shared/List.ascx", item); %> <% } %> ... Now if I want another user control on the same view with with different data how can I do it? Like Below <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site2.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Review.Models.Company>>" %> Html.RenderPartial("~/Views/Shared/GetNames.ascx", item); %&gt; <% foreach (var item in Model) { %> <% Html.RenderPartial("~/Views/Shared/List.ascx", item); %> <% } %> ...

    Regards, Pavas

    ASP.NET question csharp html asp-net database

  • What is the impact of Obama's statement - Pay more tax on Outsourcing
    M mpavas

    I support one thing a government should look forward for there contry men and women. If they can'nt then throw the govt. US presedent is a very important person in the world and one statement could change the common men life by only statement and not by Action. I wonder what all these big developed contries, financial institutions where doing...We actually waste lot of resoruces on forcasting and none of us could save the world from recession. One of the person over here told did the company saved the money after outsourcing so I would say..if they haven't they would have not outsourced. Also no one think there is no skill labor in IT industry in US. I think most of the inovation still happens in United States This world is a very competative every one will go to a place where there will be a good price and low cost. Who wants to pay more for a job done.

    Regards, Pavas

    The Lounge question css business help

  • What is the impact of Obama's statement - Pay more tax on Outsourcing
    M mpavas

    Will imposing more tax on Outsourcing will help huge companies to save more tax? I believe the amount of money saved from tax will me much much less then the amount of money saved from outsourcing... Will Obama get support from Business loby?

    Regards, Pavas

    The Lounge question css business help

  • LINQ, ERM [modified]
    M mpavas

    Are there posts/blogs available which helps to understand when to use what?

    Regards, Pavas

    LINQ csharp database linq question

  • LINQ, ERM [modified]
    M mpavas

    Do we use ORM technologies in enterprise products? or we use standrard ADO.NET database operation.

    Regards, Pavas

    modified on Wednesday, May 6, 2009 3:12 PM

    LINQ csharp database linq question

  • ASP.NET MVC
    M mpavas

    Did some one have a say on this!

    Regards, Pavas

    ASP.NET csharp asp-net linq tools architecture

  • ASP.NET MVC
    M mpavas

    Is there an example where I can see how exactly ASP.NET MVC will work with traditional ADO.NET approch. I see all the example implemented with ORM tools like LINQ or ADO.NET Entity data model. All the ASP.NET MVC example use ADO.NET Entity data model. Please suggest.

    Regards, Pavas

    ASP.NET csharp asp-net linq tools architecture

  • Designing web site in VS 2008
    M mpavas

    I agree with you. But there should be some purpose of these ORM tools and hence was trying to explore them. Thanks for your response

    Regards, Pavas

    ASP.NET csharp asp-net visual-studio linq tools

  • Designing web site in VS 2008
    M mpavas

    Hello, I am trying to build a sample applicaion "address book". I have followed DAL, BLL and then the actual web page models till now. But now I am trying my hands on VS 2008. And noticed lot of different type of projects. Like MVC Template, Dynamic Data web applicaion and so on.. and there are various ORM tools also not a days available. How to identify which one should I use? If we use the ORM tools like NHYBERNATE, LINQ can we blow them up to be an enterprise applicaion?

    Regards, Pavas

    ASP.NET csharp asp-net visual-studio linq tools

  • OOAD Books
    M mpavas

    Hello, I am looking for a good book which explains how to identify objects from your requirements,how to map those objects into classes(Class diagrams) and then how to finally apply these class diagrams to create business methods using C#. I am not looking for design patterns. I am purely looking for OOAD. Please suggest me with good book.

    Regards, Pavas

    Design and Architecture business csharp design tutorial learning

  • Career Path ASP.NET, C# developer to FLEX
    M mpavas

    Thanks, I was also felt the same way. I have an interest more towards the WCF. But I think it will be good if I can catch up with silver side too..

    Regards, Pavas

    IT & Infrastructure csharp asp-net wcf tutorial question

  • Career Path ASP.NET, C# developer to FLEX
    M mpavas

    Agree! But at this time I do not have more options, also due to the worst market condition. Lets see how things go-ahead. Thanks!

    Regards, Pavas

    IT & Infrastructure csharp asp-net wcf tutorial question

  • Career Path ASP.NET, C# developer to FLEX
    M mpavas

    Hello, I am a hard core asp.net, c# developer and just strated cathing up with WCF. The company I work for has no work in .net technology hence the option with me is to move on FLEX development. We had a first day of introduction on FLEX and it was OK with me. I want to be a microsoft programmer please guide if this can boost my carrer path ahead?

    Regards, Pavas

    IT & Infrastructure csharp asp-net wcf tutorial question

  • Web service calling VB6 exe
    M mpavas

    Hello, I have below scenario. I have a web service hosted on Windows machine. This web service executes a VB6 exe file. The VB exe file may take up to 30 mins of execution. This web service on Windows system is consumed from PHP. My ultimate aim is to execute the VB exe file on windows machine. Is this a correct approch? And this Windows machine only accpets web requests. Please advice.

    Regards, Pavas

    ASP.NET php question

  • AutoIncrement column load after data is populated
    M mpavas

    Hello, I have a datatable with data. I want to add a auto increment column with values in the pre-exising datatable with values. Can I do it? We can do it If I add a loop and assign the value to the columns - which I do not want to do as there are 1000's or record. Please suggest! Regards, Pavas

    Regards, Pavas

    C# question

  • Disign of Web service
    M mpavas

    That is a mistake. Sorry for that.

    Regards, Pavas

    Design and Architecture design tutorial question

  • Issue with the Windows Service OnTimeElapsed
    M mpavas

    I believe, timer will start right after the method call is over..let me try this

    Regards, Pavas

    C# help database question

  • Issue with the Windows Service OnTimeElapsed
    M mpavas

    So when it will again start?

    Regards, Pavas

    C# help database question

  • Issue with the Windows Service OnTimeElapsed
    M mpavas

    Hello, I have a below issue with the windows service. I have a method as below private void OnElapsedTime(object source, ElapsedEventArgs e) { log.Info("OnElapsedTime"); BillPay.ProcessOrder(); } I have a timer set for 1 mins in OnStart method protected override void OnStart(string[] args) { //ad 1: handle Elapsed event timer.Elapsed += new ElapsedEventHandler(OnElapsedTime); //ad 2: set interval to 1 minute (= 60,000 milliseconds) timer.Interval = 60000 ; //ad 3: enabling the timer timer.Enabled = true; } The problem: If my ProcessOrder() method which process all orders do not get completed in 1 mins I see unexpected results in the database with duplicate entry. I suspect the method ProcessOrder() get called again onTimeElapsed, I have commit and rollback statements too. But does not help. Please suggest as how can I resolve this issue.

    Regards, Pavas

    C# help database question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups