15,901,122 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 Member 9567873 (Top 15 by date)
Member 9567873
11-Jul-13 6:33am
View
i have again changed the code like this. but then also it is not working.
int n = int.Parse(txtenternoofrows.Text);
int i, j, k, space;
for (i = 1; i <= n; i++)
{
for (j = 1; j < i + 1; j++)
{
for (k = 1; k < j + 1; k++)
{
Response.Write(k);
k++;
}
}
Response.Write("<br/>");
}
for (i = 1; i <= n; i--)
{
for (space = 1; space < n; space++)
{
Response.Write(" ");
}
for (n = 1; n < space; n++)
{
Response.Write("n");
}
}
Member 9567873
11-Jul-13 4:25am
View
i have changed the code like this
for (i = 1; i <= n; i--)
{
for (j = 1; j < i - 1; j++)
{
for (k = 1; k < j - 1; k--)
{
Response.Write(k);
k++;
}
}
Response.Write("<br/>");
}
for (i = 1; i <= n; i++)
{
for (space = 1; space < n; space++)
{
Response.Write(" ");
}
for (n = 1; n < space; n--)
{
Response.Write("n");
}
}
then also it is not working
Member 9567873
11-Jul-13 2:46am
View
the code is giving a different output.
Member 9567873
11-Jul-13 2:24am
View
please give in asp.net.
Member 9567873
11-Jul-13 2:24am
View
Please give in asp.net
Member 9567873
1-Jul-13 5:56am
View
thank you it worked
Member 9567873
1-Jul-13 5:47am
View
i have tried this code but it is not working for me.
Member 9567873
8-May-13 8:06am
View
i have changed the code as you said but then also it is not working
Member 9567873
15-Apr-13 6:09am
View
it worked thank you very much
Member 9567873
15-Apr-13 6:07am
View
i have used the code but it not working.
Member 9567873
28-Feb-13 1:12am
View
Here I am pasting the code.
protected void grdItems_RowUpdating(object sender, GridViewUpdateEventArgs e)
{
lblMsg.Text = string.Empty;
ItemManagementObject item = new ItemManagementObject();
ItemManagementDetails Itemdetails = new ItemManagementDetails();
Status status = new Status();
InventoryClient objService = new InventoryClient();
try
{
string Id = grdItems.DataKeys[e.RowIndex].Value.ToString();
GridViewRow row = grdItems.Rows[e.RowIndex];
//Label id = (Label)row.FindControl("uplbluserid");
TextBox itemname = (TextBox)row.FindControl("txtItemName");
DropDownList itemtype = (DropDownList)row.FindControl("ddlItemType");
TextBox location = (TextBox)row.FindControl("txtLocation");
TextBox Quantity = (TextBox)row.FindControl("txtQty");
TextBox UnitCost = (TextBox)row.FindControl("txtUnitCost");
item.Id = Convert.ToInt32(Id);
item.StoreId = Convert.ToInt32(ddlStoreId.SelectedValue);
item.ItemName = itemname.Text;
item.ItemType = Convert.ToInt32(itemtype.SelectedItem.Value);
item.Location = location.Text;
item.Quantity = Convert.ToDecimal(Quantity.Text);
item.Cost = Convert.ToDecimal(UnitCost.Text);
status = objService.FillValuesItem(item);
if (status.CallStatus == true)
{
if (status.ProcedureStatus == true)
{
lblMsg.Text = "Saved Successfully";
}
else
{
lblMsg.Text = "ItemName are already exists";
}
}
grdItems.EditIndex = -1;
BindGrid();
}
Member 9567873
27-Feb-13 7:15am
View
i have added .Distinct() but it is not working.
Member 9567873
27-Feb-13 7:08am
View
no i have not used please tell me how to use it
Member 9567873
27-Feb-13 6:59am
View
I have posted the code please see the code and please help me
Member 9567873
27-Feb-13 6:55am
View
this is my code
public void DropDownFill()
{
ItemManagementDetails itemDetails = new ItemManagementDetails();
ListItemForDropDown list = new ListItemForDropDown();
InventoryClient objService = new InventoryClient();
list = objService.FillDropDownStore();
list.List.RemoveAt(0);
ddlStoreId.DataSource = list.List.OrderBy(x => x.Text);
ddlStoreId.DataBind();
ddlStoreId.Items.Insert(0, "--Select --");
}
Show More