15,892,674 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 rosyp (Top 13 by date)
rosyp
24-Sep-12 15:49pm
View
Reason for my vote of 5
becoz i m searching for this
it very simple way.
rosyp
24-Sep-12 15:42pm
View
very nice
rosyp
23-Jan-12 11:06am
View
thanks
rosyp
23-Jan-12 11:05am
View
c = dataGridView1.CurrentCell.ColumnIndex;
r = dataGridView1.CurrentRow.Index;
if (dataGridView1.CurrentCell.ColumnIndex == 1 || dataGridView1.CurrentCell.ColumnIndex == 4)
{
if (e.KeyCode == Keys.Enter)
{
if (dataGridView1.Rows.Count > 1 || dataGridView1.CurrentCell.ColumnIndex != 0 || dataGridView1.CurrentCell.ColumnIndex != 5)
{
try
{
comboBox2.Visible = true;
this.comboBox2.Location = this.dataGridView1.GetCellDisplayRectangle(c, r, true).Location;
this.comboBox2.SelectedItem = this.dataGridView1.CurrentCell.Value;
this.comboBox2.Show();
this.comboBox2.SelectedItem = dataGridView1.CurrentCell.Value;
this.comboBox2.DroppedDown = true;
}
catch { }
}
}
}
}
rosyp
20-Jan-12 9:10am
View
thanks dear.....very good gestation .....
again thanks ( have no word for you)
rosyp
20-Jan-12 2:42am
View
THANK YOU VERY MUCH BUT IS SUM IS >0 THAN IT GIVE MINUS SIGN HOW CAN REMOVE - SIGN
rosyp
5-Jan-12 9:08am
View
ya i m ...dear
rosyp
4-Jan-12 9:32am
View
here my code
private void dataGridView1_KeyUp(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.F7)
{
if (dataGridView1.Rows.Count > 1 || dataGridView1.CurrentCell.ColumnIndex != 0 || dataGridView1.CurrentCell.ColumnIndex != 8)
{
for (int i = 0; dataGridView1.Rows.Count - 1 > i; i++)
{
dataGridView1[cc, i].Value = cv;
}
}
}
}
i want to prevent from this function my column which is read only
rosyp
4-Jan-12 7:37am
View
its window application dear
rosyp
4-Jan-12 4:19am
View
uptostdt smalldatetime (4)
rosyp
4-Jan-12 4:16am
View
cmd.ExecuteNonQuery();
rosyp
4-Jan-12 4:16am
View
thanks amit
but getting same error
rosyp
4-Jan-12 3:51am
View
my column in table is
uptostdt smalldatetime 4
Show More