15,892,674 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Abhai Oza (Top 54 by date)
Abhai Oza
13-Jul-16 5:32am
View
i m try this code but not work in asp.net aspx page. please one time try
Abhai Oza
12-Jul-16 8:29am
View
I have try this code but not successfully execution.
Abhai Oza
30-Mar-15 22:37pm
View
Deleted
Dear..
I have set session value not using webpage or web services.
Direct set using Juqery.
Abhai Oza
30-Mar-15 12:23pm
View
But i have set session in ajax call time.
Just eg:-
$.ajax({
url: '<%=Config.VirtualDir %>contact-us.aspx?submitform=y',
data: $('#frmContact1').serialize(),
type: 'POST',
success: function(resp) {
if(resp=="InvalidCaptcha")
{
// Session value set
}
}
});
WWhat to do..??
Abhai Oza
28-Mar-15 0:25am
View
I read this article but i don't have consume wcf services i have direct call wcf method don't add web services reference.
Abhai Oza
28-Mar-15 0:11am
View
Mean.? I don't get it..?
Please give me step by step details bcz i m new in wcf application..
Abhai Oza
27-Mar-15 23:59pm
View
But i don't create client in asp.net application direct call WCF method using JQuery.
Abhai Oza
27-Mar-15 23:46pm
View
Hi...
But i got this error :- "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:57141/Service1.svc/GetData. This can be fixed by moving the resource to the same domain or enabling CORS."
What i to do..??
Abhai Oza
3-Feb-15 0:06am
View
Hello...
I have checked connection and check time out status but not get.
Please give me solution.
<system.servicemodel>
<bindings>
<wsdualhttpbinding>
<binding name="WSDualHttpBinding_IService1" closetimeout="00:05:00" opentimeout="00:05:00" receivetimeout="00:05:00" sendtimeout="00:05:00" transactionflow="false" hostnamecomparisonmode="StrongWildcard" maxbufferpoolsize="524288" maxreceivedmessagesize="65536">
<readerquotas maxdepth="32" maxstringcontentlength="2147483647" maxarraylength="16384" maxnametablecharcount="16384">
<security mode="None">
<message clientcredentialtype="None" algorithmsuite="Default">
<client>
<endpoint address="http://192.168.1.100:1002/Service1.svc" binding="wsDualHttpBinding" bindingconfiguration="WSDualHttpBinding_IService1" contract="ServiceReference1.IService1" name="WSDualHttpBinding_IService1">
<identity>
<serviceprincipalname value="mcwebservice\$mcwebservice">
<dns value="192.168.1.100:1002">
Abhai Oza
2-Feb-15 23:57pm
View
Deleted
Hello...
I have checked connection and check time out status but not get.
Please give me solution.
<system.servicemodel>
<bindings>
<wsdualhttpbinding>
<binding name="WSDualHttpBinding_IService1" closetimeout="00:05:00" opentimeout="00:05:00" receivetimeout="00:05:00" sendtimeout="00:05:00" transactionflow="false" hostnamecomparisonmode="StrongWildcard" maxbufferpoolsize="524288" maxreceivedmessagesize="65536">
<readerquotas maxdepth="32" maxstringcontentlength="2147483647" maxarraylength="16384" maxnametablecharcount="16384">
<security mode="None">
<message clientcredentialtype="None" algorithmsuite="Default">
<client>
<endpoint address="http://192.168.1.100:1002/Service1.svc" binding="wsDualHttpBinding" bindingconfiguration="WSDualHttpBinding_IService1" contract="ServiceReference1.IService1" name="WSDualHttpBinding_IService1">
<identity>
<serviceprincipalname value="mcwebservice\$mcwebservice">
<dns value="192.168.1.100:1002">
Abhai Oza
20-Jan-15 4:09am
View
Dear...
Just tell me how to return byte data display in Image.
$("#postureimage").attr("src", "@Url.Action("GetImage", "How to Byte data Display here");
Abhai Oza
19-Jan-15 10:50am
View
Dear..
I have create GetImage() method in Controller.
How to call GetImage() method using Jquery.
I m write this jquery code but first time call this code.
$("#postureimage").attr("src", "@Url.Action("GetImage", "CallAssessment")");
any other opetion ..?
How to call using jquery,?
Abhai Oza
29-Dec-14 22:20pm
View
Hello..
I have Insert,Edit,Update & Delete record in XML using Window Application.
I hope You will get my Question.?
Abhai Oza
29-Dec-14 10:23am
View
I have insert,update & listing in window application.
Abhai Oza
7-Mar-14 4:56am
View
I have try this code not working.
Abhai Oza
28-Dec-13 20:55pm
View
Give me any simple appcation insert,Update and Delete using EF.
please sent me demo on my mail id achalprajapati@ymail.com.
Abhai Oza
28-Dec-13 11:57am
View
How to update Record in EF Model..?
I am writing This Code.
EmployeeEntities obj = new EmployeeEntities();
EmployeeMast objEmp = new EmployeeMast();
obj.Entry(objEmp).State = System.Data.EntityState.Modified;
But Code Display Error in Entry(objEmp)..
So How to solve taht.
Abhai Oza
28-Dec-13 10:20am
View
Yes... How to update record using EF.
if i am using this line update record..but Entry not set..Error display.
EmployeeEntities obj = new EmployeeEntities();
EmployeeMast objEmp = new EmployeeMast();
obj.Entry(objEmp).State = System.Data.EntityState.Modified;
Give me any Idea. How to update record using EF.
Abhai Oza
28-Dec-13 10:05am
View
i am update record using entity freamwork.
i am this code.
private void Save()
{
EmployeeMast objEmp = new EmployeeMast();
objEmp.EmpName = txtName.Text.Trim();
objEmp.EmpAdd = txtAddress.Text.Trim();
// objEmp.EmpBDate = Convert.ToDateTime(txtBDay.Text.Trim());
objEmp.EmpDept = Convert.ToInt32(drpDepartment.SelectedValue);
if (ViewState["EmpId"] == null)
{
obj.EmployeeMasts.AddObject(objEmp);
obj.SaveChanges();
}
else
{
objEmp.EmpId = 1;
obj.Entry(objEmp).State = System.Data.EntityState.Modified;
obj.SaveChanges();
}
}
if i am update record then write code this line.
obj.Entry(objEmp).State = System.Data.EntityState.Modified;
then "Entry" not set ..Error display.
Abhai Oza
2-Aug-13 23:05pm
View
But have more then 3 subject and not any idea....how much subject insert ..
if any possible .
Abhai Oza
22-May-13 8:05am
View
How to Create View.?
If i am create ViewResult Index after How to create View because @model PagedList.IPagedList not display list in Model.
Abhai Oza
17-Apr-13 1:52am
View
Give me any one example..?
Abhai Oza
17-Apr-13 1:40am
View
No...This Eg.use in asp.net after tell me.
Not working.
Abhai Oza
17-Apr-13 1:36am
View
I know first i have check but use in asp.net not possible and page reload time as it as display after few second not minits.
Abhai Oza
28-Mar-13 8:01am
View
Thankx.
Abhai Oza
28-Mar-13 6:29am
View
k..i have Sollow.
function ddiff() {
var txtfromdate = document.getElementById('<%=txtFromDate.ClientID %>').value;
var txttodate = document.getElementById('<%=txtToDate.ClientID %>').value;
var txtfromdate_Change = txtfromdate.split("/");
var txttodate_Change = txttodate.split("/");
txtfromdate = txtfromdate_Change[1] + "/" + txtfromdate_Change[0] + "/" + txtfromdate_Change[2];
txttodate = txttodate_Change[1] + "/" + txttodate_Change[0] + "/" + txttodate_Change[2];
var oneDay = 1000 * 60 * 60 * 24; //Convert into millisec
var firstDate = new Date(txtfromdate);
var secondDate = new Date(txttodate);
var noOfDays = Math.ceil((secondDate.getTime() - firstDate.getTime()) / oneDay);
document.getElementById('<%=txtLeaveRequired.ClientID %>').value = noOfDays;
}
Abhai Oza
28-Mar-13 6:08am
View
Ya..but how to change Date Format..?
If i m change then display some error.
Abhai Oza
18-Mar-13 8:32am
View
Ambiguous column name 'SID'.
Abhai Oza
18-Mar-13 8:25am
View
But I have around 56000 record..
So many time wait for perfact Output..
Abhai Oza
5-Feb-13 4:38am
View
I know But How to get.??
Any Other Way.?
Abhai Oza
2-Feb-13 3:08am
View
Please Exaplain your Proper Question..
I dn't get it.
Abhai Oza
31-Jan-13 1:42am
View
Session,Viewstate...????
Which Side Work..??Why.?
Abhai Oza
29-Jan-13 6:59am
View
But Not Fix 00AA015949 this number.
0AA546545 ... How to get..???
Abhai Oza
23-Jan-13 2:25am
View
This Static not Dynamic ...???
Abhai Oza
22-Jan-13 23:57pm
View
Hi..Frnd Good Morning
My Question Is:
ID Code Code Qty
1 A1 A1 1
2 A2 A2 1
3 A3 A3 1
4 A5 A5 1
5 A6 A6 1
6 A7 A7 1
7 A11 A11 1
8 A12 A12 1
9 A13 A13 1
Out Out This Range
ID From To Qty
1 A1 A3 3
2 A5 A7 3
3 A11 A13 3
Please Fast Replay me..
How to Possible in Query or Vb Code..????
Abhai Oza
22-Jan-13 23:56pm
View
Hi..Frnd Good Morning
My Question Is:
ID Code Code Qty
1 A1 A1 1
2 A2 A2 1
3 A3 A3 1
4 A5 A5 1
5 A6 A6 1
6 A7 A7 1
7 A11 A11 1
8 A12 A12 1
9 A13 A13 1
Out Out This Range
ID From To Qty
1 A1 A3 3
2 A5 A7 3
3 A11 A13 3
Please Fast Replay me..
How to Possible in Query or Vb Code..????
Abhai Oza
22-Jan-13 23:56pm
View
Hi..Frnd Good Morning
My Question Is:
ID Code Code Qty
1 A1 A1 1
2 A2 A2 1
3 A3 A3 1
4 A5 A5 1
5 A6 A6 1
6 A7 A7 1
7 A11 A11 1
8 A12 A12 1
9 A13 A13 1
Out Out This Range
ID From To Qty
1 A1 A3 3
2 A5 A7 3
3 A11 A13 3
Please Fast Replay me..
How to Possible in Query or Vb Code..????
Abhai Oza
22-Jan-13 23:56pm
View
Hi..Frnd Good Morning
My Question Is:
ID Code Code Qty
1 A1 A1 1
2 A2 A2 1
3 A3 A3 1
4 A5 A5 1
5 A6 A6 1
6 A7 A7 1
7 A11 A11 1
8 A12 A12 1
9 A13 A13 1
Out Out This Range
ID From To Qty
1 A1 A3 3
2 A5 A7 3
3 A11 A13 3
Please Fast Replay me..
How to Possible in Query or Vb Code..????
Abhai Oza
10-Nov-12 3:54am
View
I know but get only 2 field ....Why ????
Abhai Oza
10-Nov-12 0:12am
View
How to ge 2 field use "Select * from Employee" use this Query.Okkkkkk
Abhai Oza
13-Sep-12 1:39am
View
Please ...Step by Step .
How to create DBContext Class and Use In Controllers in MVC.
And I have download Last link Project but Error on this Project.
Error is :-
"Error 1 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. C:\Documents and Settings\achal.prajapati\Desktop\OpenLibrary\OpenLibrary\Web.config 31
"
Abhai Oza
12-Sep-12 6:28am
View
Just give how to create DBContext Class in MVC
Or You have Create any Example in MVC ??
Abhai Oza
12-Sep-12 5:18am
View
Sry..I have not understand DBContext ??
Abhai Oza
12-Sep-12 2:49am
View
Sorry Not Solve this error.
DbContextMeans???
Abhai Oza
6-Sep-12 1:53am
View
Not working this link code...
For Eg.
I have create 2 asp page.
1 Page Only Button
2 Page only 3 Label.....Ok
1.Page write code on button click event.
Session["L1"] = "Achal";
Session["L2"] = "Prajapati";
Response.Redirect("Default2.aspx");
2.Page on page load event
lblsession1.Text = Convert.ToString(Session["L1"]);
lblsession2.Text = Convert.ToString(Session["L2"]);
int i = (int)Application["LiveSessionsCount"];
lblName.Text = Convert.ToString(i);
I have find total number of session use in asp.page .
For this eg. my ans is:-lblName.Text=2..
Ok....
Abhai Oza
31-Aug-12 5:52am
View
Thankx..Dear
Please give me paerfect example ???
Abhai Oza
31-Aug-12 5:00am
View
without LinkQ or DbContext data binding not possible in MVC ???
if possible which way ???
Abhai Oza
31-Aug-12 4:40am
View
Any other Way to use databinding in mvc in asp.net ???
Give me simple add,edit and Delete from in MVC with simple databinding ???
Abhai Oza
25-Aug-12 2:40am
View
k...i have start new web site and create a project.
This web Project create to 2 project.
And Defult Mastpage,CSS,js And Account
Folder Delete after Check your Solution ??
Abhai Oza
20-Aug-12 2:20am
View
Thankx...
But I have install vb2010 service pack1. and i have start new web project create but MVC Web not display..
How to Start MVC Web Application ???
Abhai Oza
16-Aug-12 7:53am
View
crystal report
Function Check and Group by set Salary value and Set Page Footer Section and new footer use.
http://www.softwaremedia.com/software-guides/crystal-reports-setup.html
Abhai Oza
16-Aug-12 6:10am
View
You create simple web site check this code any format HREF. and View in IE ...
Abhai Oza
21-Jun-12 1:24am
View
but how to use give me proper eg. ???
Abhai Oza
26-Dec-11 5:55am
View
But how to change column values or add new column..
Show More