114 Topics

Member Avatar for
Member Avatar for jared.geli

Good day guys I need help for adding rows in datagrid where the rows to be added are equal to the number of rows copied from excel. I can copy the data but it displays only the first row from excel on the last row of datagrid but if I …

Member Avatar for richardsonka
0
2K
Member Avatar for JustineAubrey

Hi, I'm trying to create cascading comboboxes, and my code isn't working. I've looked at other threads and I don't know why it isn't working properly. The first combo box displays System Names and the second combobox should populate the all Locations of that specific system chosen. When I run …

Member Avatar for Zahraa_1
0
320
Member Avatar for slavica.k

is there a way to search database viwable in datagrid view by selecting rows through a combo box, values trough a text box and display resoult in label? here is the code that doesnt work: Private Sub Command1_Click() 'populate datagrid trough textboxes DBGrid1.Columns(0).Text = Text1.Text Text1 = "" DBGrid1.Columns(1).Text = …

Member Avatar for slavica.k
0
578
Member Avatar for Praveen_10

namespace gridStudent { public partial class Form2 : Form { public Form2(DataGridView dgvFromFom1) { foreach (DataGridViewColumn dc in dgvFromFom1.Columns) { dataGridView1.Columns.Add(dc.Name, dc.HeaderText); } foreach (DataGridViewRow dr in dgvFromFom1.Rows) { Object[] newRow = new object[dr.Cells.Count]; for (int i = 0; i < newRow.Length; i++) { newRow[i] = dr.Cells[i].Value; } dataGridView1.Rows.Add(newRow); } …

Member Avatar for ddanbe
0
235
Member Avatar for krunal1986

Hello, I have my VB 6.0 Application and make a Exe and I hosted it on my windows server 2000 it gives me error 'Could not access network location \\mynetworkpath'. earlier when there was Datepicker control was used then also there was error coming but I had registered MSCOMCTL2.dll and …

0
220
Member Avatar for TarkiB

Hi guys, I'm running into an issue that's really frustrating me. It's probably the most common newbie oversight, causing me to get the dreaded NullReferenceException. I've encountered it many times before, but this time it's got me stumped. I'm filling a Datagrid with a table from a database. I'm able …

Member Avatar for arunkumars
0
289
Member Avatar for rihab_1

hi, I want to spent the values of textbox to datagridview from another form and that after a click on the button add, help me please

Member Avatar for Reverend Jim
0
3K
Member Avatar for rody9

Hello,I am Vanen,from Mauritius Island,new to c# and vs. I am getting difficulties while saving values from my datagrid to database. If possible,option for selecting all the rows and option for selecting which rows to save to database from the datagrid. Can someone guide me?please! Thanks in advance.

Member Avatar for rody9
0
213
Member Avatar for srazi

Hello Friends, I'am an application s/w programmer, was working on Classic VB&ASP(with limited knowledge of .net and c#),now working on SSRS Reports, tasked with designing a two-form application to be deployed on Intermec CN70 device (OS-Microsoft Windows Embedded Handheld 6.5) more specifications [here](http://www.intermec.com/products/cmptrcn70a/index.aspx) The required application on successful login(username/password), provide …

0
158
Member Avatar for riayas

I have 2 forms , form one has a datagrid with 10 columns form 2 has a listview box with 4 columns i want to populate the listview columns with 4 of the values from a row in the datagrid when the row is selected and the 'add ' button …

Member Avatar for riayas
0
704
Member Avatar for krunal1986
Member Avatar for sayiina.bazar

[](http://www.)how does a datagrid for example when you enter a data and it automatically update/enter at the datagrid when you click the next textbox? please i need a clear explanation tnx XD

Member Avatar for Minimalist
0
118
Member Avatar for Eternal Newbie

How could I change the column header of the Data Grid to center or right but not left as default? [Pls pay attention, We are talking 'bout Data Grid here, recently I always receive answers for Data Grid View instead :( ] I just want to re-align the header only, …

Member Avatar for kRod
0
2K
Member Avatar for theonebit

I am confuse about datagrid or table. How do you use grids like explorer, IDM, utorrent uses. are they using data grid or table or something i dont know. cant seem to get it? will post picture if required.

Member Avatar for deceptikon
0
204
Member Avatar for anandatheerthan

Experts, Please forgive me if this is a dumb question. 1)I am developing an application that needs data to be displayed in a grid format. 2)I need the ability to edit multiple records inline 3) I need the ability to use custom validations on rows being edited. 4)I am not …

Member Avatar for urtrivedi
0
261
Member Avatar for k.prabhu

I'm a beginner to vb6.. I'm doing a attendance project. I'm using datagrid to view the details from database. i'm trying to update the database through datagrid. can any one help please.. i've searched every where data adapter is used to update. i can't find anyother sources..

0
175
Member Avatar for EXTRA_RICE

im doing a program in vb6.0 and im using datagrid as my table for database. i want to print selected rows in datagrid... the system im working on is inventory system printing the selected rows..help me thanxx..

Member Avatar for EXTRA_RICE
0
328
Member Avatar for oluseye.ademola

I am new to vb.net Pls. Can someone help me on how do to display my data saved into sql server from form1 to datagridview in form2 with vb.net. Thanks in advance.

Member Avatar for ShahanDev
0
211
Member Avatar for sushilsth

Private Sub one_btninsert_Click(sender As Object, e As EventArgs) Handles one_btninsert.Click For i = 0 To DataGridView1.Rows.Count - 1 Dim row1 As Integer = Val(DataGridView1.Rows(i).Cells(1).Value.ToString) Dim row2 As String = DataGridView2.Rows(i).Cells(2).Value.ToString Dim row3 As String = DataGridView2.Rows(i).Cells(3).Value.ToString Dim row4 As String = DataGridView2.Rows(i).Cells(4).Value.ToString Dim row5 As String = DataGridView2.Rows(i).Cells(5).Value.ToString Dim row6 …

Member Avatar for Begginnerdev
0
3K
Member Avatar for weeraa

Im developing application using ASP.net + VB.net Now i want to change column width at run time. But in run time it doesn't work. This is what i did up to now. data bind in form load like this. myGrid.datasource = myDataSet.table(0) myGrid.databind() In here dataset come properly. in grid …

Member Avatar for weeraa
0
524
Member Avatar for mlesniak

Hi all. Using VB6: I have an application in which I am programmatically populating a datagrid. When I first drop the datagrid on my form, it has 2 columns by default. I can add further columns to them but I wanted to know if there was a tidy way of …

Member Avatar for imBaCodes
0
243
Member Avatar for A.Muqeetkhan

guys i need ur help i want to insert data directly into the sql table using c# here is my code all that i have been able to do is get the values from the table not insert them i tried to do it this way but apprently there is …

Member Avatar for Ancient Dragon
0
234
Member Avatar for pratik65

i have a table Marks_Entry into my database and i want to enter all students subject marks at a time and i am doing it through a datagrid view . i have made a list of rollno of student and one subject row so i want that user may able …

Member Avatar for lolafuertes
0
265
Member Avatar for vonnoy

hi, im new in vb6 how to search in datagrid where every keyword you type wil display the record found in database? here's my code in saving pls ned help here....this is our thesis God Bless>thanks. Sub search() 'search if student is registered then With ado .ConnectionString = connectdb .RecordSource …

Member Avatar for deepakbshitole
0
4K
Member Avatar for hiral2cool

I have a One Search Box where we can search the "ClientName" now this Client Name match with Database ClientMaster -> ClientName if both Equal then Give the rowindex whose ClientName is this i only want the rowindex where clientname = "";

Member Avatar for JOSheaIV
0
121
Member Avatar for kokiis

im using many textboxes one button and one datagridview, i want for example, textbox1.text to be shown i first row of column one, textbox2.text to be shown on first row of column2 and so one ... when i press button1. after i press button1, textboxes to be clean and to …

Member Avatar for Wolxhound90
0
440
Member Avatar for Farhad.idrees

Hi guys... i want to delete data from datagrid in mysql...i have also done update query using same datagrid... but i m not able to delete data... my code is <script type="text/javascript"> $(document).ready(function () { // prepare the data var data = {}; var theme = 'classic'; var source = …

Member Avatar for lambing
0
380
Member Avatar for mikeybware

I have the following code which prints my datagrid nicely. The problem is that it only prints the first page and cuts off everything thereafter. I know I need to implement the e.HasMorePages = True in some manner but I am unable to get that working. Here is my code: …

Member Avatar for robtrue
0
316
Member Avatar for tedy.jd

I was doing xaml with vb coding in vb 2010 I create a datagrid and linked itemssource with table adapter, and also I modify a columns to checkbox datagrid columns. Problem now is I checked the checkbox value in the columns in datagrid but through button check the data grid …

Member Avatar for tedy.jd
0
291
Member Avatar for ktsangop

Hello everyone! I am building a mfc dialog based application in visual c++ 6 and using mysql c api to connect to a database. What i need is a simple type of data grid to show mysql query results in a dialog. I do not need to edit, update, save …

Member Avatar for ktsangop
0
994

The End.