15,898,984 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 Elham.Deljooei (Top 45 by date)
Elham.Deljooei
9-Mar-15 12:52pm
View
I've updated it. Nobody could hack it.
Elham.Deljooei
9-Mar-15 12:11pm
View
Hi my friend,
Thanks for your solution. for instance, I heard somebody sent an article for a college or company and their article accepted by them....
I'd like to do it but i don't know how?
Would you mind helping me?
Elham.Deljooei
24-Feb-15 4:23am
View
Hi my friend,
Thanks for you suggestion.
I've done it.
Elham.Deljooei
21-Feb-15 4:28am
View
please help me :(
Elham.Deljooei
20-Feb-15 11:27am
View
Hi my friend,
Thanks again for your attention and answer.
That woks but i want to get previous data "before was updated" and number of row and also date and time of update row.
Would you mind helping me?
Thanks and regret
Elham.Deljooei
19-Feb-15 23:17pm
View
Hi,
I'm so sorry. I've had to say update instead of delete.
Could you help me?
Thanks and regret
Elham.Deljooei
19-Feb-15 3:22am
View
Hi my friend,
Thanks for your answer.
That works for deleting manually?
Elham.Deljooei
29-Oct-13 4:24am
View
Thanks my friend,
I couldn't find it probably, Could you explain it a little more?
Elham.Deljooei
24-Oct-13 3:20am
View
Thanks for your answer but it's not work truly.
Elham.Deljooei
21-Oct-13 5:19am
View
Excuse me,
I've changed it like this:
if ((d.Year < 1990 || d.Year > DateTime.Today.Year) && (d.Month < 1 || d.Month > 12) && (d.Day < 1 || d.Day > 31))
But it don't work truly. :(
Elham.Deljooei
21-Oct-13 2:14am
View
I've changed it like this:
public DateTime CheckDate(DateTime d)
{
if ((d.Year < 1990 && d.Year > DateTime.Today.Year) && (d.Month < 1 && d.Month > 12) && (d.Day < 1 && d.Day > 31))
{
Console.WriteLine("error");
d =DateTime.Parse("0-0-0000" );
return d;
}
else
{
return d;
}
}
But when i enter 1-1-1000 in console, it calculate birthdate and return answer.
Thanks,
Elham
Elham.Deljooei
25-Sep-13 6:35am
View
Sorry,I couldn't understand.
Elham.Deljooei
25-Sep-13 6:08am
View
Oh Yeah I wrote //birth = Convert.ToDateTime(record["BirthDate"]);
I forgot to remove these //.
Thx.
Elham.Deljooei
25-Sep-13 5:58am
View
I used it but It doesn't work truly.
For example it have to return 02/02/2000 but it return 01/00/0001
Elham.Deljooei
25-Sep-13 3:11am
View
Hi friend,
Why cell address can't fill from sql?
Elham.Deljooei
24-Sep-13 3:21am
View
I could do it with second solution, Thanks a million my friend.
Elham.Deljooei
23-Sep-13 8:18am
View
Sorry, I couldn't found, i saw this link put ???
Elham.Deljooei
6-Aug-13 6:45am
View
Your mean, I write it in trigger?
How to do rollback? else clk_Id removed from table and it exists in another tables.
Elham.Deljooei
6-Aug-13 6:26am
View
Hi Maciej Los,
I meant to say, if this clk_Id exists in another tables, don't remove it and do rollback.
'If exists (Select HokmeKargozini.clk_Id from HokmeKargozini )'
but it don't work.
Elham.Deljooei
4-Aug-13 8:48am
View
Hi Friend,
I've done second solution but i give an error.
Elham.Deljooei
8-Apr-13 6:41am
View
no, i didn't do.
I've studied it into Ditel's book.
I've looked for about it alot, but i can't underestand.
Could you help me?
Elham.Deljooei
7-Feb-13 0:01am
View
Nobody couldn't help me?????????? :=(
I would like to solve this problem.
Elham.Deljooei
6-Feb-13 2:11am
View
Start the SQL profiler and run this report and see what query you received in profiler.
I don't underestand, what's you mean?
Elham.Deljooei
6-Feb-13 1:53am
View
I did your suggest but it doesn't show to me.
Could you tell me What i have to do step by step for report viewer and procedure. I think i don't did it properly?
Elham.Deljooei
5-Feb-13 4:56am
View
Hi friends
I want to use sotred procedure with Report viewer.
but i don't know how can i do it?
Elham.Deljooei
5-Feb-13 3:36am
View
I did this but i choose Exist store procedure. i have got an error.
I have to send Name, Family, MelliNo To sotre procedure then it get me information.
where can i define my Textboxes?
Could you help me Step by Step?
Elham.Deljooei
5-Feb-13 2:27am
View
This link Use for Visual Basic? or Visual Studio?
Thx.
Elham.Deljooei
4-Feb-13 0:53am
View
HiI don't understand what are you mean?
Thx
Elham.Deljooei
4-Feb-13 0:48am
View
HiThx for your solution.
Elham.Deljooei
3-Feb-13 4:37am
View
could you help me?
Elham.Deljooei
3-Feb-13 2:57am
View
i did it but i get it error :-(
Elham.Deljooei
3-Feb-13 2:41am
View
this my code:
SqlDataAdapter adp = new SqlDataAdapter("Report",con);
adp.SelectCommand = new SqlCommand();
adp.SelectCommand.CommandType = CommandType.StoredProcedure;
DataTable dtbl=new DataTable();
dtbl.TableName="DataTable1";
adp.SelectCommand.Parameters.AddWithValue("@clrk_Name", txtNameReport.Text);
adp.SelectCommand.Parameters.AddWithValue("@clrk_Family",txtFamilyReport.Text);
adp.SelectCommand.Parameters.AddWithValue("@clrk_MelliCode",txtMelliCodeReport.Text);
adp.SelectCommand.Parameters.AddWithValue("@AzTarikh",txtMelliCodeReport.Text);
adp.SelectCommand.Parameters.AddWithValue("@Ela", txtElaReport.Text);
adp.Fill(dtbl);
ReportDataSource source = new ReportDataSource("DataTable1",dtbl);
reportViewer1.LocalReport.DataSources.Add(source);
when i run my project, i get this eeror
Error 1 The tablix ‘Tablix2’ is in the report body but the report has no dataset. Data regions are not allowed in reports without datasets. D:\Project\evaluation\WindowsFormsApplication1\WindowsFormsApplication1\Report1.rdlc WindowsFormsApplication1
Elham.Deljooei
30-Jan-13 5:10am
View
HiI saw your message 5 min ago.
Thx for your help.
Elham.Deljooei
25-Jan-13 1:39am
View
HiThat code has this eeror "Sequence contains no elements"
Elham.Deljooei
23-Jan-13 8:23am
View
In Try when debugger arrive this line. it jump to Catch part and don't show any error message.
Elham.Deljooei
23-Jan-13 8:13am
View
oh yeah. but i haven't gotton my ansewr.
i think it's correct but don't run.
Elham.Deljooei
23-Jan-13 6:41am
View
Thx for your help:)
Elham.Deljooei
23-Jan-13 6:09am
View
confirmed your question is resolve by mark as answer. how to do this?
Elham.Deljooei
23-Jan-13 5:29am
View
I'm a new programer. I like Programing very much but i don't know how to start to learn c#.
can you instruct me?
Elham.Deljooei
23-Jan-13 5:23am
View
I'm really sorry. I didn't see your message properly:(
Elham.Deljooei
23-Jan-13 5:14am
View
First i want to know Why 'false'?
i added Using System.Linq; but those lines don't run.When the bugger arrived this line it jump to Catch part.
Thn for your help.
Elham.Deljooei
23-Jan-13 5:01am
View
I don't know What you mean exactly?
I'm a new programer. I like Programing very much but i don't know how to start to learn c#.
can you instruct me?
Elham.Deljooei
23-Jan-13 4:57am
View
Deleted
I don't know What do you exactly mean? i'm a new programmer.
i like programming very much but i don't know how to get information a bout c# and sql.
can you instruct me?
Elham.Deljooei
23-Jan-13 4:44am
View
Of course, you're right. but i don't know how to use this.
Exactly i want to say when variable 'i=1' then choose lbl1 and 'i=2' then choose lbl2(in a For).
Elham.Deljooei
23-Jan-13 4:15am
View
Excuse me. can i say me "cmd.Parameters.AddWithValue("@clrke_Percent", this.Controls.Find(string.Format("lbl{0}", i), false).First().Text);"
what does this do exactly? Because i Want variable value be part of textbox's name. for example i define lbl1 and in the code i want say lbl[i].Text. based on 'i' the code choose own lbl and send its text.
I have tried this but it isn't correct.
i'm sorry again. Thx for your help.
Show More