15,899,562 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 aamir07 (Top 22 by date)
aamir07
27-Jul-12 1:48am
View
sandeep,
i have solved the questions by myself....and i raise questions for to know new things here and to take the given post suggestions and try out....and for ur info i do mark answers once they fullfill my answers...u might not be seeing them
aamir07
26-Jul-12 3:28am
View
my question is explained in the below example:
deimal Point="3". User will enter value like="123456"
but the orignal value in the Textbox should accept is="123.456"
because the decimal point property has value as 3, and after taking 1st 3 values(123) decimal point should be taken and the rest 3 values(456)(123.456).....the decimal values is not fixed.
hope i am clear in my explanation this time
aamir07
26-Jul-12 1:04am
View
the issue is i am unable to get the values on aspx page.
example: i had declare a property for textbox MaxLength
public int MaxLength
{
get
{
return this.length;
}
set
{
this.length = value;
}
}
when i set the textbox Maxlentgh property as 10 in .aspx page, it doesn't work it take more values than 10
aamir07
25-Jul-12 7:57am
View
i have done this on .aspx page but never in .ascx
aamir07
25-Jul-12 7:27am
View
the post u have given is not relevant to my requirement.
aamir07
25-Jul-12 1:53am
View
i am not getting the proper method by which i can achieve this coz der are different controls in Web Form(textbox,dropdownlist,grdiview)....so i have to check for each control what was it old value and see the new value and if any change then ask the user to fill the reason for it.....on which event should it be perform on Save Click or any controls event
aamir07
24-Jul-12 3:48am
View
Error:Conversion failed when converting date and/or time from character string
aamir07
24-Jul-12 3:06am
View
String datetime = txtPODate.Text.Trim();
DateTime date = DateTime.ParseExact(datetime, "dd/MM/yyyy", CultureInfo.InvariantCulture);
cmd.Parameters.Add("@PODate", SqlDbType.DateTime).Value = date;
Error:Conversion failed when converting date and/or time from character string.
aamir07
24-Jul-12 2:37am
View
i have used datetime field((@POdate as Datetime) in my Stored Procedure not as varchar.
aamir07
24-Jul-12 2:29am
View
still i shows the errro:Error
The best overloaded method match for 'string.ToString(System.IFormatProvider)' has some invalid arguments
aamir07
24-Jul-12 2:14am
View
hitech_s,
its giving me error while Inserting.
aamir07
23-Jul-12 2:07am
View
PONumber value is like
Example:'DSCL-07-12/Kit01'
07-12 is Month-Year
DSCL is a Fixed string so does Kit
only the 01 value gets change
aamir07
21-Jul-12 11:12am
View
Dear originalGriff,
i dont want to prevent numericl value.
the textbox should accept numbers aand numerics
example, 12/12.5,5/5.5
aamir07
21-Jul-12 7:48am
View
dear Ganesh,
thanks for ur reply,
i want to say that above javascript code accepts only Numbers not decimal values(12.5,5.5). i need the textbox should acepts numbers and decimal values as said.
aamir07
7-Jul-12 4:53am
View
Guys, what can be done regarding this Probs?
pl reply.
Regards,
aamir
aamir07
5-Jul-12 23:35pm
View
Dear Tim,
u replied correctly to my query,i am using WebForms not MVC
aamir07
5-Jul-12 13:29pm
View
dear sanjay,
can u post ur example here....it will helpfull in my query....i want to learn more abt the Asp.net and its technique
Pl reply,
aamir
aamir07
5-Jul-12 4:23am
View
Dear Chetan,
thanks for Ur Post,
but can i get the Value in following Format P01,P02,P03....so on
aamir07
4-Jul-12 3:50am
View
Frnds,
i need this functionality in my web form.
pls suggest me about this topic.
aamir07
2-Jul-12 0:47am
View
Dear Amit,
i have used ur code but it gives me the error :object reference not set to an instance of an object
the error is in for loop:
for (int j = 0; j <= dsTotalQuantity.Tables["Req_TotalInventoryRequired"].Rows.Count; j++)
{
MaterialDescpt += ds.Tables["Req_TotalInventoryRequired"].Rows[j]["MaterialDesc"].ToString();
TotalUnitsRequired += ds.Tables["Req_TotalInventoryRequired"].Rows[j]["TotalUnitsRequired"].ToString();
}
aamir07
29-Jun-12 0:33am
View
hi ashish,
i got the above query solved, while saving in DB i get the code...but now i want, on select of the Gridview row to show the ItemName not the code in the DropDownList control.
aamir07
26-Jun-12 4:37am
View
Dear friends,
i got the solution for following query
string month = Convert.ToString(System.DateTime.Now.Month);
string year = Convert.ToString(System.DateTime.Now.Year);
string y = year.Substring(2, 2);
string format = month + "-" + y + "/";
but one more need arises as my data value is in format like 06-12/01...06-12/02...06-12/03...this how it should genrate the value the 01,02,03..value should get incremented on each save click in DB....and as the month changes the format and number should also get revised like 07-12/01...07-12/02.
pl reply
aamir
Show More