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 FeroseKhan (Top 9 by date)
FeroseKhan
12-Apr-16 2:58am
View
Hope this article may be helpful for you
http://geekswithblogs.net/dotNETvinz/archive/2008/09/12/bind-textbox-and-label-control-with-data-from-database.aspx
FeroseKhan
7-Apr-16 9:32am
View
R u trying get the selected item from the checkbox ?
If Yes
use the following code
string selectedId=string.Empty;
foreach (ListItem item in CHpagelist.Items)
{
if (item.Selected)
{
selectedId+= (selectedId.Length > 0 ? "," : string.Empty) + item.Value.ToString();
}
}
Now the selectedId variable will have the selected checkboxes Id
FeroseKhan
7-Apr-16 9:27am
View
"select * from fngetlastcodeofvillage('" + districtna + "','" + talukname + "','" + villagename + "');"
can u store the above query in to a string variable like
string query ="select * from fngetlastcodeofvillage('" + districtna + "','" + talukname + "','" + villagename + "');"
while executing this line of code add a watch ,copy the rendered query.
Try executing the Postgre SQL to know whether the query is rendered with out any syntax problem
FeroseKhan
16-Feb-16 6:54am
View
Thanks for your suggestion ,I hope it will work let me try and tell you
FeroseKhan
15-Sep-14 10:06am
View
ya i read and helped me thank u
FeroseKhan
29-Aug-14 2:15am
View
Thanks for your reply .
Your Query not retrieving the exact output.
It returns the output based on child1 table (i.e) it will return only first 2 records as per the sample
FeroseKhan
10-Oct-13 3:43am
View
Here is the entire code
<table >
<tr>
<td align="left" rowspan="2">
<asp:Label ID="lblPaymentFor" Text="Payment For*" runat="server" CssClass="label" />
</td>
<td align="left" rowspan="2">
<asp:DropDownList ID="ddlPaymentFor" AutoPostBack="true" runat="server" CssClass="textbox" Width="160px" />
</td>
<td align="left">
<asp:Label ID="lblBillNo" Text="Bill No:*" runat="server" CssClass="label" />
</td>
<td align="left">
<asp:TextBox ID="txtBillNo" runat="server" CssClass="textbox" Width="160px" />
</td>
<td align="left">
<asp:Button ID="btnShowParticularBill" runat="server" CssClass="button" Text="Show Particular Bill" Width="160px" OnClientClick="return ValidateParticularBill();" />
</td>
</tr>
<tr>
<td align="left">
<asp:Label ID="lblCustomerName" Text="Customer Name:*" runat="server" CssClass="label" />
</td>
<td align="left">
<asp:DropDownList ID="ddlCustomerName" runat="server" CssClass="textBox" Width="160px" />
</td>
<td align="left">
<asp:Button ID="btnShowFlexibleBill" runat="server" CssClass="button" Text="Show Customer Bill" Width="160px" OnClientClick="return ValidateFlexibleBill();"/>
</td>
</tr>
<tr>
<td colspan="5">
<asp:UpdatePanel ID="upBillDetails" runat="server" UpdateMode="Conditional" >
<contenttemplate>
<div align="right">
<asp:Button ID="btnPrint" Visible="false" runat="server" Text="Print" Width="120px" CssClass="button" OnClientClick="javascript:printDiv('pnlBill')" />
</div>
<asp:Panel ID="pnlBill" runat="server" Height="500px" ScrollBars="Auto">
<asp:Label ID="lblBillReport" runat="server" CssClass="label" />
<div>
<div align="left">
<asp:LinkButton ID="lbtnPaymentDetails" runat="server" Text="Click Here to View Payment Details" />
</div>
<div align="center">
<asp:Button ID="btnPaymentDetails" runat="server" CssClass="button" Text="Click To Enter Payment Details" Width="160px" />
</div>
</div>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="ddlPaymentFor" EventName="SelectedIndexChanged" />
</Triggers>
</td>
</tr>
</table>
FeroseKhan
10-Oct-13 3:42am
View
No i had not placed the target control in another update panel
FeroseKhan
10-Oct-13 3:41am
View
No i had not placed it in another update panel
Show More