Search:

Type: Posts; User: sanju4kk

Page 1 of 7 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    2,563

    VS 2012 Using Inner Joins in nhibernate

    How can we create a nHibernate criteria for the following query


    Select UserID,UserName,Specification from tUser u innerjoin tUserType ut on u.UserTypeID=ut.UserTypeID where ut.UserType='Doctor'...
  2. Replies
    0
    Views
    1,463

    VS 2012 Extract values from Form Collection in MVC4

    Hi

    I have a dropdown list in my view with the following code

    @using (Html.BeginForm("SearchClinicalMaster", "DocClock", FormMethod.Post, null))
    {
    <div class="editor-label">
    ...
  3. Replies
    0
    Views
    1,034

    VS 2012 Exporting .ics files to Google Calender

    Hi

    I have created an application to import events from .ics files to Google Calendar but now i wanted to do the reverse too i.e. pushing Google Calendar events to .ics files and send it to mobile...
  4. Replies
    1
    Views
    966

    VS 2012 Integrating CSS

    I did coding for a Login window and parallely designed a login window in Dreamweaver. Now i wanted to integrate that css sheet to my project. But when i tried to copy the code of css sheet to my...
  5. VS 2012 Re: Geting Value to Jquery's post method's Data in MVC

    [HttpPost]
    public ActionResult UserCreate(Users user)
    {
    if (ModelState.IsValid)
    {
    userMaintenance.CreateUser(user);
    ...
  6. VS 2012 Geting Value to Jquery's post method's Data in MVC

    I have the following Jquery in my View to check whether the Entered Username is existing or not

    <script src="~/Scripts/jquery-1.7.1.min.js"></script>
    <script type="text/javascript">
    ...
  7. Replies
    0
    Views
    1,725

    VS 2012 Input Validation in cshtml file

    I am using the follwing code for Input validation in View


    @using (Html.BeginForm("UserSearch", "UserMaintenance", FormMethod.Post, null)){
    @Html.ValidationSummary(true)
    <p> ...
  8. Replies
    4
    Views
    1,116

    VS 2012 Re: [RESOLVED] Passing value from View to View

    Yeah..whenever i googled and search on many forums, its all showing examples with single parameter thats why i got stuck.
  9. Replies
    4
    Views
    1,116

    VS 2012 Re: Passing value from View to View

    Yeah. Thank you jmcilhinney. I didnt know that we can pass multiple values to controller from view. Here i already was passing value to controller. Now am passing one more value as Boolean so its...
  10. Replies
    4
    Views
    1,116

    VS 2012 [RESOLVED] Passing value from View to View

    Can we pass Boolean values from one to another view...

    I think its possible but not getting any idea how to...

    please help me out....
  11. Replies
    2
    Views
    11,365

    aligning Textboxes and label in HTML

    Hi

    Iam new to HTML and i am trying to make a login page with two text boxes for username and password
    Now i get stuck with the alighnment

    here is the code

    <!DOCTYPE html>

    <html>
  12. VS 2012 Re: Hide or Disable action link in Views

    Thank u jmcilhinney :)
    It works :)
  13. VS 2012 [RESOLVED] Hide or Disable action link in Views

    Hi

    I have a view to search Users by their Usernames, and another page in which all UserList are showing.
    Here What i am trying to do is once the search button is clicked the results will be...
  14. VS 2012 Re: IDENTITY_INSERT using asp.net MVC code

    I did some changes in my nhibernate file to save the Primary key

    I changed the Generator class to native
    <class name="tppl" table="tppl" batch-size="10">
    <id name="UserID" column="UserID">...
  15. VS 2012 Re: IDENTITY_INSERT using asp.net MVC code

    Yes am trying to insert my own values. Now am limited with MVC
  16. VS 2012 Re: IDENTITY_INSERT using asp.net MVC code

    and the error is


    Cannot insert explicit value for identity column in table 'tppl' when IDENTITY_INSERT is set to OFF.
  17. VS 2012 Re: IDENTITY_INSERT using asp.net MVC code

    sorry..i forget to mention that..
  18. VS 2012 Re: IDENTITY_INSERT using asp.net MVC code

    I have done this way
    sqlQueryID = "SET IDENTITY_INSERT tppl ON";
    IQuery queryPrimON = session.CreateSQLQuery(sqlQueryID);

    using session.CreateSQLQuery but still its throwing the...
  19. VS 2012 [RESOLVED] IDENTITY_INSERT using asp.net MVC code

    Can anybody tell me how to set

    SET IDENTITY_INSERT tablename ON

    using asp.net code..plsss
  20. VS 2012 Re: An SqlCeParameter with ParameterIndex '10' is not contained by this SqlCeParamete

    The problem was in the following line in User class

    public virtual int UserID { get; set; }

    i removed this line and also changed the database from Combact SQLSERVER to SQLSERVER 2005.
    Now its...
  21. VS 2012 Re: An SqlCeParameter with ParameterIndex '10' is not contained by this SqlCeParamete

    I pointed the error line and error. And i dont think that you people sitting there and doing nothing except solving my errors, so i am not mistaken
  22. VS 2012 Re: An SqlCeParameter with ParameterIndex '10' is not contained by this SqlCeParamete

    The Object UserRoles in class Users returning null value..i think thats the problem but dont know how to resolve.
  23. VS 2012 Re: An SqlCeParameter with ParameterIndex '10' is not contained by this SqlCeParamete

    It happens in Repository

    public virtual DEntities.Users CreateUser(ISession session, DEntities.Users userToCreate)
    {
    try
    {
    // check whether the id is...
  24. VS 2012 [RESOLVED] An SqlCeParameter with ParameterIndex '10' is not contained by this SqlCeParameterCol

    I have the following code for my mapping file named Users

    <?xml version="1.0" encoding="utf-8" ?>
    <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
    assembly="DEntities"
    ...
  25. Re: SQLSERVER 2005: Unable to create new Database

    Its resolved!!

    I right clicked the application and "Run as administrator" as it was on Windows 7. Now able to create new database..
  26. [RESOLVED] SQLSERVER 2005: Unable to create new Database

    I am newly installed SQL SERVER 2005 and when i trying to create a new database its showing the following message


    Either the 'admin-PC\admin' user does not have permission to create a new object...
  27. VS 2012 Object reference not set to an instance of an object.

    The following is my View's code

    @foreach (var item in Model.UserRoles)
    {
    for (i = 0; i < Model.UserRoles.Count ; i++)
    {
    @Html.HiddenFor(users =>...
  28. VS 2012 Error: No session bound to the current HttpContext

    Iam trying to call call a method which having an OpenSession but its ending up with an error
    "No session bound to the current HttpContext" in CurrentSesions following line

    _currentSession =...
  29. VS 2012 Re: How to create object for an entity class?

    The problem was the class i have created wasnt under the Model. So that made me confused. now its ok.
    i put it as
    @model Entity.Users

    Its working :)
    Thank you so much once again.
    Since am...
  30. VS 2012 Re: How to create object for an entity class?

    Thank you very much for the tutorial JMCilhinney.

    But here in this tutorial Model class's properties is calling from View. But here i need have a seperate project named Entity and inside that...
  31. VS 2012 [RESOLVED] How to create object for an entity class?

    I have an Entity class names Users and i need this to be called at a View Names Create.

    How can i do that?
    I need to call the properties of Users class

    Pls help me....
  32. Replies
    6
    Views
    4,774

    VS 2012 Re: it is a namespace but is used like a type

    so, can we call this method by a single line if the method is defined as public?
  33. Replies
    6
    Views
    4,774

    VS 2012 Re: it is a namespace but is used like a type

    This is the class am creating
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Data.SqlClient;
    using System.Configuration;
    using DzineRepository;
    using DRepository;
    using...
  34. Replies
    6
    Views
    4,774

    VS 2012 Re: it is a namespace but is used like a type

    Opensession defind as a method which lives in helper class.
    it is a static method.
  35. Replies
    6
    Views
    4,774

    VS 2012 it is a namespace but is used like a type

    I have two projects and refering one to another. To say project DEntity is refering in Project DService. and among the namespaces am using iam refering this particular project too.
    When i trying to...
  36. VS 2012 Re: The system cannot find the file specified

    Thank you so much jmcilhinney

    Finally it resolved

    i put the system.data.sqlserce.dll in project bin folder

    thank u so much :)))))))))))))))
  37. VS 2012 Re: The system cannot find the file specified

    I have changed the SqlClientDriver to SqlServerCeDriver and changed dialect too. now its showing another error
    "Could not create the driver from NHibernate.Driver.SqlServerCeDriver"

    and already...
  38. VS 2012 Re: The system cannot find the file specified

    This is the connectionstring i have put in nhibernate config

    <session-factory>
    <property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
    ...
  39. VS 2012 Re: The system cannot find the file specified

    Yes it occurs then too.
    Am not using SQL express. Am using sql server compact database which is coming along with Visual studio 2012.
    the connection string am trying is the following
    ...
  40. VS 2012 [RESOLVED] The system cannot find the file specified

    I am using the SQL server compact database which is coming along with visual studio.

    Now while am compiling am geting the following error


    A network-related or instance-specific error...
Results 1 to 40 of 243
Page 1 of 7 1 2 3 4



Click Here to Expand Forum to Full Width