15,891,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 Pr!y@ (Top 59 by date)
Pr!y@
14-Jul-16 12:40pm
View
Ohh Solved no-repeat was missing :) Thanks
Pr!y@
14-Jul-16 12:27pm
View
Sir this is not working on chrome, why ? any idea?
Pr!y@
14-Jul-16 12:27pm
View
Deleted
Sir this is not working on chrome, why ? any idea?
Pr!y@
11-Jul-16 12:41pm
View
will you please please remove the site link use this link
https://s32.postimg.org/3ks1zaggl/lightbulb.png
Pr!y@
26-Mar-15 13:58pm
View
Thanks Richard Sir.
Pr!y@
26-Mar-15 13:47pm
View
but xml is loading properly
Pr!y@
26-Mar-15 13:45pm
View
Please see xml format clicking link
Pr!y@
26-Mar-15 13:42pm
View
variable node is null and error is in string name
Pr!y@
13-Mar-15 15:09pm
View
Sir is there any other option because I have a lot of links in Master Page... and some are dynamic
Pr!y@
13-Mar-15 15:00pm
View
Sir it is working but is it good to use this in all the content ?
any issue in performance because now i have to change my all link to this ?
Pr!y@
29-Jan-13 9:24am
View
Deleted
Use NameSpace: using System.IO;
File.Delete(Server.MapPath("~/ProductImage/" + ProductImage));
Remember: Product Image should be in format : image.jpg......
Pr!y@
28-Jan-13 4:56am
View
What is this ???
Pr!y@
11-Jan-13 4:53am
View
But sir i am using custom control..
I know Cascading dropdown. my problem is that how to find id of 2nd dropdown
Pr!y@
5-Oct-12 7:49am
View
Not Working
Pr!y@
5-Oct-12 7:06am
View
i edit the code, only cb.Checked==false is executing....
if (cb.Checked==true)
{
// string x = "Delete from Persons where LastName='" + GridView1.Rows[i].Cells[0].Text + "'";
//SqlCommand cmd = new SqlCommand(x, con);
//cmd.ExecuteNonQuery();
Response.Write("cb is checked true<br>");
}
else if (cb.Checked==false)
{
Response.Write("cb checked is false<br>");
}
else
{
Response.Write("Other");
}
Pr!y@
5-Oct-12 7:05am
View
i edit the code, only cb.Checked==false is executing....
if (cb.Checked==true)
{
// string x = "Delete from Persons where LastName='" + GridView1.Rows[i].Cells[0].Text + "'";
//SqlCommand cmd = new SqlCommand(x, con);
//cmd.ExecuteNonQuery();
Response.Write("cb is checked true<br>");
}
else if (cb.Checked==false)
{
Response.Write("cb checked is false<br>");
}
else
{
Response.Write("Other");
}
Pr!y@
14-Sep-12 5:50am
View
Thanks......!!!
Pr!y@
12-Jun-12 4:04am
View
Thanks Sir, You are always help full ....!!! :)
Pr!y@
11-Jun-12 23:23pm
View
I have checked "Connection String" is correct
Pr!y@
2-Jun-12 15:08pm
View
Code is working Fine in My Computer Problem Occur when i upload it on GoDaddy
Pr!y@
2-Jun-12 15:06pm
View
@losmac1: Sir Please Have A Look on my updated ques. It is still not working after using Dispose... :(
Pr!y@
2-Jun-12 15:05pm
View
@NikhildPawar: Sir i tried but not working.. :(
Pr!y@
31-May-12 13:51pm
View
@ryanb31: Sir my page stop after 1st query.
I have Response.Redirect after last two code.
but only one query is executing ( i checked vales in database). another two are not executing.
and page is also not redirecting, it stops and no error... :(
Pr!y@
31-May-12 13:50pm
View
Deleted
@ryanb31: Sir my page stop after 1st query.
I have Response.Redirect after last two code.
but only one query is executing ( i checked vales in database). another two are not executing.
and page is also not redirecting, it stops and no error... :(
Pr!y@
31-May-12 10:04am
View
Please have a look on code
Pr!y@
29-May-12 23:34pm
View
Deleted
how ???
Pr!y@
25-May-12 14:36pm
View
Then what to do please answer
Pr!y@
13-May-12 11:46am
View
Welcome Andrew Chambers Sir :)
Pr!y@
13-May-12 3:54am
View
Set Hight of page 2000px or approx. according to data.
have a look on it also :
Dynamic Gridview Page Size Based on Screen Height
Pr!y@
12-May-12 16:05pm
View
I don't think page will change it's size according to GridView Size.
You can maximize your Page or use Paging
Pr!y@
8-May-12 12:45pm
View
Sir it is not working ..............!!!!!
SELECT up.UserName, up.Points
FROM UsersPoints up
WHERE
up.Points >100 AND
up.UserName NOT IN
(SELECT pg.UserName
FROM PrizeGiven pg
WHERE pg.Points=100
)
Your Previous answer is right but when i select points also it is not working !!!
Pr!y@
8-May-12 12:39pm
View
Thanks Sir,!!!
Pr!y@
6-May-12 18:53pm
View
Thankyou Very Much ....
Pr!y@
3-May-12 6:02am
View
Yes sir when i click LinkButton1 . Event is raised but value of that row's first column is not displaying in Label1. else statement is executing.
code:
protected void LinkButton1_Click(object sender, EventArgs e)
{
LinkButton myButton = sender as LinkButton;
if (myButton != null)
{
string title = myButton.CommandArgument;
// use this title now to set as a text for your label.
Label1.Text=title;
}
else
{ Response.Write("Not Show");
}
}
Pr!y@
3-May-12 6:00am
View
Deleted
Yes sir when i click LinkButton1 . Event is raised but value of that row's first column is not displaying in Label1. else statement is executing.
code:
protected void LinkButton1_Click(object sender, EventArgs e) { LinkButton myButton = sender as LinkButton; if (myButton != null) { string title = myButton.CommandArgument; Label1.Text=title;// use this title now to set as a text for your label. } else { Response.Write("Not Show"); } }
Pr!y@
2-May-12 14:30pm
View
protected void LinkButton1_Click(object sender, EventArgs e)
{
LinkButton myButton = sender as LinkButton;
if (myButton != null)
{
string title = myButton.CommandArgument;
// use this title now to set as a text for your label.
}
else
{
Response.Write("Not Show");
}
}
Hello Sir in solution else statement is executing not if....
Why?
while i am clicking button and it has vaues in collumn
Pr!y@
2-May-12 9:55am
View
Sorry,I forget to write my test code
Pr!y@
2-May-12 5:24am
View
Have a look on this thread :
Click me
Pr!y@
1-May-12 17:13pm
View
page is executing but hello is not printing
Pr!y@
26-Apr-12 16:20pm
View
Thanks Sandeep Mewara Sir,
I like your style of answering question,
Thanks For Help.
Pr!y@
26-Apr-12 15:27pm
View
Hidden Field in Asp.net
Pr!y@
11-Apr-12 15:13pm
View
Oh Sir I was Not Shouting
And sorry if it was so
Pr!y@
30-Jan-12 18:23pm
View
No sir i m working in asp.net 3.5 default id is TextBox
Pr!y@
30-Jan-12 18:02pm
View
string qry2 ="Update MyProfile Set Email='"+TextBox2.Text+"' Where UserName='Admin4'";
this query is also not updating value,
check your textbox spelling textBox2 or TextBox2---->TextBox2 (default)
Pr!y@
30-Jan-12 17:31pm
View
I Tried A Lot
Values Are Insering in this way:
"Update MyProfile Set Email='TextBox2.Text',......
and when i checked in sql table i found value TextBox2 in Email column means e mail id was not inserted
again i tried with -
"Update MyProfile Set Email='+TextBox2.Text+',......
Now Value in sql table of email was--->+TextBox2.Text+
Pr!y@
30-Jan-12 17:14pm
View
OK I am trying
Pr!y@
30-Jan-12 17:05pm
View
Yes Please hELP
Pr!y@
30-Jan-12 17:04pm
View
Thanks _Maxxx_
Pr!y@
30-Jan-12 17:01pm
View
Code Executed No error, but values are not inserting :(
Pr!y@
30-Jan-12 16:53pm
View
Deleted
it showed invalid column name aa
where aa is inserted value in textbox
Pr!y@
30-Jan-12 16:37pm
View
Thanks A Lot theanil Sir
But I have Question that why should i not use this procedure ?
string qry2 = "Update MyProfile Set Email='"+TextBox2.Text+"',FullName='"+TextBox3.Text+"',PostalAddress='"+TextBox4.Text+"',City='"+TextBox5.Text+"',State='"+TextBox6.Text+"',Country='"+TextBox7.Text+"',Pin='"+TextBox8.Text+"' Where UserName='Amit'";
cmd = new SqlCommand(qry2, con);
cmd.ExecuteNonQuery();
Pr!y@
30-Jan-12 16:26pm
View
Thanks Naicker Sir,
Pr!y@
24-Jan-12 16:48pm
View
Thanka Man :)
Pr!y@
3-Jan-12 6:56am
View
Thanks Mika Wendelius
Pr!y@
2-Jan-12 10:15am
View
If I am not using :::
GridView1.Columns[0].Visible = false;
GridView1.Columns[1].Visible = false;
Then Grid View is Showing all 5 Column
I have added a Hyper Link Also With Hyper Link Total Column are 6.
Pr!y@
28-Dec-11 8:01am
View
Yours Most Welcome
Pr!y@
28-Dec-11 2:29am
View
No sir i am Indian
Iraado me ho dam to hr mushkil hoti hai aasaan !!!.....
Means if your thinking is strong then everything is easy !!!
Actually sir i am new here
and I want more and more knowledge
so i joined this forum
You people are my senior, I respect to all
Nice to Talk with you !!!! :)
Pr!y@
26-Dec-11 0:26am
View
Thanks Sir
Pr!y@
25-Dec-11 12:38pm
View
Yes you are right but i will tell you soon that i have created a good website,
i hope so,,,,,
Show More