15,906,455 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 xibit89 (Top 56 by date)
xibit89
12-Jun-15 3:55am
View
Can u please elaborate on 4th part "In TimerTick event stop the timer and run the program". how to run the program OnStart Method.
xibit89
12-Jun-15 3:52am
View
Yes i have, but all articles refer to creation of Windows Services. I want to execute the program with in the time interval define in Windows Services code.
xibit89
3-Jun-15 5:50am
View
Thanks. I'll try cascading dropdowns.
xibit89
7-Mar-14 6:40am
View
Thanks Sandeep Mewara it Worked perfect for me..
xibit89
18-Feb-14 1:12am
View
Hello KR,
i have already applied this, but this is returning the image with no animation.
xibit89
14-Feb-14 5:37am
View
I have solved it my self have a look in solution..
xibit89
14-Feb-14 5:36am
View
Nope query is tested and works Fine..
xibit89
11-Dec-13 3:36am
View
yep i need the last record of every month. So, how could i determine it?
xibit89
10-Dec-13 5:03am
View
yep have computed manually!
xibit89
10-Dec-13 4:34am
View
the link u provided is for simple summing, my query for getting the above data is something like as follow,
SELECT
sum(ISNULL(F1.Debit,0))-sum(ISNULL(F1.Credit,0)) AS Balance,
month(f2.CreateDate) as mon , f1.ShortName
FROM
JDT1 AS F1
LEFT OUTER JOIN OJDT AS F2 ON F1.TransId = F2.TransId
WHERE
F1.RefDate BETWEEN '2009-01-01' AND '2012-12-31' and f1.ShortName = '109085'
group by f1.ShortName ,Month (f2.CreateDate)
order by f1.ShortName ,Month (f2.CreateDate)
xibit89
10-Dec-13 4:34am
View
the link u provided is for simple summing, my query for getting the above data is something like as follow,
SELECT
sum(ISNULL(F1.Debit,0))-sum(ISNULL(F1.Credit,0)) AS Balance,
month(f2.CreateDate) as mon , f1.ShortName
FROM
JDT1 AS F1
LEFT OUTER JOIN OJDT AS F2 ON F1.TransId = F2.TransId
WHERE
F1.RefDate BETWEEN '2009-01-01' AND '2012-12-31' and f1.ShortName = '109085'
group by f1.ShortName ,Month (f2.CreateDate)
order by f1.ShortName ,Month (f2.CreateDate)
xibit89
27-Nov-13 5:46am
View
thanks, i google it and got it.. :)
xibit89
27-Nov-13 5:35am
View
Okay, so can u tell me how to use 2 seprate threads for the above problem?
xibit89
23-Nov-13 2:51am
View
there is value in cell 2 and it also comparing it with itemcode, after completing the loop it generate the exception.
xibit89
23-Nov-13 1:15am
View
exactly on if (dataGridView2.Rows[i].Cells[2].Value.ToString() == itemcode) line
xibit89
23-Nov-13 1:13am
View
i dont understand the logic of above code u provided, can u be plz explain this in simple way.. and can u plz tell me that object that is said to be null..??
xibit89
7-Nov-13 0:32am
View
Thanks. :)
xibit89
5-Nov-13 7:20am
View
Thanks.
xibit89
5-Nov-13 6:16am
View
that's i m asking that how exactly i could implement error condition..
xibit89
5-Nov-13 5:52am
View
can i generate error in this case, using CASE
xibit89
10-Oct-13 7:17am
View
Place your script manager on top outside the td
<asp:ScriptManager ID="ScriptManager1" runat="server">
xibit89
10-Oct-13 2:45am
View
thanks chitransh635. It Worked!!
xibit89
10-Oct-13 2:29am
View
Can u please clarify, HOW to use the generic list??
xibit89
10-Oct-13 2:19am
View
i dont see any code.
xibit89
10-Oct-13 2:12am
View
yep it is the simplest way, but i am not allowed to edit DataBase..
xibit89
10-Oct-13 2:12am
View
yep it is the simplest way, but i am not allowed to edit DataBase..
xibit89
10-Oct-13 2:09am
View
i am not allowed to edit dataBase. what i have to use is in asp.net.\
Second it is stored Procedure. Not Table.
xibit89
10-Oct-13 2:03am
View
there are 3 columns CustName, CustCode, Qty
the upper code bind the gridview with CustName and CustCode from database, OnSelectedItem it automatically generate the value into the Qty column from database.
I want to add condition there that the Qty column only shows the value which are greater than 0.
xibit89
10-Oct-13 1:59am
View
there are 3 columns CustName, CustCode, Qty
the upper code bind the gridview with CustName and CustCode, OnSelectedItem it automatically generate the value into the Qty column.
I want to add condition there that the Qty column only shows the value which are greater than 0.
xibit89
7-Oct-13 6:11am
View
can u tell how to copy previous data?
xibit89
7-Oct-13 6:01am
View
Okay. :)
xibit89
7-Oct-13 5:49am
View
Azee what u have Edited?
xibit89
7-Oct-13 4:28am
View
yep sNO, Name, Contact i used for explaning.. above is the actual code
xibit89
7-Oct-13 3:34am
View
CheckBox cBox2 = null;
for (int i = 0; i < lvItemTone2.Items.Count(); i++)
{
cBox2 = (CheckBox)lvItemTone2.Items[i].FindControl("lvTone2chckSelect");
if (cBox2.Checked)
{
ItemCode = ((DropDownList)GridView1.FooterRow.FindControl("ddlItemCode")).SelectedItem.Text.ToString();
BatchNo = ((Label)lvItemTone2.Items[i].FindControl("lblBatchNo")).Text;
Quantity = ((Label)lvItemTone2.Items[i].FindControl("lblQty")).Text;
SelectedQuantity = ((Label)lvItemTone2.Items[i].FindControl("lblSelQty")).Text;
dr = dt.NewRow();
dr["BatchNo"] = BatchNo;
dr["Quantity"] = Quantity;
dr["SelectedQuantity"] = SelectedQuantity;
if (dr != null)
{
dt.Rows.Add(dr);
}
}
}
ViewState["BatchTable"] = dt;
lvItemTone2.DataSource = dt;
lvItemTone2.DataBind();
xibit89
4-Oct-13 3:01am
View
yep i set the width in % thats y it was disturbing..
Thanks
xibit89
27-Sep-13 2:57am
View
I think u should put the DataTable coldt = new DataTable() and DataTable hawbb = new DataTable() in ViewState and then u should bind it to ur GridView.
xibit89
23-Sep-13 2:15am
View
it's pretty simple, I have done it my self.
onButton Click event.
just make dropDownlistID=textBoxID;
xibit89
23-Sep-13 1:51am
View
i'll try it
xibit89
23-Sep-13 1:47am
View
why? I just want to type the data in the textbox and using Button want to find it in the dropDownList...
xibit89
17-Sep-13 0:56am
View
dt.Rows.Add(ListView1.FindControl("id").ToString());
xibit89
17-Sep-13 0:56am
View
Button Click
xibit89
16-Sep-13 6:27am
View
Working Perfectly!! Thanks!!!
xibit89
31-Aug-13 4:11am
View
what should I write instead of "#unknown" in <asp:Content xmlns:asp line
xibit89
23-Aug-13 2:53am
View
try stream reader.
xibit89
22-Aug-13 8:15am
View
THANKS..
xibit89
22-Aug-13 8:14am
View
thank you. its is done. I was not declaring dropdownlist in page load..
xibit89
22-Aug-13 7:33am
View
private void SetPreviousData()
{
TextBox tbobject = new TextBox();
int rowIndex = 0;
if (ViewState["CurrentTable"] != null)
{
DataTable dt = (DataTable)ViewState["CurrentTable"];
if (dt.Rows.Count > 0)
{
for (int i = 0; i < dt.Rows.Count; i++)
{
//tbobject = (TextBox)GridView1.Rows[rowIndex].Cells[0].FindControl("RowNumber");
//tbobject.Text = dt.Rows[i]["RowNumber"].ToString();
DropDownList itmDesc = (DropDownList)GridView1.Rows[rowIndex].Cells[1].FindControl("ItemDescription");
itmDesc.Text = dt.Rows[i]["ItemDescription"].ToString();
rowIndex++;
}
}
}
xibit89
22-Aug-13 7:27am
View
data layer
xibit89
20-Aug-13 7:23am
View
private void BindComb(string ddlName)
{
if (ddlsno == "ddlsno")
{
DataTable dt = new DataTable();
dt = dl.getsno();
ddlsno.DataSource = dt;
ddlsno.DataTextField = "sno";
ddlsno.DataValueField = "Name";
ddlsno.DataBind();
}
else if (ddlName == "ddlName")
{
DataTable dt = new DataTable();
dt = dl.getName();
ddlName.DataSource = dt;
ddlName.DataTextField = "Name";
ddlName.DataValueField = "sno";
ddlName.DataBind();
}
this I have done for data bound
xibit89
20-Aug-13 7:19am
View
I don't understand the logic. I haven't tried anything yet.
xibit89
20-Aug-13 4:53am
View
Exactly what I needed..
xibit89
20-Aug-13 4:53am
View
Thanks buddy!
xibit89
20-Aug-13 4:48am
View
just wanted to remove sql connection string. and to put it into another class or function
and when needed the connection string just want to call it from the other class or function
xibit89
15-Aug-13 4:57am
View
Thanks Dude... u saved me from the payment... :D
xibit89
15-Aug-13 4:34am
View
simple on windows forms
xibit89
13-Aug-13 5:34am
View
1- There is a table in sql server connected to C#.net windows application,
2- I want to select a row from datagridview (using Event Handler) and generate it into form's text box.
3- It can be done by using sql select query, But I want to do it by using Event Handler.
Show More