|
by: Lucky |
last post by:
hi guys,
it's me again. now days i'm learning DataGridView of .NET 2.0. i found
that some of the features are quite attractive but sometimes they are
not easy to modify and from that point our problem starts.
i've one bit column in my table in SQL SERVER 2000 Database. the
DataGridView displays it as "True" or "False". what i want to do is, i
want to make it display "Yes" or "No" instead.
i don't know what to do. As this is my first...
|
by: Ivan |
last post by:
I have a class Foo which have two property. I have a thread that do
some process and update class Foo int B. I have a datagridview on main
form. this datagridview data source to this class Foo and column A
binds to string A and column B binds to int B. When i start two
threads, the datagridview able to show two rows and updated int B at
run time. How?
public class Foo
{
public Foo()
|
by: Drakemar |
last post by:
What I thought was a real simple thing to do has out not to be. I have
a real simple Access database with two tables:
Student Table
id (autonumber) *primary key*
name (text)
teacherID (int) *foreign key*
Teacher
id (autonumber) *primary key* relationship to Student.teacherID
|
by: krigare |
last post by:
There maybe a better way of doing this but I am attempting to display a
list of objects and their respective properties using a datagridview.
The object class is straight forward with several public properties.
Public Class myObj
Friend mID As String
Friend mData1 As String
Friend mData2 As String
Public Sub New(ByVal ID, ByVal Data1, ByVal Data2)
|
by: srj115 |
last post by:
I'm building a VB form with a DataGridView in it, and I'd like it to show a subdatasheet of a related table. For instance, in Access 2003 I have a "Tasks" table, and it has a one-to-many relationship with the "SubTasks" table. Opening the Tasks table in Access will show a "+" sign next to each record, which can be expanded to show all subtasks related to the Tasks record. However, I am unable to get the "+" sign feature in my VB form's...
|
|
by: rav500 |
last post by:
I am using visual studio 2005, .NET2.0
I am reading xml data into a dataset and bind the it to a datagridview
I have 2 tables in my xml that I would like to bind to the datagridview. Using datamember, it only let me display 1 table.
Is there a way I could the 2 tables in my datagridview ?
Thanks
|
by: Shataken |
last post by:
I have an application that allows the user to select a table name from a combobox. Once the table is selected it fills in a DataGridView with the info from that table. I need to let them make any changes then update the info back into access. Below is my code to get the data into the DGV:
Private Function LoadTableData() As Boolean
Try
Dim cmd As New OleDb.OleDbCommand("SELECT * FROM " & cmbTables.Text, c)
...
|
by: TG |
last post by:
Hi!
I have an application in which I have some checkboxes and depending
which ones are checked those columns will show in the datagridview
from sql server or no.
After that I have 2 buttons:
1) export to excel button exports the visible columns from the
datagridview to excel (this works fine)
|
by: tanuja5 |
last post by:
hi..
how to delete the selected row in datagridview using ContextMenuStrip.When i right-click and press "delete" the seleted row in the dataGridView has to be deleted and as well in my access table.I am new to C#.net
my coding is this:
int curRow = 0;
curRow = this.dataGridView1.CurrentRow.Index;
this.dataGridView1.Rows.RemoveAt(curRow);
but it is deleting only in datagridView and it is not...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|