Click here to Skip to main content
15,884,298 members
Home / Discussions / Database
   

Database

 
AnswerRe: DAO Error 3028 Pin
S Douglas20-Oct-05 1:25
professionalS Douglas20-Oct-05 1:25 
GeneralRe: DAO Error 3028 Pin
mikanu25-Oct-05 13:31
mikanu25-Oct-05 13:31 
GeneralRe: DAO Error 3028 Pin
S Douglas26-Oct-05 2:01
professionalS Douglas26-Oct-05 2:01 
GeneralRe: DAO Error 3028 Pin
mikanu27-Oct-05 8:38
mikanu27-Oct-05 8:38 
GeneralRe: DAO Error 3028 Pin
S Douglas27-Oct-05 14:30
professionalS Douglas27-Oct-05 14:30 
QuestionImport XML file in SQL Server 2000 database Pin
george ivanov17-Oct-05 9:05
george ivanov17-Oct-05 9:05 
AnswerRe: Import XML file in SQL Server 2000 database Pin
enjoycrack17-Oct-05 16:35
enjoycrack17-Oct-05 16:35 
QuestionDataTable, DataView, and DataGridView databinding and display Pin
Drew McGhie17-Oct-05 5:44
Drew McGhie17-Oct-05 5:44 
I'm programming a windows form, and part of it is getting data from a SQL database, organizing it, and then displaying it. Short version of my question: How do I "refresh" the datagrid, dataview, or datatable such that changes to the datatable will be reflected in the datagridview that the user sees?

Long question:
He're's a dumbed down version of my code, with really obvious function names;

form_onLoad()
{
CrazyDataSet myDataSet;
DataView myView;
FillDataSetFromSQL();
FillCustomTable(); //the one that's going to be displayed.
myView = new DataView(myDataSet.ViewTable);
myView.rowFilter = someFilter();
myDataGridView.DataSource = myView;
}

buttonAddRow_onClick
{
AddRowToDataTable(row)
////HERE!!!
}

What do I do ^ there to have the new row show up in the datagridview? I know the dgv has refresh(), but the dataView is still unchanged, even though the datatable is not. Any suggestions? I googled and found dataView.dataBind, but it was from an article that was 3 years old and for the old DataGrid class.
AnswerRe: DataTable, DataView, and DataGridView databinding and display Pin
miah alom17-Oct-05 5:48
miah alom17-Oct-05 5:48 
QuestionEarly Binding Problem Pin
itkid17-Oct-05 5:31
itkid17-Oct-05 5:31 
QuestionConverting 1000 into 10.00 Pin
hasanali0017-Oct-05 4:57
hasanali0017-Oct-05 4:57 
AnswerRe: Converting 1000 into 10.00 Pin
miah alom17-Oct-05 5:44
miah alom17-Oct-05 5:44 
QuestionAccess Hyperlink Field Pin
T-Smooth17-Oct-05 2:19
T-Smooth17-Oct-05 2:19 
Questionsteps of configure the MySQL database in Windows XP Pin
khuchaiz16-Oct-05 13:18
khuchaiz16-Oct-05 13:18 
QuestionDataGrid Pin
kkchh16-Oct-05 4:55
kkchh16-Oct-05 4:55 
AnswerRe: DataGrid Pin
miah alom17-Oct-05 5:31
miah alom17-Oct-05 5:31 
GeneralRe: DataGrid Pin
Anonymous18-Oct-05 14:56
Anonymous18-Oct-05 14:56 
GeneralRe: DataGrid Pin
miah alom19-Oct-05 3:56
miah alom19-Oct-05 3:56 
GeneralRe: DataGrid Pin
Anonymous19-Oct-05 14:34
Anonymous19-Oct-05 14:34 
AnswerRe: DataGrid Pin
dwatkins@dirq.net18-Oct-05 6:01
dwatkins@dirq.net18-Oct-05 6:01 
QuestionChinese antique furniture Pin
Member 236383815-Oct-05 17:03
Member 236383815-Oct-05 17:03 
AnswerRe: Chinese antique furniture Pin
Colin Angus Mackay16-Oct-05 0:10
Colin Angus Mackay16-Oct-05 0:10 
AnswerRe: Chinese antique furniture Pin
Christian Graus16-Oct-05 12:57
protectorChristian Graus16-Oct-05 12:57 
QuestionApply UNIQUE using Visual Studio.Net Pin
Aayush Puri15-Oct-05 5:05
Aayush Puri15-Oct-05 5:05 
Questionchecking database Pin
abhinish15-Oct-05 1:11
abhinish15-Oct-05 1:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.