114 Topics

Member Avatar for
Member Avatar for guru_iyer

I've a DataGrid Control in my application and a button. When i click a button it should display the contents of the Logins table in the DataGrid. For this I've coded the following, but its giving me an error "Rowset is not bookmarkable.". I've searched a lot, many suggestions include …

Member Avatar for AndreRet
0
1K
Member Avatar for joshuaramirez

I need to update my Microsoft Access database 2003 from my server automatically. but i don't have any idea how to do it. Please help i really need this for my thesis. Thanks!

Member Avatar for debasisdas
0
198
Member Avatar for ss123456

i have a table employee. it has various attributes.(e_id,e_name,e_addr..) i have a data grid that displays all d values of employee..i need to now select multiple rows from the datagrid of employee such that only e_id gets inserted into another table. is there an sql or vb code that can …

Member Avatar for ChrisPadgham
0
802
Member Avatar for bprosic

Here is a picture of a form. http://postimage.org/image/a813nony5/ Please help: I have a form with: - 4 textboxes (textbox 11,21,311 & 41) - 4 buttons (add, delete, save, refresh) - 1 DataGridView (MS Access database connected) - 1 filter to filter the data through DatagridView Here is the story: When …

Member Avatar for bprosic
0
2K
Member Avatar for jayrbete

how can i view record from my mysql database in datagridview and update or delete it? can you guys help me? please share your codes. thanks in advance.

Member Avatar for brylle
0
273
Member Avatar for pipelian

Hi how can I print a new document for each datarow in my datagridview?. I have the PrintDocument procedures separately. Thanks in advance

0
166
Member Avatar for prancode

Hi, I'm trying to export data from excel sheet to my grid, I'm using the foll code, but I get an error at DataGridView1.Rows.Add(), saying rows cannot be added programmatically. Private Sub btnexport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnexport.Click Dim xlsApp As Microsoft.Office.Interop.Excel.Application Dim xlsbook As Microsoft.Office.Interop.Excel.Workbook …

Member Avatar for M.Waqas Aslam
0
155
Member Avatar for bill_kearns

OK friends, so I need your advice. I'm reprogramming another web app that was originally written in .Net 1.1. The page I am working on looks like simple GridView with select, update and delete enabled. But it isn't so simple. In the code I have 10, yes 10 calls to …

Member Avatar for pritaeas
0
143
Member Avatar for mzeewashooo

iam using vb 2010 and i want to search for any record when i enter a text in the search text box. i mean, if my records are as follows: dan,daniel,edn,steven,mary. and i just inpunt 'd' in the search box, the datagrid lists: dan,daniel,edn because they have a 'd' in …

Member Avatar for mzeewashooo
0
268
Member Avatar for santhini

Private Sub DataGridView1_SelectionChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGridView1.SelectionChanged Dim con As New SqlClient.SqlConnection("data source=GOLDA2\GOLDA;initial catalog=school;Integrated Security=True") Dim sql As String = "Select * from fees where particulars=" & "'DataGridView1.Rows(0).Cells(1).Value'" & "" Dim dataadapter As New SqlDataAdapter(sql, con) Dim ds As New DataSet() con.Open() dataadapter.Fill(ds, "fees") con.Close() …

Member Avatar for hericles
0
438
Member Avatar for jsj1411

i have a datagridview in my vb.net form displaying data from ms access file A , table A , is it possible for me to export the data in the data gridview to ms access file A table B?? i'm not using sql.

Member Avatar for Reverend Jim
0
860
Member Avatar for M.Waqas Aslam

hello ! i am working on a simple grid , i create 3 columns name , A B C , manually , now i have a table having three fields A B C , i want to show Rec A in A col , B in B Col and C …

Member Avatar for hericles
0
105
Member Avatar for vimit

Hello, Please tell me how to use datagrid in C# windows application? How to use other controls like textbox, checkbox and combobox in datagrind and populate it from database. Thanks VIMIT

Member Avatar for faizan11
0
147
Member Avatar for Pamilerin

In sql server , my query brings out more than one row of data SELECT * FROM TABLE 1 WHERE COLUMN LIKE 'PARAMETER' Now i am trying to make it in a dtagrid that the datagrid shows allpossible rows that is supposed to show .This is the code Dim objCommand …

Member Avatar for Pamilerin
0
820
Member Avatar for Pamilerin

I have a problem trying to link my my datagrid view to my sql server stored procedure. The way it should work is that when I select an item in a list from my combo box it returns a set of rows on the datagrid view specific only to that …

Member Avatar for Pamilerin
0
1K
Member Avatar for Pamilerin

Any way I can populate a datagrid in vb.net with the ff xml data. ` <?xml version="1.0" encoding="utf-8"?> <pricelist> <item> <symbol>7UP</symbol> <security>7-UP BOTTLING PLC</security> <opening price>41.75</opening price> <closing price>41.75</closing price> <description>Symbol:7UP, Security:7-UP BOTTLING PLC, Opening price:41.75, Closing price:41.75</description> <pubDate>Sun, 15 Apr 2012 01:00:10 GMT</pubDate> </item> <item> <symbol>AGLEVENT</symbol> <security>A.G.LEVENTIS(NIGERIA) PLC</security> <opening …

Member Avatar for thines01
0
350
Member Avatar for Pamilerin

can any body help me by giving me a guideline on how to insert data from a populated datagrid into sql server table and how to make the values conform to the specified datatypes constructe in the sql server side...assuming the datagrid headings have already been created in the sql …

Member Avatar for Begginnerdev
0
845
Member Avatar for G_Waddell

Hi All, I know this may seam odd but I'm getting an error navigating through a datagrid of an invalid cast. The trouble is it is of the same types!! I working on customising some Sage code and in the form there is a datagrid that is populated by a …

Member Avatar for G_Waddell
0
250
Member Avatar for saleem.mukhtiar

dear friends following is the code for export data from data grid to excel .. problem which i m facing that .. i could not export the last coloum values.. kindly give sulotion.. `Inline Code Example Here` Private Sub btnExcel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExcel.Click Dim …

Member Avatar for Begginnerdev
0
319
Member Avatar for scarcella

Hey guys, i need to know if i can find a FREE excel like datagrid that will allow inline editing and has drop down boxes for some fields. Also filed may be able to collect their default data from a session variable. I have tried this: [url]http://azgtech.wordpress.com/2010/08/01/jqgrid-php-datagrid/[/url] Thanks, Marais

Member Avatar for azghanvi
0
1K
Member Avatar for JustineAubrey

Hi, I am creating a form application that should display information from one dataset into individual textboxes (ie. system name, system id, location name, location id). The textboxes populate upon the selection of a pair of cascading combo boxes. So, the user first selects a system name from the first …

Member Avatar for JustineAubrey
0
248
Member Avatar for jcgldr

hi i'm a beguiner in visual basic i have a datagrid view filled with a dataset table thats combined by 2 tables 1-persons 2- actions i want to select a row in the grid view and get the person table where personid is selected in datagridview i assume that it …

Member Avatar for M.Waqas Aslam
0
293
Member Avatar for Eternal Newbie

In a data grid, I have a data grid with a column like this: [CODE]Dim colAdd As New HeaderAndDataAlignColumn With colAdd .MappingName = "Address" .HeaderText = "Nationality" .Width = 150 .Alignment = HorizontalAlignment.Center .TextBox.Enabled = False .ReadOnly = True .NullText = "" End With[/CODE] How can I disable this column …

Member Avatar for Eternal Newbie
0
187
Member Avatar for Eternal Newbie

I have a DataGrid table like this: [img]http://ni8.upanh.com/b1.s24.d1/f869170161faa9e6ad2c272d6f66228e_40513398.capture.png[/img] How could I change the plain-looking arrows in the RowHeader into row number (Like 1,2,3...)??? Thanks for any help from you guys!

Member Avatar for Eternal Newbie
0
216
Member Avatar for JustineAubrey

Hi, I'm creating a form application using vb. I'm still new to this and I'm teaching myself via the internet so please don't be too mean. I wrote my code using queries that I created in visual studio. I don't quite remember how to create an update query and write …

Member Avatar for GAiXz
0
214
Member Avatar for mani-hellboy

Hi friends., Actually I use datagrid to show my result from XML file.I load my data from XML file easily.But i need Sorting method for that and i don`t know how to solve it Please give me solution for that My code is [CODE] Imports System.Data Imports System.Xml Imports System.IO.StringReader …

Member Avatar for mani-hellboy
-1
122
Member Avatar for Lopoc

Hello This is my first post so I’m sorry if I ramble and don’t explain my issue clearly. I am binding a dataset (dsTest) with a table called “TempResult” to a datagrid (DatagridView1). The purpose of the datagrid is to display test labels (set elsewhere in the software) and to …

Member Avatar for Lopoc
0
152
Member Avatar for mfas

Hi all, I have been messing around with datagrid styling for a couple of days now, and I am having one issue left which I can not seem to solve. I want to highligt the text of the row on which I hover with the mouse. Well this seems like …

Member Avatar for mfas
0
2K
Member Avatar for amf101

Guys I need help. I am doing a system (project) entitled “Automatic Examination Scheduling System”. This system as it stressed in its title, aim to automate the assigning of proctors, rooms and times to subjects. So it must be triggered with only one button all at once. I have tables …

0
72
Member Avatar for Hiddenshadows57

First, I did search the forum and I found a few topics about this but none of the information seemed to be applicable to what I'm doing. Anyways. What I'm working on now is a basic telephone directory. a Directory text file contains the names of all of the subdirectories. …

Member Avatar for thines01
0
134

The End.