15,885,366 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 naren programmers (Top 21 by date)
naren programmers
15-Mar-13 6:15am
View
i want to know how to integrate payu in asp.net (c#)
https://www.payu.in/index
naren programmers
23-Aug-12 7:02am
View
i talking about if i upload something use ftp or server restart due to maintenance
then i want to fire some code and that should happen automatically.
naren programmers
21-Jun-12 2:25am
View
how to implement domain booking on a website
naren programmers
20-Jun-12 4:26am
View
the application which i got there is a user table and employer table both have a email column the field should not be the same as this is an email , i can not convert these table to one table and then apply unique constraint as the application is at its final stage
naren programmers
31-Mar-12 2:57am
View
sir i want to know more thing. is login id implementation free. is this possible to use on my asp.net website . there are some of great concept are these free. link to those given below http://wiki.openid.net/w/page/25453698/Gallery
naren programmers
22-Feb-12 5:45am
View
open file dialog
naren programmers
22-Feb-12 4:56am
View
Deleted
multiple images
naren programmers
10-Feb-12 10:56am
View
i seen it but this is creating a session but i want to access that session which
is created at login time.
naren programmers
25-Dec-11 2:04am
View
Deleted
i downloaded all this connector and tried lots of other articles which you
given this is also tried and googled lots of thing
did not helped me becuase i get an error ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified i connected it with netbeans it worked fine but in asp.net i am not able to work it
have you tried it your self if yes then please give me right solution . i use sql server and asp.net but i am not able to use mysql with asp.net
naren programmers
22-Dec-11 14:46pm
View
Deleted
i downloaded all this connector and tried lots of other articles which you
given this is also tried and googled lots of thing
did not helped me becuase i get an error ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified i connected it with netbeans it worked fine but in asp.net i am not able to work it
have you tried it your self if yes then please give me right solution . i use sql server and asp.net but i am not able to use mysql with asp.net
naren programmers
22-Dec-11 12:29pm
View
Deleted
it confuse me please give a working example thanks in advance
naren programmers
22-Dec-11 12:16pm
View
i tried both i did not understand what to do becuse i did not get how to make it run i studied these before and uploaded this page on server
please see the page u will see connection string too
http://programmersvalley.com/default3.aspx
but error is
ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
if you see this url u can see the connection string also please see and revert back
please help
naren programmers
22-Dec-11 12:01pm
View
Deleted
i tried both i did not understand what to do becuse i did not get how to make it run i studied these before and uploaded this page on server
http://programmersvalley.com/default3.aspx
but error is
ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
if you see this url u can see the connection string also please see and revert back
please help
naren programmers
30-Nov-11 5:42am
View
this is final solution
if(count($_POST)>0)
{
do whatever you want with user information - save in db or mail etc
& show download contents here
}
else
{
show form(with Post method) here, action will be downloads.php
naren programmers
29-Nov-11 4:17am
View
in firefox this is not working on some computer please help me out i am also using jquery
this is the full code
the link is here
http://shaktimachinerystore.com/downloads.php
in this page i am using the code of jquery which will fire on unload of page
<script type="text/javascript">
window.onunload = dostuff();
function dostuff() {
$.get("http://shaktimachinerystore.com/clear.php");
$.ajax({url:"http://shaktimachinerystore.com/clear.php?", async:false});
alert('bye');
}
</script>
in clear.php i wrote
<!--?php session_start();
session_unset();
session_destroy();
??-->
and in downloads page to hide and show the forms and links i used
<!--?php
if(isset($_SESSION['temp'])){
echo '<div style="display:none;"?-->';
}
?>
<form name="frm1" method="post" action="downloadsmail.php" >
<!--?php
if(isset($_SESSION['temp'])){
echo '</div?-->';
}
?>
i am giving only the form tag to be precise
and below is table in variable $tableshow which will echo if session have any value
<!--?php $tableshow='<table class="maintab" border="0" cellpadding="0" cellspacing="0" style="width: 100%"?-->
<tr>
<td style="width: 40%; height: 90px; text-align: center">
<img border="0" src="images/pdfownimg_23.jpg" />
</td>
<td style="width: 31%; height: 90px; text-align: center">
<img border="0" src="images/pdfownimg_25.jpg" />
</td>
<td style="width: 33%; height: 90px; text-align: center">
<img border="0" src="images/pdfownimg_27.jpg" />
</td>
</tr>
<tr>
<td style="width: 40%; height: 76px; text-align: center">
<img border="0" src="images/pdfownimg_32.jpg" />
</td>
<td style="width: 31%; height: 76px; text-align: center">
<img border="0" src="images/pdfownimg_34.jpg" />
</td>
<td style="width: 33%; height: 76px">
</td>
</tr>
<tr>
<td colspan="3" style="width: 40%;text-align:center; font-size:12px;">
Don’t have PDF reader.
Click here to Download Pdf Reader.
</td>
</tr>
</table>';
if(isset($_SESSION['temp'])){
echo $tableshow;
}
?>
naren programmers
26-Nov-11 5:59am
View
Deleted
in firefox this is not working on some computer please help me out
i am also using jquery
window.onunload = dostuff();
function dostuff() {
$.get("http://sitename.com/clear.php");
}
in clear.php place
<?php session_start();
session_unset();
session_destroy();
?>
that is all
naren programmers
26-Nov-11 4:34am
View
what i want that i have a form,when user fill the form the form hide and downloads link get shown . after that when use leave this page and user visit again this particular page user must not see the download link but he must see the form again please not that other page are made in html please see and reply
naren programmers
19-Sep-11 12:30pm
View
could you please give me complete example
naren programmers
18-Sep-11 5:31am
View
please give more information
naren programmers
17-Sep-11 14:43pm
View
try this
design
<div>
<asp:RadioButtonList ID="radio" runat="server" AutoPostBack="True"
onselectedindexchanged="radio_SelectedIndexChanged">
<asp:ListItem>Usa
<asp:ListItem>Uk
<asp:TextBox ID="TextBox1" runat="server"><asp:TextBox ID="TextBox2"
runat="server">
</div>
code behind
protected void radio_SelectedIndexChanged(object sender, EventArgs e)
{
TextBox1.Text = "";
TextBox2.Text = "";
switch (radio.SelectedIndex) {
case 0:
TextBox1.Text = radio.Items[0].Text;
break;
case 1:
TextBox2.Text = radio.Items[1].Text;
break;
default:
break;
}
naren programmers
17-Sep-11 14:17pm
View
this is the best way to do.try it.
happy coding
Show More