15,896,489 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 mohammad ehsan (Top 47 by date)
mohammad ehsan
7-Sep-13 5:54am
View
yes
mohammad ehsan
19-Aug-13 3:44am
View
thank you for your advise ,
but would you please tell me how can i check write permission in IIS?
mohammad ehsan
19-Aug-13 3:36am
View
so, does the above code is right or need to be corrected?
mohammad ehsan
19-Aug-13 3:16am
View
I have placed it for insert statement, and also i haven't made logging page , because it is a survey and does not need logging .
mohammad ehsan
22-Jul-13 2:30am
View
but as i know theres is wizard process in asp.net which can make login system automatically, and will create sufficient tables in database as well.
can you guide me how to use that?
mohammad ehsan
16-Feb-13 3:33am
View
you can also change your browser to check whether in other browser is happening the same or not.
mohammad ehsan
13-Feb-13 0:10am
View
here is the exception:
Procedure or function 'Select_IranianGeneralInfoReport_SP' expects parameter '@IdCode', which was not supplied.
@IdCode either is a PK in my table and a session among my pages.
mohammad ehsan
13-Feb-13 0:09am
View
but this exception occures:
here is the exception:
Procedure or function 'Select_IranianGeneralInfoReport_SP' expects parameter '@IdCode', which was not supplied.
@IdCode either is a PK in my table and a session among my pages.
mohammad ehsan
12-Nov-12 5:34am
View
you should look at your database's table ,inside your table there is field that you have created and has to be filled,and this is the FieldName you have to retype it instead of the sentence you commented. for example you have a table by the name of Person ,there will be a field by the name of Name.you should put Name as a value instead of commented sentece.
mohammad ehsan
11-Nov-12 4:31am
View
ok.you are right .
but he can use gridview for this case.
mohammad ehsan
16-Oct-12 3:45am
View
the retuned valued is 15.
mohammad ehsan
16-Oct-12 3:12am
View
Yes i am sure , and this is a class i have written for GlobalVariables.HowzeEducationId as a session to pass the page:
public static int HowzeEducationId
{
get
{
if (HttpContext.Current.Session["HowzeEducationId"] == null)
HttpContext.Current.Session["HowzeEducationId"] = -1;
return int.Parse(HttpContext.Current.Session["HowzeEducationId"].ToString());
}
set
{
HttpContext.Current.Session["HowzeEducationId"] = value;
}
}
mohammad ehsan
30-Sep-12 2:44am
View
but still has the same problem and whenever i check the checkbox the view doesn't appear.
mohammad ehsan
24-Sep-12 4:25am
View
i would like to have a polling system for a class execution , so there will be around 20 questions that will be from participants in that class (how the class was held?,...). there are 20 students who had attended in the class.i don't know how to design it's Database . thus i will try to implement that program in Asp.net at the end.
mohammad ehsan
22-Sep-12 5:39am
View
the datatype which i have used is Date in Sqlserver .
do you think that my it refers to my calendar?
mohammad ehsan
7-Sep-12 6:58am
View
Hi.
what do you mean :"after clicking on update button all table desapear"?
would you please explain more?
mohammad ehsan
3-Sep-12 3:18am
View
i am sorry for asking this question (because i am a beginner).
i didn't get ; how can i put it in session?
thanks of your attention
mohammad ehsan
3-Sep-12 2:52am
View
I had done what Amy said , and there was no problem except ; when i go to second page
a new row is inserted into DB , while i wanted to insert it inside the current row
mohammad ehsan
3-Sep-12 2:40am
View
I did what you said , and i stored it in a session , but when i go to second page
a new row is inserted into DB , while i wanted to insert it inside the current row.
mohammad ehsan
3-Sep-12 2:18am
View
it worked in the first page properly , but when i navigate to seconde page(JobInfo)
i need the PersonId , but again the same Exception appeares.
mohammad ehsan
15-Aug-12 1:40am
View
Deleted
I did what you said ,but still the same problem exist.
mohammad ehsan
15-Aug-12 1:39am
View
Deleted
I did what you said ,but still the same problem exist.
mohammad ehsan
14-Aug-12 5:10am
View
yes, i have IdCode field in my table which is also Indexable,
so you mean it doesn't have any problem for inserting into the IdCode thus it is indexable and count automatically?
mohammad ehsan
14-Aug-12 4:32am
View
thank of your help.
but my IdCode you mentioned which must be returned is Identity and is counted automatically , so i can not insert any thing inside that field .so what shal i do?
mohammad ehsan
1-Aug-12 2:50am
View
it has this error message:
An explicit value for the identity column in table 'DBMarashi..City' can only be specified when a column list is used and IDENTITY_INSERT is ON.
mohammad ehsan
1-Aug-12 0:56am
View
Deleted
i wrote what you said , but this message appears:
Cannot find a table or object with the name "Country". Check the system catalog.
while i have Table Country.
mohammad ehsan
29-Jul-12 2:32am
View
let me add this point that it was working until yesterday , and didn't have any problem, but sometimes (even now)object controls are recognized by .net but after a while it doesn't recognize it.for example now , i don't know what has happaned that all errors such as these errors has removed :
Error 102 The name 'personlCodeTextBox' does not exist in the current context
Error 103 The name 'SerialNumTextBox' does not exist in the current context Error 104 The name 'nationalNumTextBox' does not exist in the current context Error 105 The name 'PassNumTextBox0' does not exist in the current context
but still this two errors has remained:
Error 100 The type or namespace name 'global_asax' does not exist in the namespace 'ASP' (are you missing an assembly reference?) Error 101 The type or namespace name 'DataAnnotations' does not exist in the namespace 'System.ComponentModel' (are you missing an assembly reference?)
mohammad ehsan
29-Jul-12 2:18am
View
in the first line the Error 100 ,Error 101 appears. and also in my C# code can not recognize all of Object Controls that i have creatd them .
mohammad ehsan
29-Jul-12 2:16am
View
Deleted
in the first line the Error 100 ,Error 101 appears.
and also in my C# code can not recognize all of Object Controls that i have creatd them .
mohammad ehsan
29-Jul-12 2:08am
View
i posted my code.
mohammad ehsan
28-Jul-12 2:51am
View
the CodeBehind="GeneralInfo.aspx.cs"
and CodeFile="~/GeneralInfo.aspx.designer.cs"
yet it doesn't work.
mohammad ehsan
28-Jul-12 1:50am
View
but i didn't have this problem befor , i think there are some setting that has been affected and i am not aware.aren't there?
mohammad ehsan
26-Jul-12 3:22am
View
i didn't get exactly what you mean?
personelCode can not be either int and string ,if so , it can not be unique and can not be realted to other tables>
mohammad ehsan
21-Jul-12 3:54am
View
thank you so much .
but would you please be more specefic about "NEVER put this much DB code in to your presentation layer".
what is the presentation layer?
mohammad ehsan
18-Jul-12 3:37am
View
thank you it worked well.
but the inserted statement can not be replaced by the new statement in the sqlserver after i update it ?
mohammad ehsan
18-Jul-12 3:26am
View
Deleted
I did what you said , the previous exception removed ,but this exception appeared:
Must declare the scalar variable "@PersonId".
mohammad ehsan
18-Jul-12 3:21am
View
yes thers is one space between where clause and paranthesis.
mohammad ehsan
18-Jul-12 2:02am
View
thank of your attention ,
but still the same error occures.
mohammad ehsan
12-Jul-12 2:40am
View
i don't know what has to be converted to integer and where this act has to be done?
mohammad ehsan
12-Jul-12 2:09am
View
actually all of my datatype's fields are not integer , exceept some of them as well as : personelCode , PostalCode , IdentiyCardNum , but all of their datatype in my database are int , and i don't know what else has to be done in form?
mohammad ehsan
2-Jul-12 1:22am
View
hi.sorry for being late , i didn't have access to internet
not only i can not update the question but ofcourse any data are not inserted into the database.
mohammad ehsan
25-Jun-12 4:37am
View
this is the RadiobuttonList's section code:
<asp:Panel ID="Panel1" runat="server" Enabled='<%# Eval("Gender") %>'
Visible="False">
<asp:RadioButtonList ID="GenderRadioButton" runat="server" AutoPostBack="True"
CausesValidation="True" RepeatDirection="Horizontal"
SelectedIndex='<%# Eval("Gender") %>' SelectedValue='<%# Bind("Gender") %>'>
<asp:ListItem Selected="True">man
<asp:ListItem>woman
mohammad ehsan
18-Jun-12 3:49am
View
but i didn't mean what you introduce in the link(it is for data bind to sql)
what i need is a query in sql to provide a solution to insert a row betweeen
another rows according to alphabet sort.
mohammad ehsan
16-Jun-12 5:17am
View
i mean is this possible to enable auto generate in formview? and how?
mohammad ehsan
15-Jun-12 9:47am
View
but there is same situation in Firefox and Chrome!
mohammad ehsan
15-Jun-12 3:32am
View
thank you for your link .
if i delete the history wouldnt' be any impact of deleted files in the windows?
mohammad ehsan
11-Jun-12 11:35am
View
when i refresh the formveiw (pressing refresh schema link button)my design view is collided and i have to redesign my form in the formview.
Show More