408 Topics

Member Avatar for
Member Avatar for symeramon

Hi there all, I am trying to get data from a sql view and bound it into the datagridview, after that, I add 4 more colums into the datagridview which are editable, finally pass the entered data into a new database and call that data in the future in the …

Member Avatar for symeramon
0
211
Member Avatar for dibakarmishra

I need help on DataGridView CheckBox. How can make a button enable or visible while only one checkBox of a datagrideview is checked? I tryed this , and it works but it only works when the datagrideview checkbox column is selected but i need when only one checkbox is checked …

Member Avatar for adam_k
0
1K
Member Avatar for udigold1

I'm trying to format a DataGridView, with style color, etc. The DGV loads (via buildGrid method) at the startup of the form, as you can see in the constructor's code: [CODE]public Report1(DataSet dsReport1, string sDateRep) { InitializeComponent(); sDate = sDateRep; dsReportGrid = dsReport1; orgDataset(); buildGrid(); } [/CODE] Here's the code …

Member Avatar for ddanbe
0
550
Member Avatar for sujimon

Hi, I would like to know the correct procedure to deploy windows application in VS-2005. There are some specific issues I am facing after deploying the project to the client machine. - I have a CMS (ContextMenuStrip) in one of my forms associated with a TreeView and its not showing. …

Member Avatar for sujimon
0
117
Member Avatar for symeramon
Member Avatar for ecinevenice

I'm making an application associated with MS access for its database... I set one of the field to text and the other to object for images..but the object suggest to insert pictures through paint.. [COLOR="Red"]Is it possible for animated images(gif) in ms access? I'm getting stuck with bmps... [/COLOR] -------------------------------------------------------------------------------- …

Member Avatar for ecinevenice
0
317
Member Avatar for judithSampathwa

hi there, i have a tab control with 3 tab in a form in C#.NET, and also i have a button which shold be doign adding rows to the datagrid view. how can i code the button so that when the active tab is tab on to add a row …

Member Avatar for umair.sabri
0
366
Member Avatar for bogenbroom

I'm in kind of a pickle - I have a project due tonight and suddenly 2 of my datagridviews are acting funky while the others are fine. I have 2 tables in an sqlce db. the first is books(id, title, copyright) and the next is publisher(id, name, bookid). I'm writing …

Member Avatar for bogenbroom
0
844
Member Avatar for xanawa

i would like to show an image in a datagridview cell giving the path of the image.. how can i do so?

Member Avatar for Mitja Bonca
0
1K
Member Avatar for yousafc#

When i click button an I always get an Error that[COLOR="Red"]An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes …

Member Avatar for sobber
0
182
Member Avatar for Alexkid

Hi there, I think im trying to do something pretty simple but i can't find a simple explanation. What i have: I have five Textboxs (1 to 5) I have a Button I have a Datagrid with five columns (1 to 5) What i want to do: on a button …

Member Avatar for Alexkid
0
171
Member Avatar for judithSampathwa

hi there, i have a question in datagridview dropdown boxes. in a datagridview i have 3 datagridview combo boxes, but i combo box i want to make a text box when the user clicks on that datagridview combobox, i did it, but now all the datagridview dropdown boxes become datagridview …

Member Avatar for judithSampathwa
0
127
Member Avatar for CrankyMero

Hello Everyone, I have this small system that i developed for a company that is basically a Skill Map for the employee's, so in the following image will show the search of the employee's skills through the Family, in the following image the users does a search of the family …

0
93
Member Avatar for bklynman01

Hello, I have two DataGridViews in one window. The first one displays 2 columns, itemNo and task. When I click on a row in this grid, I want to populate the second grid with corresponding material. It is organized so that the itemNo in grid1 is 1, 2, 3, and …

Member Avatar for bklynman01
0
108
Member Avatar for sarifah n

hi i want to ask about how to disable the button when the datagrid have 9 rows? i want to control the button.after the datagrid have 9 rows, then the button.enabled=false. tq.

Member Avatar for sarifah n
0
127
Member Avatar for zubaira

how to setle this problem....ihave code below...but i cannot run because this error..."Conversion from type 'DBNull' to type 'Boolean' is not valid." CheckBox1.Checked = DataGridView2.CurrentRow.Cells(10).Value CheckBox2.Checked = DataGridView2.CurrentRow.Cells(11).Value CheckBox3.Checked = DataGridView2.CurrentRow.Cells(12).Value CheckBox4.Checked = DataGridView2.CurrentRow.Cells(13).Value CheckBox5.Checked = DataGridView2.CurrentRow.Cells(14).Value how i have to set in my table to insert input 1 or …

Member Avatar for codeorder
0
126
Member Avatar for khean

I found this forum very useful to me as a beginner in VB.net and found similar thread regarding my concern unfortunately it doesn't for me may be could someone show me the solution. [URL="http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/340634/1446506#post1446506"]http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/340634/1446506#post1446506[/URL] i will provide screen shot on error I'm encountering. [IMG]http://i54.tinypic.com/15o9mvc.jpg[/IMG] Help much appreciated and thank you …

Member Avatar for khean
0
2K
Member Avatar for guru_iyer

Problem is based on C#, ADO.NET, using Access Database. I am trying to filter the results from the database and display them in DataGridView on click of 'button1' button. But the datagridview shows empty results when there are actually 3 records with matching conditions. According to what I know, the …

Member Avatar for guru_iyer
0
186
Member Avatar for ddanbe

The DataGridView class is huge and complex. It is a beast I'm still struggling with, but once you learn to comprehend it, I find it most rewarding! Some try to circumvent it by using listboxes and the lot. Why don't get your feet wet with this as basic as it …

Member Avatar for ddanbe
2
1K
Member Avatar for love_dude1984

Hi, Im using a datagridview with a object as its datasource.. Im willing to provide sorting functionality for the same but as the datasource is object it is not allowing me to sort the columns in the gridview. is ther any way to achieve the same? i have visited the …

Member Avatar for fairbanj
0
115
Member Avatar for Tony-Tone

Hi.. I Have A Question On VB Basic, Been Trying To Figure This Out For over A Month Now.. I Want to Put Videos With Url In DataGridView So That When User Clicks Cell, Its Plays The Video, i Have 2 Columns.. Any Input Would Be Appreciated.. Thanx..

Member Avatar for Huntondoom
0
97
Member Avatar for AngelicOne

There's an error saying that the combobox is already b, inded to a datasource, thus cannot add new items. This is how I populate my combobox [CODE] cmd = new SqlCommand(); cmd.CommandType = CommandType.StoredProcedure; cmd.CommandText = "usp_distinctevent"; cmd.Connection = con; da = new SqlDataAdapter(); da.SelectCommand = cmd; ds = new …

Member Avatar for Mitja Bonca
0
352
Member Avatar for kazekagerandy

im doing an employee attendance monitoring system, and i need to have a search feature which shows an employee attendance record in a given range of dates example date1: feb 14, 2011 date2: mar 1, 2011 results must be: feb 14: login time logout time feb 15: login time logout …

Member Avatar for prvnkmr194
0
118
Member Avatar for ddanbe

I was wondering why are there so many methods for adding a row to a DataGridView consisting of textboxes. I have 4, if you find more let me know. Have made a WindowsFormsApp and put on it a DataGridView, with 3 standard columns to it and a button with the …

Member Avatar for ddanbe
1
612
Member Avatar for zepi

i have a problem with refreshing a datagridview. so i have an unbound datagridview that is not enabled. rows are added when a button is clicked. this works the first time, but when i click the button again, the new rows are not all displayed, only the rows that fit …

Member Avatar for zepi
0
181
Member Avatar for JOSheaIV

(I'll make this sweat and short, writting in class) Okay so I am working on a sudoku program, and am using a dataGridView for the gameboard. But I need to know how to create different boarders for the cells so that I can make up the 4 black lines that …

Member Avatar for ddanbe
0
651
Member Avatar for moose333

Hello I am currently attempting to write the contents of a .hrm file into a datagridview and place each piece of data into its required column. This is the code I have at the moment which is currently just extracting some data from the .hrm file and placing it in …

0
104
Member Avatar for Mitja Bonca

Code shows how to bind the data from a database`s table to dataTable and populate dataGridView with it. And then how to pass the modified (or not) data from dataGridView back to dataBase`s table.

Member Avatar for tomason
0
700
Member Avatar for abhi10kumar

How to access all values of the selected Row of a DatagridView in C# using Coding, MS Access as a Database..??

Member Avatar for Mitja Bonca
0
113
Member Avatar for abhi10kumar
Member Avatar for jay.gadhavi
0
180

The End.