15,898,134 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 Member 10874581 (Top 70 by date)
Member 10874581
29-Jul-16 13:37pm
View
still not working.:(
Member 10874581
26-Jul-16 2:27am
View
ok i send to you login view.
Member 10874581
12-Jul-16 14:56pm
View
not clear
Member 10874581
19-Aug-15 23:39pm
View
yups same error
Member 10874581
19-Aug-15 23:39pm
View
what u did say i did..
Member 10874581
19-Aug-15 6:30am
View
not working
Member 10874581
29-May-15 2:23am
View
nt working..
Member 10874581
1-Apr-15 4:38am
View
ok mention not
Member 10874581
1-Apr-15 4:16am
View
sir can i have your mail id
Member 10874581
1-Apr-15 3:58am
View
thanks a lot sir..
Member 10874581
1-Apr-15 3:49am
View
my insert command is dis..
Member 10874581
1-Apr-15 3:49am
View
da = new SqlDataAdapter("insert into shop02 ( firstname, lastname, gender,email,city, state,country, mobile) values('"+TextBox1.Text+"','"+TextBox2.Text+"','"+TextBox3.Text+"','"+TextBox3.Text+"', '"+TextBox4.Text+"','"+TextBox5.Text+"', '"+TextBox6.Text+"', '"+TextBox7.Text+"', '"+TextBox8.Text+"')", con);
Member 10874581
1-Apr-15 3:43am
View
when i am submiting data to database the error is coming and error is...There are fewer columns in the INSERT statement than values specified in the VALUES clause
Member 10874581
1-Apr-15 2:56am
View
than in first block we should say user name exist ...because we are getting data
Member 10874581
31-Mar-15 7:13am
View
when i am installing internet explorer than some problem is coming..ie u need window 7 sp1 or sever2008 r2 spi to install than i will be able t0 ie 11
Member 10874581
31-Mar-15 7:13am
View
when i am installing internet explorer than some problem is coming..ie u need window 7 sp1 or sever2008 r2 spi to install than i will be able t0 ie 11
Member 10874581
31-Mar-15 6:43am
View
when i am installing internet explorer than some problem is coming..ie u need window 7 sp1 or sever2008 r2 spi to install than i will be able t0 ie 11
Member 10874581
3-Feb-15 13:37pm
View
ok kindly help me
Member 10874581
3-Feb-15 5:43am
View
ok thanks
Member 10874581
3-Feb-15 5:40am
View
ok sir sorry for that but try to solve my problem
Member 10874581
31-Jan-15 3:26am
View
still not coming.
Member 10874581
31-Jan-15 3:06am
View
Images are in my project folder content/images/image_name
i am giving path of images folder instead only icon of image is coming but image what i want to dispaly not coming on this icon
Member 10874581
31-Jan-15 3:02am
View
are u on teamviewer??
Member 10874581
31-Jan-15 2:59am
View
When i am runing my web page than logo image as well as other images are not display
on my web page
Member 10874581
2-Dec-14 2:49am
View
protected void Button1_Click(object sender, EventArgs e)
{
localhost.Service1 tt = new localhost.Service1();
int a = int.Parse(TextBox1.Text);
int b = int.Parse(TextBox2.Text);
int yy = tt.add(a, b);
Label3.Text = "add" + yy.ToString();
}
error is coming
Member 10874581
2-Dec-14 2:48am
View
protected void Button1_Click(object sender, EventArgs e)
{
localhost.Service1 tt = new localhost.Service1();
int a = int.Parse(TextBox1.Text);
int b = int.Parse(TextBox2.Text);
int yy = tt.add(a, b);
Label3.Text = "add" + yy.ToString();
}
Member 10874581
2-Dec-14 2:29am
View
not working
Member 10874581
2-Dec-14 0:53am
View
Thankew:-) praveen sir.
Member 10874581
1-Dec-14 7:09am
View
ya sure runing on 42030..i did copy the url of webservice from browser and paste during refrence a service to mine project..kindly help me
Member 10874581
28-Nov-14 2:23am
View
geting exception:- System.Web.HttpException: Control 'ctl00_Calendar1' of type 'Calendar' must be placed inside a form tag with runat=server.
Member 10874581
21-Nov-14 4:46am
View
yes working.. when my service is runing bue when i am adding refrence to mine project than showing that web service not found
Member 10874581
21-Nov-14 3:26am
View
I did make a webservice.Now i am trying to call mine web service to my web project when i am doin web service refrence and than i am enter the url of service in mine project than this error is coming kindly help me
Member 10874581
20-Nov-14 2:51am
View
I want to know that before adding dataset to my project i will have to add sql datasource to myproject
Member 10874581
17-Nov-14 6:05am
View
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{ string constr = System.Configuration.ConfigurationManager.ConnectionStrings["touchConnectionString"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
SqlDataAdapter adp = new SqlDataAdapter();
SqlCommand cmd = new SqlCommand( " select userid , FIRSTNAME from register where userid = select( Max(userid) from register)");
con.Open();
SqlDataReader dr = cmd.ExecuteReader();
while( dr.Read())
{
Label1.Text = dr["userid"].ToString();
Label2.Text = dr["FIRSTNAME"].ToString();
}
con.Close();
}
}
Member 10874581
17-Nov-14 6:04am
View
I am trying this code bt also giving error execute reader : connection property string not intitilized
Member 10874581
17-Nov-14 6:03am
View
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{ string constr = System.Configuration.ConfigurationManager.ConnectionStrings["touchConnectionString"].ConnectionString;
SqlConnection con = new SqlConnection(constr);
SqlDataAdapter adp = new SqlDataAdapter();
SqlCommand cmd = new SqlCommand( " select userid , FIRSTNAME from register where userid = select( Max(userid) from register)");
con.Open();
SqlDataReader dr = cmd.ExecuteReader();
while( dr.Read())
{
Label1.Text = dr["userid"].ToString();
Label2.Text = dr["FIRSTNAME"].ToString();
}
con.Close();
}
}
giving error connecction execute reader: connection property not initilized what is this?
Member 10874581
17-Nov-14 5:22am
View
and this error is also coming...An aggregate may not appear in the WHERE clause unless it is in a subquery contained in a HAVING clause or a select list, and the column being aggregated is an outer reference.
Member 10874581
17-Nov-14 5:20am
View
data is not dislpaying to my labels
Member 10874581
15-Nov-14 1:43am
View
I Want...to display alert box....when user click on button when textbox empty.
Member 10874581
14-Nov-14 3:42am
View
when i am clicking on button than it is redirecting to another page without verifing that either i have enter value in textbox or not r u on team viewer.
Member 10874581
14-Nov-14 2:27am
View
I have been applied but still not working
Member 10874581
14-Nov-14 2:08am
View
where??
Member 10874581
13-Nov-14 0:06am
View
sending failedThe SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.this error is coming.
Member 10874581
13-Nov-14 0:06am
View
sending failedThe SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. this is error what should i do???
Member 10874581
13-Nov-14 0:04am
View
error is this."sending failed The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required"
Member 10874581
12-Nov-14 23:55pm
View
yes
Member 10874581
12-Nov-14 6:32am
View
still not geting..
Member 10874581
12-Nov-14 2:33am
View
geting error sending failed
Member 10874581
5-Nov-14 6:57am
View
yups i am trying since too long but not able to success kindly help me.if u are having auther alternative than kindly send me
Member 10874581
3-Nov-14 5:39am
View
this is a mine code i want to know how can i use java script code on it means at which portion i have to put mine java script code on it.
Member 10874581
3-Nov-14 4:18am
View
that means i have to type <head></head> than type java script code in this head tag .
Member 10874581
3-Nov-14 1:33am
View
master page in note loading when i am applying java scriptcode on it where should i use java script code in this page
Member 10874581
31-Oct-14 8:04am
View
thanks
Member 10874581
31-Oct-14 7:48am
View
checked value is coming
Member 10874581
9-Oct-14 9:15am
View
can u give a example please
Member 10874581
8-Oct-14 10:59am
View
from where i can remove definition
Member 10874581
8-Oct-14 10:59am
View
i am asking that how can i overcome from this problem
Member 10874581
5-Oct-14 3:47am
View
not getting from this
Member 10874581
30-Sep-14 7:45am
View
databse fields firstname, secondname, phonenumber, address , email , password, query .i have to show password and username of user after submitting data tonext page on label
Member 10874581
30-Sep-14 7:21am
View
mine code is correct or not..
Member 10874581
30-Sep-14 6:55am
View
ublic partial class _Default : System.Web.UI.Page
{
string strConnString = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
string str;
SqlCommand com;
protected void Page_Load(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection(strConnString);
con.Open();
str = "select * from emp";
com = new SqlCommand(str, con);
SqlDataReader reader = com.ExecuteReader();
reader.Read();
labelname1.Text = reader["Name"].ToString();
reader.Read();
labelname2.Text = reader["Name"].ToString();
reader.Read();
labelname3.Text = reader["Name"].ToString();
reader.Close();
con.Close();
con.Open();
SqlDataReader reader1 = com.ExecuteReader();
reader1.Read();
labelage1.Text = reader1["Age"].ToString();
reader1.Read();
labelage2.Text = reader1["Age"].ToString();
reader1.Read();
labelage3.Text = reader1["Age"].ToString();
reader.Close();
con.Close();
}
}
}
i have tried this code bt it is only fetching the first row from table bt i want to fetch latest row in the label please help..
Member 10874581
30-Sep-14 6:54am
View
ublic partial class _Default : System.Web.UI.Page
{
string strConnString = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
string str;
SqlCommand com;
protected void Page_Load(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection(strConnString);
con.Open();
str = "select * from emp";
com = new SqlCommand(str, con);
SqlDataReader reader = com.ExecuteReader();
reader.Read();
labelname1.Text = reader["Name"].ToString();
reader.Read();
labelname2.Text = reader["Name"].ToString();
reader.Read();
labelname3.Text = reader["Name"].ToString();
reader.Close();
con.Close();
con.Open();
SqlDataReader reader1 = com.ExecuteReader();
reader1.Read();
labelage1.Text = reader1["Age"].ToString();
reader1.Read();
labelage2.Text = reader1["Age"].ToString();
reader1.Read();
labelage3.Text = reader1["Age"].ToString();
reader.Close();
con.Close();
}
}
}
i amusing this code this is fetching only first row from table i want to fetch the latest value from table which has been inserted please help me
Member 10874581
30-Sep-14 6:49am
View
ok i will provide
Member 10874581
30-Sep-14 6:48am
View
i am using sql 2008 bt the code i am using fetching only first row.
Member 10874581
13-Sep-14 3:52am
View
kkk..mine mail is gvikrant0@gmail.com
Member 10874581
13-Sep-14 3:29am
View
tell what should i apply in it
Member 10874581
13-Sep-14 3:28am
View
please..
Member 10874581
13-Sep-14 3:27am
View
can u give me whole code for that..can i apply session in it and insert the value in database
Member 10874581
13-Sep-14 3:26am
View
yes this one but i want to know which concept will apply in it
Member 10874581
13-Sep-14 3:17am
View
lets i am open form and goin to order some thing than the label should show integer value like ordenumber 111 and this value will have to insert in database and after some other person order some other thing than label should show value order number 112 this value also inserted in database same thing will be goin on for diffrent orders kindly help me it's urgent
Show More