16,016,076 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 .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 itman2 (Top 12 by date)
itman2
25-Mar-16 2:28am
View
thanks Beefcake
excuse me if my English isnt very well
about this scenario i should say : these file may chang every second or every 30 second or ... we dont know . but i must read them all every 10 second (for example) and use those content.
you said : 1. Use a directory / file watching mechanism which reports changed/new files ....
but i have no access to server just i can read 200 link like this :
http://www.tsetmc.com/tsev2/data/instinfodata.aspx?i=64358061873294912&c=64
i think this(no1 in your solution) mechanism isnt necessary ! (isnt it?)
itman2
17-Feb-15 14:41pm
View
thanks
but how can i select other printer in network ?
itman2
2-Feb-15 6:22am
View
THANS MR zoltan zorgo
i think for this case i can lock my table ! because the time of update proces is less than 1 second .
can you say how can i lock my table
i write this code :
<pre lang="sql">Begin Transaction
Select * From TableName With(TabLockx)
commit transaction
</pre>
after run ths query my table locked and i canu unlock it again !
how can i lock my table an unlock it again ?
itman2
1-Feb-15 15:34pm
View
tanks
your solution means : sql server can fix problem ! is it right ?
i write this cod for sell_button and every thing must be ok . is it right ?
try
{
1- open connection
2- get amount of pen // amount=3
3- new_amount= sell_amount - old_amount //amount=2-3
4- update amount in database // amount= 1
}
catch
{
message : wrong amount...
}
with this cod when user1 and user2 in same time sell 2 pen , user1 can sell but user2 cant sell and the message show for him ! is it right ?
but this link say another thing : https://msdn.microsoft.com/en-us/library/aa0416cz%28v=vs.110%29.aspx[^]
itman2
1-Feb-15 12:02pm
View
what does it men : The first who commit the transaction wins the race. ?
when the first one connect to database there is 3 pen and he can sale 2 of them and in same time the second user also connected and see 3 pen for sale and can sale 2 pen !
is it true ? what happend exactly in this case can you explain it ?
i cant andrestand it !
itman2
1-Feb-15 10:56am
View
it is a sales program . for example we have 3pen for sale .
user1 want to sale 2 pen and in same time user2 want to sale 2 pen too .
what is you solution for this case ?
itman2
26-Jan-15 12:16pm
View
private void button1_Click(object sender, EventArgs e)
{
dgv1.Rows[dgv1.Rows.Count-1].Cells[0].Value = "test";
}
private void button2_Click(object sender, EventArgs e)
{
dgv1.Rows[dgv1.Rows.Count - 1].Cells[1].Value = "1111";
}
itman2
30-Dec-14 11:35am
View
tanks alot for this solution mr shakthi500.
itman2
21-Dec-14 8:58am
View
tanks mr BillWoodruff
i am beginner in c# . i can draw line & column charts but i dont know how can i draw candlestick chart.
can you write a simple sample! for it ?
itman2
22-Sep-14 7:45am
View
Deleted
thanks a lot Mr Jonsson .
its useful ! I think I can write cod for save no1,no2 ( wow ! I can !! )
just 1 question : how can I read links from table? my program read links from rich textbox . I paste for example 10 link in rich textbox and thread save them in txt files. but I want read links from my table . how can I change this cod ?
public void Start Threads()
{
see my cod
}
itman2
22-Sep-14 7:41am
View
thanks a lot Mr jonsson .
its useful ! I think I can write cod for save no1,no2 ( wow ! I can !! )
just 1 question : how can I read links from table? my program read links from rich textbox . I paste for example 10 link in rich textbox and thread save them in txt files. but I want read links from my table . howcan I change this cod ?
public void StartThreads()
{
List source = new List();
source.AddRange(this.rich1.Lines);
Parallel.ForEach(source, new Action(this.ProcessUrl));
itman2
22-Sep-14 6:01am
View
yes I create a database .
a table for links with 3 field : id - name - address
and a table for data with 3 field : id - no1 - no2
my program must read links from LINK Table and save in DATA Table
I am beginner in programing !
Show More