Click here to Skip to main content
15,914,400 members
Home / Discussions / Database
   

Database

 
AnswerRe: datatime format problem. Pin
Masoumeh...29-Aug-07 4:50
Masoumeh...29-Aug-07 4:50 
AnswerRe: datatime format problem. Pin
shivvish30-Aug-07 22:48
shivvish30-Aug-07 22:48 
QuestionFrom Microsoft Access to MS SQL Server 2005 Pin
Bonsta28-Aug-07 20:24
Bonsta28-Aug-07 20:24 
AnswerRe: From Microsoft Access to MS SQL Server 2005 Pin
blackjack215029-Aug-07 0:24
blackjack215029-Aug-07 0:24 
AnswerRe: From Microsoft Access to MS SQL Server 2005 Pin
Rob Graham29-Aug-07 5:47
Rob Graham29-Aug-07 5:47 
Questionhow i run the .sql file in either microsoft SQL 2005? Pin
sherjeel28-Aug-07 6:09
sherjeel28-Aug-07 6:09 
AnswerRe: how i run the .sql file in either microsoft SQL 2005? Pin
Mike Dimmick28-Aug-07 9:38
Mike Dimmick28-Aug-07 9:38 
Questioncan't find childrows.... Pin
gericooper28-Aug-07 6:04
gericooper28-Aug-07 6:04 
Hi

Don't know what's wrong with my code(below), it runs but doesn't return any childrows( however exists -childrows.length=0- & identified by parent rows ID). Dataset was created by wizard, table & nested table in the dataset browser exist. I don't have any idea left... Thanks for your posts in advance, g
private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e)
        {
            if (Validate() && uzemanyagBindingSource != null)
            {
                bool deleteRow = true;
                DataRowView rowView = uzemanyagBindingSource.Current as DataRowView;
                if (rowView == null)
                { return; }
                Debmut9DataSet.UzemanyagRow row = rowView.Row as Debmut9DataSet.UzemanyagRow;
                Debmut9DataSet.GepRow[] ChildRows = row.GetGepRows();
               

                if (ChildRows.Length > 0)
                {
                    DialogResult userChoice = MessageBox.Show("All records in this & realted  table   will be deleted.Continue?", "Delete...", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
                    if (userChoice == DialogResult.Yes)
                    {
                        foreach (Debmut9DataSet.GepRow childuzemanyag in ChildRows)
                        {
                            
                            childuzemanyag.Delete();
                        }
                    }
                    else
                    { deleteRow = false; }
                }
                if (deleteRow)
                    uzemanyagBindingSource.RemoveCurrent();
                uzemanyagBindingSource.EndEdit();

                Array.Resize(ref uzemanyagregiar, uzemanyagBindingSource.List.Count);
            }

AnswerRe: can't find childrows.... Pin
gericooper28-Aug-07 19:52
gericooper28-Aug-07 19:52 
QuestionTranspose in SQL Pin
Elizma28-Aug-07 1:54
Elizma28-Aug-07 1:54 
AnswerRe: Transpose in SQL Pin
Pete O'Hanlon28-Aug-07 2:21
mvePete O'Hanlon28-Aug-07 2:21 
GeneralRe: Transpose in SQL Pin
Elizma28-Aug-07 3:37
Elizma28-Aug-07 3:37 
AnswerRe: Transpose in SQL Pin
John-ph29-Aug-07 3:49
John-ph29-Aug-07 3:49 
Question. MDF Pin
plural28-Aug-07 1:37
plural28-Aug-07 1:37 
AnswerRe: . MDF Pin
Colin Angus Mackay28-Aug-07 2:32
Colin Angus Mackay28-Aug-07 2:32 
GeneralRe: . MDF Pin
plural28-Aug-07 2:41
plural28-Aug-07 2:41 
QuestionGetting Last Day of Month: Pin
Shahzad.Aslam28-Aug-07 1:30
Shahzad.Aslam28-Aug-07 1:30 
AnswerRe: Getting Last Day of Month: Pin
mihirhp28-Aug-07 1:53
mihirhp28-Aug-07 1:53 
GeneralRe: Getting Last Day of Month: Pin
Shahzad.Aslam28-Aug-07 3:34
Shahzad.Aslam28-Aug-07 3:34 
QuestionRadioButtons are not working Pin
RaveRare27-Aug-07 18:46
RaveRare27-Aug-07 18:46 
AnswerRe: RadioButtons are not working Pin
Widgets30-Aug-07 22:43
Widgets30-Aug-07 22:43 
Questionsqlserver and msoffice Pin
kalyan_241627-Aug-07 18:13
kalyan_241627-Aug-07 18:13 
QuestionUsing SqlFacet Attributes for an SQL function Pin
~~~Johnny~~~27-Aug-07 11:17
~~~Johnny~~~27-Aug-07 11:17 
QuestionSELECT MAX Pin
RichardBerry27-Aug-07 6:16
RichardBerry27-Aug-07 6:16 
QuestionRe: SELECT MAX Pin
Kschuler27-Aug-07 9:59
Kschuler27-Aug-07 9:59 

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.