Search:
Type: Posts; User: sanju4kk
Search:
Search took 0.08 seconds.
-
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'...
-
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">
...
-
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...
-
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...
-
[HttpPost]
public ActionResult UserCreate(Users user)
{
if (ModelState.IsValid)
{
userMaintenance.CreateUser(user);
...
-
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">
...
-
I am using the follwing code for Input validation in View
@using (Html.BeginForm("UserSearch", "UserMaintenance", FormMethod.Post, null)){
@Html.ValidationSummary(true)
<p> ...
-
Yeah..whenever i googled and search on many forums, its all showing examples with single parameter thats why i got stuck.
-
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...
-
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....
-
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>
-
Thank u jmcilhinney :)
It works :)
-
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...
-
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">...
-
Yes am trying to insert my own values. Now am limited with MVC
-
and the error is
Cannot insert explicit value for identity column in table 'tppl' when IDENTITY_INSERT is set to OFF.
-
sorry..i forget to mention that..
-
I have done this way
sqlQueryID = "SET IDENTITY_INSERT tppl ON";
IQuery queryPrimON = session.CreateSQLQuery(sqlQueryID);
using session.CreateSQLQuery but still its throwing the...
-
Can anybody tell me how to set
SET IDENTITY_INSERT tablename ON
using asp.net code..plsss
-
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...
-
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
-
The Object UserRoles in class Users returning null value..i think thats the problem but dont know how to resolve.
-
It happens in Repository
public virtual DEntities.Users CreateUser(ISession session, DEntities.Users userToCreate)
{
try
{
// check whether the id is...
-
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"
...
-
Its resolved!!
I right clicked the application and "Run as administrator" as it was on Windows 7. Now able 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...
-
The following is my View's code
@foreach (var item in Model.UserRoles)
{
for (i = 0; i < Model.UserRoles.Count ; i++)
{
@Html.HiddenFor(users =>...
-
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 =...
-
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...
-
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...
-
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....
-
so, can we call this method by a single line if the method is defined as public?
-
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...
-
Opensession defind as a method which lives in helper class.
it is a static method.
-
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...
-
Thank you so much jmcilhinney
Finally it resolved
i put the system.data.sqlserce.dll in project bin folder
thank u so much :)))))))))))))))
-
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...
-
This is the connectionstring i have put in nhibernate config
<session-factory>
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
...
-
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
...
-
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...
|
Click Here to Expand Forum to Full Width
|