15,898,035 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 CAS1224 (Top 39 by date)
CAS1224
16-Oct-13 16:22pm
View
Deleted
So I should just stick with changing the backcolor of the datagridview to match the form to make it life easier
CAS1224
16-Oct-13 15:57pm
View
Great! Thanks for the information
CAS1224
12-Oct-13 10:23am
View
"What I mean" is that I only want to wrap text on a single column, not the entire datagridview, but that's for me to figure out. Thanks again for the help.
CAS1224
12-Oct-13 9:14am
View
This works, however it changes every column to wrap. If you post this as your answer I will gladly accept. Thanks so much
CAS1224
10-Oct-13 11:59am
View
Thanks for the explanation it helps a lot.
CAS1224
15-Sep-13 11:26am
View
Great way of thinking about it thanks!
CAS1224
13-Sep-13 0:04am
View
My dataset contains a combobox but when I import the dataset into my datagrid it becomes a regular cell. I'm hoping to have an enumerated list.
CAS1224
31-Aug-13 16:44pm
View
It's a windows forms application and the code does in fact complile
CAS1224
31-Aug-13 10:04am
View
The cursor never changes
CAS1224
31-Aug-13 9:43am
View
Sorry about that
CAS1224
26-Aug-13 9:32am
View
For the GetUpdate command I need to provide a "key" for the argument. I'm not exactly sure what they mean by "key"
CAS1224
24-Aug-13 10:02am
View
Thanks for your help!
CAS1224
23-Aug-13 8:40am
View
Yes I'm trying to update the datagridview with new data. I checked out the second post, one of them mentioned filling the datagridview. This is what they used "this.rscan_queueTableAdapter.Fill(this.rscanDataSet.rscan_queue);
dgv_queue.refresh();" Is there a way to do something similar with the oledbdataadapter?
CAS1224
23-Aug-13 8:34am
View
Thanks so much for your help!
CAS1224
22-Aug-13 18:47pm
View
Check out my refresh method, I've added code
CAS1224
22-Aug-13 18:46pm
View
Thanks for your answer. I've added your code to my refresh method but I'm getting the following error: "Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information." which is referring to the x.UpdateCommand = oledbCommands.GetUpdateCommand(). Yes I'm trying to update the dataset and refresh however the myDataGridView.Refresh() doesn't work for my program. (Nothing is ever that easy haha)
CAS1224
16-Aug-13 15:34pm
View
Should I be trying to refresh the datagrid or the dataset to accomplish this?
CAS1224
15-Aug-13 17:43pm
View
Yes Let me add it
CAS1224
15-Aug-13 17:20pm
View
I'm calling my retrieve function again after the change is made. My retrieve function is pulling the data from the datasource after saving the changes.
CAS1224
14-Aug-13 14:10pm
View
I've added additional code. Now if my user clicks the cancel button a message box appears and the openfiledialog reloads. However if I try and chose a file the program crashes once again with the error message "COMexception has occured"
CAS1224
14-Aug-13 12:25pm
View
ok, sorry for the confusion. I'm using an openfiledialog and I'm trying to prevent a user from pressing the cancel button. I've updated my code example
CAS1224
9-Aug-13 14:30pm
View
Thanks so much for your answer!
CAS1224
9-Aug-13 9:11am
View
I'm using a datagridview not a dataview. There has to be an alternative of this to work with the datagridview.
CAS1224
8-Aug-13 20:50pm
View
Thanks for your answer. My datagridview doesn't seem to have the RowDataBound event, is there an alternative?
CAS1224
7-Aug-13 12:10pm
View
Thanks for your answer. I'm not exactly sure how to apply this though. Is there another way?
CAS1224
5-Aug-13 19:04pm
View
Just what I was looking for. Thanks so much!
CAS1224
25-Jul-13 8:11am
View
Thank you so much! I used a combination of your answer and CHIll60's answer. Thanks guys you're awesome!
CAS1224
24-Jul-13 16:19pm
View
For some reason its not working for me. I wonder if I'm doing something else wrong :\
CAS1224
20-Jul-13 10:55am
View
Yes! It worked!!! Thanks so much. Please share this as the answer and I'll gladly accept
CAS1224
3-Jul-13 12:05pm
View
You're a life saver! Thanks so much for your help!
CAS1224
25-Jun-13 12:16pm
View
Thanks so much
CAS1224
24-Jun-13 13:42pm
View
This will only work for a textbox though, right?
CAS1224
21-Jun-13 10:30am
View
I'm using VB.net 4.5, this is ASP.net. Is there a VB version of this?
CAS1224
13-Jun-13 9:45am
View
Thanks so much for your answer. Now do you know how I would be able to use my datasets "ds11" and "ds12" to accomplish the same thing? I'm really hoping to have the cells from "A15:B21" from my excel file be the headers for my datagridview
CAS1224
12-Jun-13 18:18pm
View
Yes this makes the headers visible but I'm looking to make the data in the first column the header. All this does is create another column to the left of my first column.
CAS1224
3-Jun-13 15:16pm
View
Could you give an example?
CAS1224
3-Jun-13 13:01pm
View
How do you make the program stop processing until the error is fixed without using a try catch statement?
CAS1224
3-Jun-13 12:46pm
View
Do you know which exception in visual basic can check whether or not the input is an integer or string?
CAS1224
3-Jun-13 12:09pm
View
My program lets the user write data into a datagridview and then reads the data and writes it to an excel file.
Show More