Click here to Skip to main content
15,921,941 members
Home / Discussions / Database
   

Database

 
GeneralRe: Scripting User in SQL Server 2000 Pin
Colin Angus Mackay2-Jun-05 0:31
Colin Angus Mackay2-Jun-05 0:31 
GeneralDatagrid update and current row under edit. Pin
Itanium1-Jun-05 2:09
Itanium1-Jun-05 2:09 
GeneralSQL Oraclce code to SQL2000 convertion Pin
Mohammad Daba'an31-May-05 22:26
Mohammad Daba'an31-May-05 22:26 
GeneralPerformance around SQL and C# Pin
ouvrard31-May-05 21:46
ouvrard31-May-05 21:46 
GeneralRe: Performance around SQL and C# Pin
Colin Angus Mackay31-May-05 21:52
Colin Angus Mackay31-May-05 21:52 
GeneralRe: Performance around SQL and C# Pin
ouvrard31-May-05 21:55
ouvrard31-May-05 21:55 
GeneralSql access with user control Pin
ShugMagoo31-May-05 12:00
ShugMagoo31-May-05 12:00 
GeneralDatabinding in Master/Detail WinForm Pin
kb4mindia31-May-05 2:20
kb4mindia31-May-05 2:20 
Hi,

I am working on VB.NET Windows form application. I am using Data Binding feature of .NET. I have one problem as described below:

There are two table call “Overheads” and “OverheadDistribution”.
OverheadID is Primary Key for Overheads and FK for Overheads.

There is a Master-Detail Win Form where OverheadDistribution is shown in Datagrid as part of Detail part for selected Master (Overhead).

When I fetch data from Data source in DataSet. I make a DataRelation using OverheadId and assign this DataRelation to Datagrid as DataSource.

There are ten numbers of records in OverheadDistribution and for OverheadID=1, there are two records (OverheadDistributionID = 3,5). So, there are two rows in Datagrid.

When I want to delete a row from Datagrid, I select a row in Datagrid, get Row index using CurrentRowIndex, let assume I select row no 2 means actually fifth row in datatable (“OverheadDistribution”).

So, How can I find corresponding row of Datagrid in Datatable? Means, by clicking on Datagrid row, how can I find respective row in DataTable?

Regards,

GeneralQ: MsSQL dynamic Search with lot of conditions Pin
Stan Angeloff31-May-05 1:52
Stan Angeloff31-May-05 1:52 
GeneralRe: Q: MsSQL dynamic Search with lot of conditions Pin
Christian Graus31-May-05 12:06
protectorChristian Graus31-May-05 12:06 
GeneralRe: Q: MsSQL dynamic Search with lot of conditions Pin
Stan Angeloff1-Jun-05 7:14
Stan Angeloff1-Jun-05 7:14 
GeneralRe: Q: MsSQL dynamic Search with lot of conditions Pin
Christian Graus1-Jun-05 11:34
protectorChristian Graus1-Jun-05 11:34 
GeneralThank you! Pin
Stan Angeloff2-Jun-05 8:28
Stan Angeloff2-Jun-05 8:28 
GeneralRe: Thank you! Pin
Christian Graus2-Jun-05 10:17
protectorChristian Graus2-Jun-05 10:17 
GeneralRe: Thank you! Pin
Vertyg05-Jun-05 1:53
Vertyg05-Jun-05 1:53 
GeneralRe: Thank you! Pin
Christian Graus5-Jun-05 11:18
protectorChristian Graus5-Jun-05 11:18 
GeneralFunction returning Table (SQL) Pin
LIUCKAS31-May-05 0:28
LIUCKAS31-May-05 0:28 
GeneralExecuting a query Pin
Pothirajan C30-May-05 19:15
Pothirajan C30-May-05 19:15 
GeneralRe: Executing a query Pin
MasudM30-May-05 21:17
MasudM30-May-05 21:17 
GeneralRe: Executing a query Pin
Colin Angus Mackay30-May-05 22:18
Colin Angus Mackay30-May-05 22:18 
GeneralUpdate query Pin
jetset3230-May-05 1:19
jetset3230-May-05 1:19 
GeneralRe: Update query Pin
Christian Graus30-May-05 12:16
protectorChristian Graus30-May-05 12:16 
GeneralRe: Update query Pin
Anonymous2-Jun-05 3:37
Anonymous2-Jun-05 3:37 
GeneralRe: Update query Pin
jetset324-Jun-05 10:49
jetset324-Jun-05 10:49 
GeneralRe: Update query Pin
Christian Graus5-Jun-05 11:17
protectorChristian Graus5-Jun-05 11:17 

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.