114 Topics

Member Avatar for
Member Avatar for TechNewbie23

Hey! I am creating an application which will allow users to search parents names and display their childen respectively in a datagrid. I have created a form with two text boxes, a search button and a datagrid. The two text boxes are txtFName.text and txtLName.Text. On clicking btnSearch I want …

Member Avatar for TechNewbie23
0
216
Member Avatar for Shodow

can u help me about this . . . when i click the column header of datagrid it will sort automatically

Member Avatar for AndreRet
0
1K
Member Avatar for Turaiel

Originally I was using Office Interop to import data, but that was a headache and a half for both me and my computer. Right now I'm attempting to load it with ACE, but my data grid isn't being populated. Once that's up and running I need to know how to …

Member Avatar for Turaiel
0
217
Member Avatar for shashasaaim

I have a datagrid. Right now, the datagrid has an event which is doubleclick on a row. it doesn't matter at which column i click,it will still be read as a row. this is its code: [CODE]<my:DataGrid x:Name="ProjectDG" LoadingRow="ProjectDG_LoadingRow" IsReadOnly="True" AutoGenerateColumns="False" Cursor="Hand" CanUserReorderColumns="False" CanUserResizeRows="False" CanUserSortColumns="False" ColumnHeaderHeight="25" HorizontalGridLinesBrush="#FF3B3B3B" VerticalGridLinesBrush="#FF3B3B3B" BorderBrush="{x:Null}" Foreground="Black" …

0
101
Member Avatar for jlivvers

Hi, I'm looking to find out how to force a refresh on a datagrid in a windows app. On a mainForm the user clicks a button to add a new record. This opens a new window. When the user has entered the data they click save and close which should …

Member Avatar for kvprajapati
0
96
Member Avatar for auxius

please help me.im using vb studio 2010.my problem is that when im trying to save a data on the database access .accdb it wont update the datagrid on my main form..it only update on my CustomerInfoForm where you can input New Item info and a Datagrid but my Datagrid2 on …

0
76
Member Avatar for NH1

I need a way to put a dataGrid inside a comboBox. The only way i could figure out how to do it is "using data bound items". The problem with that is that it only shows one column in the dataGrid. I need to be able to set it so …

Member Avatar for Momerath
0
127
Member Avatar for Peric

I've started to work something with ASP.NET in c# (i'm newbie), and i have a question: I've a DataGrid and inside DataGrid i have Columns with TemplateColumn, BoundColumn and ButtonColumn. I've binded DataSet to my DataGrid and it's all working fine but I want to know how can I programmatically …

Member Avatar for Peric
0
59
Member Avatar for rhonda2010

Hi! I am having trouble creating a hyperlink in my datagrid. What I need is to make two columns in the datagrid hyperlinks. For example, one column in the datagrid is for a report number. Another column is the path for pictures. So, I want the user to be able …

0
104
Member Avatar for srinim84

i have empty datagridview. Now i need to enrty the multiple values in datagridview after that when i click the save button i need to store the all values in sqlserver using c#. Please help

0
84
Member Avatar for sims6785

Hi, I am using vb.net 2008 with MySQL for my project. I have a datagridview on my form which displays records from Mysql table on form load. i want to delete the selected row in datagrid from table on 'row header mouse click' event. The 2 different codes that i …

Member Avatar for lolafuertes
0
612
Member Avatar for udaraps

Hi all im doing a project on bed ordering system. There i'm using some text boxes to display the selected bed item's description ( like manufacturer, size of bed & price of bed). When the user input the value for the quantity text box & click on the add button; …

Member Avatar for abu taher
0
102
Member Avatar for georges-louis

hi everybody, I'm looking everywhere to find out a way to access a specific column and row of a datagrid generated by a sql-query in visual basic. The datagrid looks, simplified, like this: column1 column2 data1 data2 now I would need a function, that reads data2 out in visual basic …

Member Avatar for georges-louis
0
106
Member Avatar for NH1

Im having a little bit of trouble with an update statement. if any one could take a look at it and help me with what im doing wrong that would be great. [code=c] private void button6_Click(object sender, EventArgs e) // Button6 is OK { ///////If Null///// if ((textBox1.Text.Length == 0) …

Member Avatar for Geekitygeek
0
104
Member Avatar for rexyrexin

I am working in windows forms in c#. I have at table in sql server which has a column named AssignedTo. This column is of varchar type and contains more than one value separated by commas. When showing in datagrid, the values are shown easily in a cell. But as …

Member Avatar for kvprajapati
0
105
Member Avatar for digitalsindhx

Friends I m workin on vb.net ado.net oledb, I have also added datagrid Control to my form for retriving database from .Mdb file i used following code [code] 'decleared Name Space Imports System.Data.OleDb 'Dicleared Variabls in Class Form1 Dim con As New OleDb.OleDbConnection Dim ds As New DataSet Dim da …

Member Avatar for digitalsindhx
0
598
Member Avatar for digitalsindhx

Help With Add, Delete, Edit and Update Record (with Datatable Method) I Created a Software with OleDb .mdb database previously Using Dataset Method, but I was unable to Connect Datagrid with it on real Basis, I mean when I Clicked Next Record Button it only Moves in TextBoxes (Which were …

0
125
Member Avatar for aigoo_myself

hi I'm really new to c# but i really don't know how to do this! well I have a table customer with a customer_no as a primary key. I have a second table named order and it customer_no is one of its primary key. What I want to do is …

Member Avatar for kvprajapati
0
142
Member Avatar for skyyforever

Hello everyone, I'm trying to implement windows form with data grid (or anything you say is better) which should represent a hierarchical data. This data are stored in a xml file which structure is as follows: [code] <elements> <element> <term>name of element</term> <subelements> <caption> <term>caption name</term> <subelements> <caption> <term>caption 2 …

Member Avatar for gusano79
0
176
Member Avatar for kool.net

Hi, I m using a datagrid in my project , it is just like a report but it is created with many queries so i m unable to create it with crystal report, so i created it with in loop with 10 datasets each for separate column. Now i want …

0
74
Member Avatar for Oskowich

I have a DataGrid that I create dynamically in codebehind. I add events to the datagrid, it works fine except of the SortCommand event. It will not fire. If I change my page_load to create and bind the datagrid everytime when a postback it works. But I donĀ“t want to …

Member Avatar for Oskowich
0
250
Member Avatar for kool.net

hi, i m trying to get value from of first column of selected row from datagridview. please help me....\ Thanks in advance

1
85
Member Avatar for Alphard

Hi everyone! I am having difficulties in terms of manipulating data using datagrid. So my problem is this, I have 2 forms;namely, a form for logging in, then secondly, a form which is similar to an inbox. I have a datagrid in my inbox to call on records in my …

Member Avatar for TomW
0
352
Member Avatar for liadmz

Hi All, I'm trying to find a way to display a table to the user using mySQL DB. [better then the DataGrid View] The table should have options to merge cells for related items and to embed buttons in the cells. Thanks for your help.

Member Avatar for liadmz
0
219

The End.