Click here to Skip to main content
15,921,959 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: help on conversion Pin
Dave Kreskowiak1-Jun-05 1:54
mveDave Kreskowiak1-Jun-05 1:54 
GeneralRe: help on conversion Pin
Member 19982501-Jun-05 2:24
Member 19982501-Jun-05 2:24 
GeneralRe: help on conversion Pin
Dave Kreskowiak1-Jun-05 7:32
mveDave Kreskowiak1-Jun-05 7:32 
GeneralRe: help on conversion Pin
Member 19982501-Jun-05 22:09
Member 19982501-Jun-05 22:09 
GeneralRe: help on conversion Pin
Dave Kreskowiak2-Jun-05 2:52
mveDave Kreskowiak2-Jun-05 2:52 
GeneralRe: help on conversion Pin
Member 19982502-Jun-05 21:07
Member 19982502-Jun-05 21:07 
GeneralRe: help on conversion Pin
Dave Kreskowiak3-Jun-05 5:19
mveDave Kreskowiak3-Jun-05 5:19 
GeneralVB.NET Databinding in Master/Detail Win Form Pin
kb4mindia31-May-05 2:17
kb4mindia31-May-05 2:17 
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,

QuestionHow to let the Video keep my size? Pin
rushing31-May-05 1:55
rushing31-May-05 1:55 
AnswerRe: How to let the Video keep my size? Pin
Christian Graus31-May-05 12:01
protectorChristian Graus31-May-05 12:01 
GeneralRe: How to let the Video keep my size? Pin
rushing31-May-05 17:39
rushing31-May-05 17:39 
GeneralRe: How to let the Video keep my size? Pin
Christian Graus31-May-05 17:41
protectorChristian Graus31-May-05 17:41 
GeneralRe: How to let the Video keep my size? Pin
rushing31-May-05 20:02
rushing31-May-05 20:02 
GeneralRe: How to let the Video keep my size? Pin
Christian Graus31-May-05 21:43
protectorChristian Graus31-May-05 21:43 
QuestionHow to create a flat file report Pin
aaleon31-May-05 1:47
aaleon31-May-05 1:47 
AnswerRe: How to create a flat file report Pin
KaptinKrunch31-May-05 19:52
KaptinKrunch31-May-05 19:52 
GeneralTime Pin
ADY00730-May-05 23:32
ADY00730-May-05 23:32 
GeneralRe: Time Pin
toxcct31-May-05 0:35
toxcct31-May-05 0:35 
GeneralRe: Time Pin
Colin Angus Mackay31-May-05 0:37
Colin Angus Mackay31-May-05 0:37 
Generaltry this Pin
hakanaktan31-May-05 0:41
hakanaktan31-May-05 0:41 
GeneralRe: try this Pin
Colin Angus Mackay31-May-05 0:45
Colin Angus Mackay31-May-05 0:45 
Generalopps sorry Pin
hakanaktan31-May-05 1:01
hakanaktan31-May-05 1:01 
GeneralRe: opps sorry Pin
Colin Angus Mackay31-May-05 1:35
Colin Angus Mackay31-May-05 1:35 
Generalyes you are right Pin
hakanaktan31-May-05 3:38
hakanaktan31-May-05 3:38 
GeneralThe way to count the No. of pages in ms word's Pin
IvanChang30-May-05 20:58
IvanChang30-May-05 20:58 

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.