15,917,793 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 vinod.sambangi (Top 32 by date)
vinod.sambangi
7-Feb-13 7:22am
View
no not exactly but it was saying in begining itself
in localhost browser
vinod.sambangi
5-Feb-13 8:22am
View
Thank you
vinod.sambangi
5-Feb-13 6:51am
View
Can you please tell me ,what is the name of the jar file and where i can add that jar file.Please tell me .
vinod.sambangi
31-Jan-13 5:43am
View
Finally When i was trying to click on a TESTCONNECTION It was saying following error
com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1433 has failed. Error: "Connection refused: connect. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:190)
at com.microsoft.sqlserver.jdbc.SQLServerException.ConvertConnectExceptionToSQLServerException(SQLServerException.java:241)
at com.microsoft.sqlserver.jdbc.SocketFinder.findSocket(IOBuffer.java:2243)
at com.microsoft.sqlserver.jdbc.TDSChannel.open(IOBuffer.java:491)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1309)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:991)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:827)
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:1012)
at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.createConnection(JDBCConnection.java:206)
at org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:104)
at org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:53)
at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.open(JDBCConnection.java:72)
at org.eclipse.datatools.enablement.msft.internal.sqlserver.connection.JDBCSQLServerConnectionFactory.createConnection(JDBCSQLServerConnectionFactory.java:27)
at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:355)
at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(PingJob.java:76)
at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:59)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
vinod.sambangi
30-Jan-13 7:10am
View
actually i have one some sample application.I am running one of the page in it.But
its not running.Thats why i want to know why its coming trying to solve it
.
vinod.sambangi
28-Jan-13 8:04am
View
it is just simple html page .And i am using tomcat server 6. I am trying running on localhost but it's saying nothing
vinod.sambangi
28-Jan-13 7:19am
View
Thank you for providing some solution but as i am new to JAVA ,could you please explain me where to place the code..i would be thankfull to you.
vinod.sambangi
23-Jan-13 8:37am
View
please tell me about this
vinod.sambangi
14-Dec-12 4:55am
View
If it is a cursor ,where can i write it
vinod.sambangi
14-Dec-12 4:55am
View
please tell me whether it is a procedure or cursor
vinod.sambangi
14-Dec-12 1:22am
View
yes
vinod.sambangi
27-Nov-12 8:22am
View
yeah i have tried ,a small error it was.Thank you
vinod.sambangi
27-Nov-12 8:18am
View
in the page home.designer.aspx .It is the page i have cretaed
vinod.sambangi
27-Nov-12 8:17am
View
i inserted the code part in the content place holder ,but small error was coming in this line "public partial class {" after the { symbol it was saying error as "identifier expexted" .Please tell me
vinod.sambangi
27-Nov-12 8:09am
View
there is one contentplace holder
But please tell me what should i do now,as iam new to .net.Please suggest me some solution
vinod.sambangi
26-Nov-12 2:34am
View
That is the code i have written there.
The error it was saying when i was tring to delete ,it's like
"Server Error in '/' Application and
Object reference not set to an instance of an object.
".
vinod.sambangi
21-Nov-12 8:02am
View
I have checked it.But the id was correct.The same id i have used for updation there it was working but here it was not working.
Please tell me the solution
vinod.sambangi
21-Nov-12 5:18am
View
I was getting error in the following code in "e.RowIndex" in the below code
"
protected void EmployeeGridView_RowUpdating(object sender, GridViewEditEventArgs e)
{
int empid =((TextBox)EmployeeGridView.Rows[e.RowIndex].FindControl("txtempexp")).Text;//Get Each Row unique value from DataKeyNames
string name = ((TextBox)EmployeeGridView.Rows[e.RowIndex].FindControl("txtempname")).Text;//get TextBox Value in EditItemTemplet that row is clicked
"
It was saying error as "using System.Web.UI.WebControls.GridViewCancelEditEventArgs
does not contain definition of RowIndex and RowIndex accepting first arguement of
System.Web.UI.WebControls.GridViewCancelEditEventArgs
could be found"
.This is the error.Please tell me
vinod.sambangi
21-Nov-12 3:56am
View
Where to place the code of it.This "protected void grdContact_RowUpdating(object sender, GridViewUpdateEventArgs e)
" function where i can get in the page and to place it.Please tell me.
vinod.sambangi
20-Nov-12 5:17am
View
I have written this code.But It was printing only one row of the table but remaining rows are not printing .What should i do print each and every row of a table .I have written this code in page load.Please tell me
vinod.sambangi
20-Nov-12 5:16am
View
SqlCommand cmd=new SqlCommand("Select * from EMPLOYEE_TABLE",con);
SqlDataReader dr=cmd.ExecuteReader();
while(dr.Read())
{
lblvalue1.Text=dr.GetValue(0).ToString();//first value of a employee table
lblvalue2.Text=dr.GetValue(1).ToString();//second value of a employee table
lblvalue3.Text=dr.GetValue(2).ToString();//third value of a employee table
}
vinod.sambangi
20-Nov-12 4:15am
View
Please tell me
vinod.sambangi
20-Nov-12 3:58am
View
It was saying error in this line, "While(dr.Read())" as While does not exist in the current context
vinod.sambangi
20-Nov-12 3:21am
View
Which function??i could call
vinod.sambangi
19-Nov-12 8:33am
View
I think you might have said by using layering concept.But i want to display the details while the page was loading itself.So please tell me what to write while the page was loading to display the table data in a asp.net page
vinod.sambangi
19-Nov-12 5:31am
View
OK.Thank you.Actually it has taken some time to populate tha data in the table.After some time i checked the table it was populated.
vinod.sambangi
19-Nov-12 5:17am
View
I did as you said.The error was gone.I excuted it.I entered some data in the boxes.And clicked on insert button.it was clicked.But when i was checking in the table to conform whether the data was inserted ir not ,there is no data in the table
vinod.sambangi
19-Nov-12 4:50am
View
error beside "\" mark in 01HW235982\SQLEXPRESS2008 .It was saying error as unrecognized escape sequence.
vinod.sambangi
19-Nov-12 4:46am
View
i did as you said,connection was estableshed
.This time i used windows authentication while i was trying to establish a connection.A copied the connection string and pasted in the code.But It was saying error at beside the "\" mark as "unrecognized escape sequence".Please provide some solution.
vinod.sambangi
19-Nov-12 4:19am
View
i am getting error in Datasource name in the foolowing above code.What should i do?
vinod.sambangi
19-Nov-12 4:17am
View
string connectionstring = " Data Source=01HW235982\SQLEXPRESS2008;Initial Catalog=adarsh;Persist Security Info=True;User ID=sa;Password=Pass@123";
SqlConnection con = new SqlConnection(connectionstring);
con.Open();
SqlCommand com = new SqlCommand("INSERT INTO EMPLOYEE_TABLE(EmployeeID,Name,Address) VALUES (@EmployeeID, @Name,@Address )", con);
com.Parameters.AddWithValue("@EmployeeID", "122");
com.Parameters.AddWithValue("@Name", "m1");
com.Parameters.AddWithValue("@Address", "mj3");
com.ExecuteNonQuery();
vinod.sambangi
19-Nov-12 4:17am
View
Deleted
I have written following code in insert button click event
"string connectionstring = " Data Source=01HW235982\SQLEXPRESS2008;Initial Catalog=adarsh;Persist Security Info=True;User ID=sa;Password=Pass@123";
SqlConnection con = new SqlConnection(connectionstring);
con.Open();
SqlCommand com = new SqlCommand("INSERT INTO EMPLOYEE_TABLE(EmployeeID,Name,Address) VALUES (@EmployeeID, @Name,@Address )", con);
com.Parameters.AddWithValue("@EmployeeID", "122");
com.Parameters.AddWithValue("@Name", "m1");
com.Parameters.AddWithValue("@Address", "mj3");
com.ExecuteNonQuery();"
But i am getting error in the datasourcename.What should i do?
Show More