15,905,504 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 bitofweb (Top 15 by date)
bitofweb
24-Oct-13 1:38am
View
What you want to do?
bitofweb
21-Oct-13 2:53am
View
what type of control you want to update?
bitofweb
17-Oct-13 5:38am
View
Check out this link: http://www.java2s.com/Tutorial/ASP.NET/0360__ADO.net-Database/LinkaspDropDownListwithaspSqlDataSource.htm
Although, you can do this through c# code, which much cleaner and easier way.
bitofweb
16-Oct-13 1:45am
View
Hi Tina,
1. There is a column mismatch in your loops. You are continuosly adding values to datatable1, although you have declared datatable2 also.
2. Try not to give the names to datatables.
Hope this will solve your problem.
bitofweb
14-Oct-13 8:08am
View
Hi are you setting the image path correctly.
bitofweb
25-Sep-13 1:42am
View
Hi Karthik jsut make sure you are adding check on pageload event !ispostback.
bitofweb
19-Sep-13 5:47am
View
http://mir.aculo.us/2011/03/16/how-to-play-a-sound-in-a-web-browser-it-aint-easy/
refer to this url, this should solve your problem.
bitofweb
19-Sep-13 4:45am
View
Hi Arjun,
we are playing audio file on the basis of browser's ability to play media file.
In first line of js code we are getting browser type i.e msie is microsoft internet explorer. when the browser is IE just added the embed code to the #divsound element to play audio in background, else we are just using javascript code play audio file and this should work in FF. Do one one more thing tell me which version of FF you are using, is the version of FF supports HTML5.
bitofweb
9-Sep-13 9:21am
View
Hi Rahul,
I think this is because,when you set the AutoGenerateSelectButton = true then one extra column is added dynamically (as you already know) and the value of that column is __doPostBack(eventTarget, eventArgument), so user should not be able to modify the column cell 's values.
Sample of generated code
<td>
Select
</td><td>Suits</td><td>0</td>
bitofweb
6-Sep-13 9:47am
View
Use can pass json data and on client side build HTML Table using jQuery. This it very light and easy to implement way(as no more unnecessary postback)
bitofweb
6-Sep-13 7:25am
View
i also tried adding columns dynamically and working properly.
Also explain why u r adding this line
dataGridView1.Columns.Insert(1, "new DataGridViewColumn() - insert a 1 new columns")
bitofweb
6-Sep-13 7:11am
View
make sure you are using .wav file not mp3.
bitofweb
6-Sep-13 6:50am
View
you need to add the columns to data gridview.
Follow these steps
1. Go to Designer > selected Datagridview > Select Properties(F4) > Click on Columns.
this will open new dialog.
2. On Bottom left of Dialog Click Add Button, this will open the Dialog in that choose the name of column, type of column and column header text and click in add. This will add column to your grid view and in the right pane choose property DataPropertyName under Data section.
3. Repeat this for no. of columns you want to add.
4 Make sure the name you provide in datasource property should match with the columns name in your datatable.
5. Add datasource source to the gridview.
bitofweb
6-Sep-13 6:19am
View
you binding datasource to dataset, try to bind datatable or ds.Tables[0] or ds.Tables["Table Name"]
do you have any specific need as explicitly adding column to datagridview.
bitofweb
6-Sep-13 5:39am
View
i just tried this with 3 column datatable and bind only 2 columns to datagridview, while using my solution i am getting only 3 columns only and no new columns.
make sure you have set AutoGenerateColumns to false.
If this does not helps share your code i'll try to find the bug and will try provide easy solution.
Show More