15,900,818 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 jacobjohn196 (Top 35 by date)
jacobjohn196
4-Sep-14 8:44am
View
Post your FillBMSGrid(); and FillTreasuryGrid(); code here. Use "improve question" link.
jacobjohn196
18-Jul-14 8:31am
View
var text=document.getElementById("txt").value;
if(text.ToString().trim()=="")
{
alert("Please enter Serial Number");
document.getElementById("txt").focus();
return false;
}
jacobjohn196
14-May-14 7:51am
View
Create whatever tabs you want in your aspx page and make the style="display:none". When you click on the add button, make the display:block/inline using javascript and "display:none" for delete. <br>
"Open"->show<br>
"Delete"->hide<br>
;)
jacobjohn196
17-Apr-14 8:33am
View
Are you calling Respone.Redirect("") after alert code?
jacobjohn196
17-Apr-14 8:30am
View
protected void btnAlert_Click(object sender, EventArgs e)
{
ScriptManager.RegisterStartupScript(this, GetType(), "showalert", "alert('This is an alert');", true);
}
This should work.
If this is not working, Check your browser setting.
jacobjohn196
16-Apr-14 9:57am
View
I'm sorry.i've updated the answer.
And,Answering would be better than judging. :)
jacobjohn196
16-Apr-14 4:31am
View
What You have written in GridView1_SelectedIndexChanged event?
jacobjohn196
14-Apr-14 3:08am
View
Check Your Connection string.Make sure that you have given correct userid and password.
jacobjohn196
7-Apr-14 5:15am
View
Add->New Folder
jacobjohn196
7-Apr-14 4:38am
View
Hi,
If you have any code in pageload, put it inside if(!IsPostBack).
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
//Your code
}
}
jacobjohn196
4-Apr-14 7:09am
View
you are welcome. :)
jacobjohn196
2-Apr-14 5:45am
View
You should save your images into a folder within your website. Otherwise,If you host your application it won't show.
jacobjohn196
2-Apr-14 3:08am
View
Using radio button inside gridview for selecting row is easy.
jacobjohn196
24-Mar-14 6:20am
View
What kind of table? HTML Table or DataTable or some other?
jacobjohn196
14-Mar-14 1:28am
View
Remove CssClass if any
jacobjohn196
4-Sep-13 7:04am
View
Deleted
:(
jacobjohn196
4-Sep-13 6:46am
View
Thanks Rohan Leuva, But there is no solution in it.
jacobjohn196
2-Sep-13 8:25am
View
Not working for me..My full CSS is:
body {
}
#main-nav {
background: #7dad16;
background: -moz-linear-gradient(top, #7dad16 0%, #547b00 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7dad16), color-stop(100%,#547b00));
background: -webkit-linear-gradient(top, #7dad16 0%,#547b00 100%);
background: -o-linear-gradient(top, #7dad16 0%,#547b00 100%);
background: -ms-linear-gradient(top, #7dad16 0%,#547b00 100%);
background: linear-gradient(top, #7dad16 0%,#547b00 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7dad16', endColorstr='#547b00',GradientType=0 );
float:none;
width: 100%;
z-index: 1000;
}
#main-nav ul {
font-family: 'Droid Sans', sans-serif;
font-size: .9em;
font-weight: bold;
list-style: none;
}
#main-nav ul li {
border-left: 1px solid #7dad16;
float: left;
}
#main-nav ul li:first-child {
border: none;
}
#main-nav ul li a {
color: #2b4001;
display: block;
padding: 20px;
position: relative;
width: 139px;
text-decoration: none;
text-shadow: 0 1px 1px #9fc255;
}
#main-nav ul li a span.drop-down {
background: url(../images/down-arrow_green_10x7.png) no-repeat;
height: 7px;
position: absolute;
right: 20px;
top: 24px;
width: 10px;
}
#main-nav ul li:hover {
background: #7dad16;
}
#main-nav ul li ul {
display: none;
}
#main-nav ul li:hover ul {
background: url(../images/trans_green-70.png);
display: block;
font-size: .9em;
font-weight: normal;
padding: 10px;
position: absolute;
}
#main-nav ul li ul li {
float: none;
display: block;
border-left: none;
position: relative;
}
#main-nav ul li ul li a {
width: 170px;
padding: 15px 10px;
border-top: dotted 1px #7dad16;
color: #fff;
}
jacobjohn196
18-Jun-13 2:11am
View
Thanks,, Suppose i'm creating three textboxes t1,t2,t2 and entered a,b,c in each textbox respectievely. Then It shows abc in t1.
jacobjohn196
30-Apr-13 2:30am
View
Thanx OriginalGriff
jacobjohn196
18-Apr-13 0:38am
View
Thank you Amit. I tried this code,but its also not working.
jacobjohn196
17-Apr-13 8:35am
View
If i create dummy button how the animation will occur when i click in the grid view link button??
jacobjohn196
17-Apr-13 8:33am
View
Deleted
Then how the animation will occur when i click in the grid view linkbutton??
jacobjohn196
17-Apr-13 8:19am
View
Yeah,,i wrote like this
protected void Show_Button_click(object sender, EventArgs e)
{
LinkButton Edit = (LinkButton)sender;
GridViewRow gvrow = (GridViewRow)Edit.NamingContainer;
lblID.Text = gvrow.Cells[0].Text;
txtname.Text = gvrow.Cells[1].Text;
txtcompany.Text = gvrow.Cells[2].Text;
txtprofession.Text = gvrow.Cells[3].Text;
txtadd1.Text = gvrow.Cells[4].Text;
txtadd2.Text = gvrow.Cells[5].Text;
txtcity.Text = gvrow.Cells[6].Text;
txtpincode.Text = gvrow.Cells[7].Text;
ddltype.Text = gvrow.Cells[8].Text;
ddlstatus.Text = gvrow.Cells[9].Text;
this.ModalPopupExtender1.Show();
}
jacobjohn196
17-Apr-13 8:11am
View
Once i have used OnClick event for Modal Popup
<asp:LinkButton ID="Edit" runat="server" OnClick="Show_Button_click" Text="Edit" CausesValidation="False" />
jacobjohn196
5-Mar-13 4:50am
View
i'm getting the data from dataset
jacobjohn196
18-Feb-13 23:34pm
View
I tried many progrmas from google. but nothing is working, even the code in codeproject.
jacobjohn196
4-Feb-13 4:27am
View
Hai Jibesh.
Your initial thought was absolutely right.The datagridview.rows.add() line was missing in that code.
Now everything works fine.
Thanks once again.
jacobjohn196
4-Feb-13 4:09am
View
Thank you Sergey, But I have only four fields in the table.
jacobjohn196
4-Feb-13 4:09am
View
Deleted
Thank you Sergey, But I have only four fields in the table.
jacobjohn196
4-Feb-13 4:02am
View
We need to display the data from the table using the datagridview. But it shows an error message "Index was out of range " when we try to assign the data from the data table to datagridview.
How can we solve this problem?
Thanks
jacobjohn196
3-Jan-13 5:36am
View
I'm abeginner..:)
jacobjohn196
3-Jan-13 5:35am
View
I've solved it.
jacobjohn196
3-Jan-13 2:06am
View
While executing the program,an exception arises that shows "There is already an open DataReader associated with this Command which must be closed first".
I want to insert the username and password into the database if it is not already existing.
jacobjohn196
3-Jan-13 1:48am
View
Can anyone correct the mistake?
Show More