15,897,273 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 ahsan.subiya (Top 28 by date)
ahsan.subiya
27-Jul-16 7:11am
View
Deleted
Hi Mohammed i have the same please what is wrong with my service web config and Client app config
Service config
<system.servicemodel>
<services>
<service name="ProductWebserviceapp.Product" behaviorconfiguration="ServiceBehavior">
<endpoint binding="webHttpBinding" contract="ProductWebserviceapp.IProduct"
="" behaviorconfiguration="webHttp">
<identity>
<dns value="localhost">
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange">
<servicehostingenvironment aspnetcompatibilityenabled="true" multiplesitebindingsenabled="true">
<standardendpoints>
<webhttpendpoint>
<standardendpoint name=""
="" helpenabled="true" automaticformatselectionenabled="true" defaultoutgoingresponseformat="Json" crossdomainscriptaccessenabled="true">
<behaviors>
<servicebehaviors>
<behavior name="ServiceBehavior">
<servicemetadata httpgetenabled="true">
<servicedebug includeexceptiondetailinfaults="true">
<datacontractserializer maxitemsinobjectgraph="50485760">
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<behavior>
<!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
<servicemetadata httpgetenabled="true">
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<servicedebug includeexceptiondetailinfaults="false">
<endpointbehaviors>
<behavior name="webHttp">
<webhttp helpenabled="True">
<!--<webhttp automaticformatselectionenabled="true">-->
<bindings>
<system.webserver>
<modules runallmanagedmodulesforallrequests="true">
Client App config
<system.servicemodel>
<client>
<endpoint address="http://localhost/ProductPublish/Product.svc"
="" binding="webHttpBinding" behaviorconfiguration="webEndpoint" contract="Product.IProduct" name="SinglePageAngularJS.Product">
<behaviors>
<endpointbehaviors>
<behavior name="webEndpoint">
<webhttp defaultbodystyle="Wrapped"
="" defaultoutgoingresponseformat="Xml" helpenabled="true">
<appsettings>
<add key="webpages:Version" value="2.0.0.0">
<add key="webpages:Enabled" value="false">
<add key="PreserveLoginUrl" value="true">
<add key="ClientValidationEnabled" value="true">
<add key="UnobtrusiveJavaScriptEnabled" value="true">
<system.web>
<compilation debug="true" targetframework="4.5">
<httpruntime targetframework="4.5">
<authentication mode="Forms">
<forms loginUrl="~/Account/Login" timeout="2880" />
<pages>
<namespaces>
<add namespace="System.Web.Helpers">
<add namespace="System.Web.Mvc">
<add namespace="System.Web.Mvc.Ajax">
<add namespace="System.Web.Mvc.Html">
<add namespace="System.Web.Optimization">
<add namespace="System.Web.Routing">
ahsan.subiya
4-Mar-15 23:52pm
View
I have tried that solution but no result
ahsan.subiya
18-Dec-12 13:45pm
View
zaf Khan you can go with this link
http://epaper.amarujala.com/svww_index.php
ahsan.subiya
12-May-12 0:33am
View
Sir, when i ms selecting value from dropdown its fill a listview control on the same page.and not redirecting on another page.actually the same website when i m hosting on diffrent machine its not throuing the mention error. i think i m missing some steps during configuring the website under iis or there is some issue in my web.config. please help me out
ahsan.subiya
12-May-12 0:30am
View
This is hosted one under IIS
ahsan.subiya
9-Jul-11 4:11am
View
i m doing better thats why i m using table adapter.
before i was nt doing so....
well thnks for ur helpful suggestion.
i will try that one too
ahsan.subiya
17-Jun-11 8:03am
View
can we raed data using data reader and display in tabular format
ahsan.subiya
9-Jun-11 6:47am
View
can u plz tell me the syntax how to store the selected value of dropdown in the variable.
and how to pass it int query.
ahsan.subiya
9-Jun-11 6:45am
View
no sir.
tblBranch intbranchId(PK)and intAddressId(Fk)
tblAddress intAddressID(pk)and intCityId(fk)
tblCity intCityID(pk)
ahsan.subiya
9-Jun-11 6:26am
View
actually there is three table
tblBranch having coloumn intBranchId,strBranchName ,inAddressId and many more
tblAddress having coloumn intAddressId,intCityId and manymore
tblCity having coloumn intCityId,strCityName,and many more
hope this info vl help u to help me plz
ahsan.subiya
9-Jun-11 6:13am
View
how to fetch the id of selected city and pass it in to select query to select the branch
ahsan.subiya
7-Jun-11 6:25am
View
sir i have alrdy done this in my project.
my problem is how to update the grid view row.
and how to delete the grid view row.
i have decided the senario to update the grid view row
what i want.
that when i select the grid view row the selected row data should be display in text boxes and when i cclick the edit button the updation made in the data base and grid view as well.. for this i write the code on edit button click
Try
'Dim conn As New SqlClient.SqlConnection(ConfigurationManager.ConnectionStrings("cbse").ConnectionString)
Dim conn As New SqlClient.SqlConnection("Server=localhost;DataBase=cbse;Integrated Security=true")
conn.Open()
Dim cmd As New SqlCommand("spClassUpdate", conn)
cmd.CommandType = CommandType.StoredProcedure
cmd.Parameters.AddWithValue("@strClassName", txtClass.Text)
cmd.Parameters.AddWithValue("@intSequence", txtSequence.Text)
Dim i As Integer
i = cmd.ExecuteNonQuery()
If (i > 0) Then
MessageBox.Show("Class updated Succsessfully")
BindGrid()
conn.Close()
End If
Catch ex As Exception
End Try
End Sub
and for deletion
when i click the row
and click on the delete button the should be deleted from grid view and database as well
please sir write the code for this .
i m new with windows form.
i have not so much idea abt it.
ahsan.subiya
7-Jun-11 0:22am
View
i m using ms sql
ahsan.subiya
6-Jun-11 7:03am
View
bt now i want to save the data in the database
ahsan.subiya
6-Jun-11 6:46am
View
tnx sir. it is working..
ahsan.subiya
1-Jun-11 2:08am
View
tnx sir error is remove now
ahsan.subiya
1-Jun-11 2:01am
View
bt now ther is another problem it gives yhe following error
Error converting data type nvarchar to int.
ahsan.subiya
1-Jun-11 1:56am
View
thank u sir
ahsan.subiya
1-Jun-11 1:56am
View
tnx sir .its works
ahsan.subiya
4-May-11 0:32am
View
how can i do this can u plz tell me
ahsan.subiya
2-May-11 1:41am
View
sir i add this code in my website's master page for doin g this the and i also add an external style sheet in which i add this class code is as follows---
<img src="http://www.progseed.in/images/1286351217_Update.png" class="pos_fixed"/>
bt the problem is the pic is not changing the postion with scrolling the scroll bar
ahsan.subiya
2-May-11 1:38am
View
i want to add this feature in my website as well .so wana asked how can i do this for my website.can u provide me the code
ahsan.subiya
20-Apr-11 8:18am
View
sir i have changed the query bt still there is the same error.
can u gime me the other code for the same thing
ahsan.subiya
15-Apr-11 6:28am
View
thats i know bt my senior is not allowing me to use that
can you give me another code for the same thing please
ahsan.subiya
15-Apr-11 6:21am
View
sir it display error
which is not define
ahsan.subiya
15-Apr-11 6:13am
View
code still not working sir,
i dont want to use the autonumber.
ahsan.subiya
12-Apr-11 8:05am
View
sir did the same as you said.the page is runni ng without any error bt the output is only
value1
value2
value3
when i click on the button nothing happend
please tell what your code is doing.
thanks and regard
subiya ahsan
ahsan.subiya
18-Mar-11 6:07am
View
sir i tried this code bt it is giving me the error
adp.fill(dt)
the error is
value of string type cannot be converted syste.data.sqlclient
one more thing why u used the select comand
Show More