15,897,704 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 RajkumarGnanaraj (Top 12 by date)
RajkumarGnanaraj
17-Jan-17 7:38am
View
Yes data directory is the problem..thank you all.
RajkumarGnanaraj
17-Jan-17 5:53am
View
i opened database nothing was there
RajkumarGnanaraj
19-Oct-16 6:12am
View
not giving error it is not showing in videosource event list
RajkumarGnanaraj
19-Oct-16 3:10am
View
Dim connectionString As String = ConfigurationManager.ConnectionStrings("ConString").ConnectionString
Dim conn As New SqlConnection(connectionString)
Dim cmd As New SqlCommand(query, conn)
cmd.CommandType = CommandType.StoredProcedure
cmd.Parameters.AddWithValue("@fName", txtFirstName.Text)
cmd.Parameters.AddWithValue("@Lname", txtLName.Text)
cmd.Parameters.AddWithValue("@Sex", CBSex.SelectedItem.ToString)
cmd.Parameters.AddWithValue("@DOB", Convert.ToDateTime(DTDOB.Text))
cmd.Parameters.AddWithValue("@Age", txtAge.Text)
cmd.Parameters.AddWithValue("@Address", txtAddress.Text)
cmd.Parameters.AddWithValue("@phno", txtPhNo.Text)
cmd.Parameters.AddWithValue("@Email", txtEmail.Text)
cmd.Parameters.AddWithValue("@IdNo", txtIDNo.Text)
cmd.Parameters.AddWithValue("@contactPerson", txtContactPerson.Text)
cmd.Parameters.AddWithValue("@Relation", txtRelation.Text)
cmd.Parameters.AddWithValue("@claimid", SqlDbType.VarChar)
cmd.Parameters("@claimid").Direction = ParameterDirection.Output
cmd.Parameters.AddWithValue("@cpPhno", txtCPPhno.Text)
cmd.Parameters.AddWithValue("@Photo", profilepicture)
cmd.Parameters.AddWithValue("@ID", idorpassport)
Dim a As Integer
conn.Open()
cmd.ExecuteNonQuery()
conn.Close()
'If Not String.IsNullOrEmpty(cmd.Parameters("@claimid").Value.ToString) Then
If a > 0 Then
MessageBox.Show("Data Added successfully and your clientID is :" & cmd.Parameters("@claimid").Value.ToString)
Else
MessageBox.Show("Please try Again")
End If
BEGIN
if @Sex='Male'
begin
set @Sex='M'
end
if @Sex='Female'
begin
set @Sex='F'
end
insert into Client(FirstName,LastName,Sex,DOB,Age,[Address],PhNo,email,[IDCard/passNumber],ContactPerson,Relation,TelephoneNOContact,Created_date,photo,
[pass/idcard]) values(@fName,@Lname,@Sex,@DOB,@Age,@Address,@phno,@Email,@IdNo,@contactPerson,@Relation,@cpPhno,GETDATE(),@Photo,@ID)
select @claimid=ClientID from dbo.Client where clientcode=SCOPE_IDENTITY()
End
I changed like this
RajkumarGnanaraj
19-Oct-16 3:02am
View
@Richard Deeming i want varchar as output i removed return @claimid line .but i am getting same error
RajkumarGnanaraj
26-Mar-15 14:21pm
View
XMLHttpRequest cannot load http://api.jquery.com/jquery.ajax/?{%27currenttime%27:%27%27,%27duration%27:%27%27,,%27durations%27:%27%27}. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access.jquery-2.1.1.min.js:4 k.cors.a.crossDomain.send
51jquery-2.1.1.min.js:4 XMLHttpRequest cannot load http://api.jquery.com/jquery.ajax/?{%27currenttime%27:%27%27,%27duration%27:%27%27,,%27durations%27:%27%27}. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access.jquery-2.1.1.min.js:4 k.cors.a.crossDomain.sendjquery-2.1.1.min.js:4 n.extend.ajaxvideoplayer.aspx:68 (anonymous function)
RajkumarGnanaraj
26-Mar-15 14:20pm
View
i reffered url u gave.i am getting this error now
XMLHttpRequest cannot load http://api.jquery.com/jquery.ajax/?{%27currenttime%27:%27%27,%27duration%27:%27%27,,%27durations%27:%27%27}. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access.
6jquery-2.1.1.min.js:4 XMLHttpRequest cannot load http://api.jquery.com/jquery.ajax/?{%27currenttime%27:%27%27,%27duration%27:%27%27,,%27durations%27:%27%27}. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access.
RajkumarGnanaraj
26-Mar-15 14:16pm
View
that aspx page and method name is valid only i think.debugging time also same error whatever attached above...
RajkumarGnanaraj
26-Mar-15 14:06pm
View
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
jquery-2.1.1.min.js:4 GET http://localhost/findingproject/videoplayer.aspx/UpdateTimer_Tick?{%27currenttime%27:%27%27,%27duration%27:%27%27} 500 (Internal Server Error)
jquery-2.1.1.min.js:4 GET http://localhost/findingproject/videoplayer.aspx/UpdateTimer_Tick?{%27currenttime%27:%27%27,%27duration%27:%27%27} 500 (Internal Server Error)
jquery-2.1.1.min.js:4 GET http://localhost/findingproject/videoplayer.aspx/UpdateTimer_Tick?{%27currenttime%27:%27%27,%27duration%27:%27%27} 500 (Internal Server Error)
jquery-2.1.1.min.js:4 GET http://localhost/findingproject/videoplayer.aspx/UpdateTimer_Tick?{%27currenttime%27:%27%27,%27duration%27:%27%27} 500 (Internal Server Error)
RajkumarGnanaraj
26-Mar-15 14:05pm
View
I checked in google chrome.internal server erroe 500 failed to load resource
RajkumarGnanaraj
17-Mar-15 10:09am
View
I validated that text box with regex at server side and also parameterized..
RajkumarGnanaraj
17-Mar-15 10:02am
View
ya i parameterized that text box and also validated with regex..
Show More