16,013,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 .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 ashu_dhiman (Top 27 by date)
ashu_dhiman
7-Jun-13 5:17am
View
this solution is not working. The problem is children form of MDIparent child form is going out side of MDI area and i didn't want that i want all of them inside MDIparent.
ashu_dhiman
7-Jun-13 2:23am
View
can anyone suggest me a solution of my prblem
ashu_dhiman
3-Jun-13 8:02am
View
ok But i want to open all these forms inside MDIparent as From1 is opening.
ashu_dhiman
30-May-13 7:42am
View
ok sir do you have solution of my problem.??
ashu_dhiman
30-May-13 1:53am
View
same exception
ashu_dhiman
30-May-13 1:38am
View
private string _id;
public string Id
{
get { return _id; }
set { _id = value; }
}
private DateTime dt;
public DateTime _dt
{
get { return dt; }
set{dt=value;}
}
private void DataShowForm_Load(object sender, EventArgs e)
{
string s;
SqlConnection con = new SqlConnection("data source=ASHU-PC;initial catalog=login;integrated Security=true");
SqlDataAdapter adp = new SqlDataAdapter("select * from tblPSData where code_id='" + _id + "' and SDate='"+_dt+"' order by serial_no", con);
DataSet ds = new DataSet();
adp.Fill(ds,"tm");(This line came with exception "The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.")
dataGridView1.DataSource = ds.Tables["tm"];
}
ashu_dhiman
30-May-13 1:28am
View
Deleted
i do it came with exception as b4
ashu_dhiman
30-May-13 1:03am
View
mayur there is difference b/w the last one and this. Last is base on Id Only but this is according to ID and Particular date...
ashu_dhiman
30-May-13 0:57am
View
yes but it show's all the records related to particular ID but i want only those records who enter on particular date for e.g: when i double click on row who has code-101, service_name:School, Date-14-03-2011, Total_Records_Enter-36
it only shows 36 records enter in School Service on Date-14-03-2011
ashu_dhiman
30-May-13 0:43am
View
thanks mayur problem solved
ashu_dhiman
28-May-13 8:06am
View
i analyse it if i resolved i let u know i thougth the acess specifier might be creating this prob.??
ashu_dhiman
28-May-13 7:58am
View
thanks mayur for suggestion and guidence
ashu_dhiman
28-May-13 7:56am
View
private string _id;
public string Id
{
get { return _id; }
set { _id = value; }
}
ashu_dhiman
28-May-13 7:22am
View
same sir
ashu_dhiman
28-May-13 4:40am
View
i allready do this exceptio is remain same
ashu_dhiman
28-May-13 3:36am
View
set
{
Id = value; (This Line)
}
ashu_dhiman
28-May-13 3:29am
View
i tried your mention method and getting exception
An unhandled exception of type 'System.StackOverflowException' occurred in WindowsFormsApplication11.exe
ashu_dhiman
28-May-13 2:38am
View
private void dataGridView1_RowEnter(object sender, DataGridViewCellEventArgs e)
{
rownumber = e.RowIndex;
empid = dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString();
}
private void dataGridView1_CellDoubleClick(object sender,DataGridViewCellEventArgs e)
{
DataShowForm ds = new DataShowForm();
ds.Show();
}
ashu_dhiman
28-May-13 2:27am
View
No current form shows the entity code, entity name, and total number of record present in particular entity in datagrid view. And i want to fetch all the record from table dbo.tblPSData when a double click on particular
Entity Row. For e.g when i doubleclick entity row who's code is 102, a new winform loaded and show all the records whose entity code is 102 from table dbo.tblPSData present in data base.
ashu_dhiman
28-May-13 2:05am
View
i want to show all the records present in entity on double click event....
ashu_dhiman
10-May-13 7:07am
View
Thank You..... :)
ashu_dhiman
10-May-13 4:50am
View
Currently Data Store in Table like...
From_Place TO_Place Area
London Scottloand NULL
New Delhi Mumbai NULL
NULL NULL Kolkata To Chennai
NULL NULL Chandigarh TO Dehradun
Required Result is to be Like
From_Place TO_Place Area
London Scottloand NULL
New Delhi Mumbai NULL
Kolkata Chennai NULL
Chandigarh Dehradun NULL
ashu_dhiman
1-May-13 3:15am
View
i already did that but still getting same
ashu_dhiman
1-May-13 1:49am
View
sir i have been looking for urgent help so i also post it here this is the only reson.
ashu_dhiman
29-Apr-13 3:35am
View
hello Maciej
i have table in database name data_details it has different column name as customer_name,cs_address,date_birth.
And i want to enter already set default value for date_birth column if i get null value during inserting the new record.
ashu_dhiman
22-Feb-12 0:46am
View
Krumia sir your assumption is exactly match my view so could you help me how can i do this???
ashu_dhiman
21-Feb-12 6:55am
View
sir actually i m working on astrology site and i wanna provide the functionality to user which shows kundali chart of client how can solve this problem??
Show More