16,018,664 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 Visual Basic questions
View Javascript questions
View .NET 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 Manzoor Ahmed P (Top 10 by date)
Manzoor Ahmed P
18-May-16 6:08am
View
@Zafar Sultan
What you have explained here is correct and I understand that, but my concern is how the compiler differentiate this?
As #Kornfeld Eliyahu Peter has commented 'Context and syntax...'
Manzoor Ahmed P
20-Nov-13 6:48am
View
IT_Code is the link between two
Manzoor Ahmed P
20-Nov-13 5:59am
View
Nick Fisher
this was the error when i tried!
Subquery returned more than 1 value. This is not permitted when the subquery follows =
Manzoor Ahmed P
13-Nov-13 5:42am
View
Thank you friends!
Manzoor Ahmed P
5-Nov-13 0:29am
View
Thank you... Sergey Alexandrovich Kryukov
I am getting the temperature value as a input string!
Manzoor Ahmed P
30-Oct-13 7:17am
View
Sorry, I am totally new... Can u tell me where to put this ? in head section or in the body section of content page or master page?
Manzoor Ahmed P
22-Oct-13 0:15am
View
thank u VeeraAnnapureddy...
I did something similar like this
CREATE TABLE dbo.tblCompany
(ID INT IDENTITY(1,1) NOT NULL PRIMARY KEY CLUSTERED,
CompanyID AS 'X-' + RIGHT('00000' + CAST(ID AS VARCHAR(5)), 5) PERSISTED,
.... your other columns here....
)
Manzoor Ahmed P
17-Oct-13 0:52am
View
Thanks Everybody!...
Sorry for late reply, actually i wa on holiday
The problem was My master page's EnableViewState property was false !
Manzoor Ahmed P
12-Oct-13 3:58am
View
Sorry i m late i was out for lunch...
this is how i m filling Grid
public void BindGridNewPOReq()
{
using (SqlConnection conn = new SqlConnection())
{
try
{
conn.ConnectionString = ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
using (SqlCommand cmd = new SqlCommand())
{
DataTable dt = new DataTable();
string cmdText = "select * from PLNGPRItemDet where(type = 'Purchase Order' and POStatus = 'pending @ purchase') ORDER BY JobNo ASC ";
cmd.CommandText = cmdText;
cmd.Connection = conn;
SqlDataAdapter da = new SqlDataAdapter(cmd);
conn.Open();
da.Fill(dt);
GrvNewPORequests.DataSource = dt;
GrvNewPORequests.DataBind();
GrvNewPORequests.Columns[1].Visible = false;
conn.Close();
}
}
catch (Exception ex)
{
}
}
if (GrvNewPORequests.Rows.Count < 1)
{
lblNoNewReq.Visible = true;
panelTop.Visible = false;
}
}
Manzoor Ahmed P
12-Oct-13 1:27am
View
<asp:GridView ID="GrvNewPORequests" runat="server" Width="98%"
AutoGenerateColumns="false" GridLines="Both">
<footerstyle backcolor="#E7E7FF" forecolor="#4A3C8C">
<%--<rowstyle backcolor="#E7E7FF" forecolor="#4A3C8C">--%>
<columns>
<asp:TemplateField HeaderText="" ShowHeader="false">
<itemtemplate>
<asp:CheckBox ID="cbApprove" runat="server" />
<asp:TemplateField HeaderText="PriceUID" ShowHeader="false">
<itemtemplate>
<asp:Label ID="lblPriceUID" runat="server" Text='<%#Eval("PriceUID") %>'>
<asp:TemplateField HeaderText="Item Name" ShowHeader="true">
<%--<controlstyle width="auto">--%>
<itemtemplate>
<asp:Label ID="lblIT_Name" runat="server" Text='<%#Eval("IT_Name") %>'>
<asp:TemplateField HeaderText="Description" ShowHeader="true">
<itemtemplate>
<asp:Label ID="lblDRGDesc" runat="server" Text='<%#Eval("DRGDesc") %>'>
<asp:TemplateField HeaderText="Quantity" ShowHeader="true">
<itemtemplate>
<asp:Label ID="lblQty" runat="server" Text='<%#Eval("Qty") %>'>
<asp:TemplateField HeaderText="Req Date" ShowHeader="true">
<itemtemplate>
<asp:Label ID="lblReqDate" runat="server" Text='<%#Eval("ReqDate", "{0:dd-MMM-yyyy}") %>'>
<asp:TemplateField HeaderText="Instructions" ShowHeader="true">
<itemtemplate>
<asp:Label ID="lblInstruction" runat="server" Text='<%#Eval("instructions") %>'>
<asp:TemplateField HeaderText="JobNo" ShowHeader="true">
<itemtemplate>
<asp:Label ID="lblJobNo" runat="server" Text='<%#Eval("JobNo") %>'>
<%--<asp:TemplateField HeaderText="Delete" ShowHeader="false">
<itemtemplate>
<asp:ImageButton ID="ImageDelete" runat="server" ImageUrl="~/Images/icon-delete.gif" CommandName="delete"
OnClientClick="return ConfirmOnDelete();" />
--%>
<HeaderStyle CssClass="GridviewScrollHeader" />
<rowstyle cssclass="GridviewScrollItem">
<PagerStyle CssClass="GridviewScrollPager" />
Show More