CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Markyjj

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    6,091

    Re: C# Foreach statement not working on datagrid

    I have managed to get it going by looping through the datatable & counting the blank cells. I loop through the datarows & then the datacells. The code for this is below. Thanks again for your help...
  2. Replies
    5
    Views
    6,091

    Re: C# Foreach statement not working on datagrid

    Thanks for the reply. I have tried the code above but the 1st foreach statement is not counting through the rows and doesnt even reach the 2nd Foreach loop. I have checked the code in the debugger...
  3. Replies
    5
    Views
    6,091

    C# Foreach statement not working on datagrid

    I need help on a program I am currently creating as I am trying to use a foreach statement on a DataGridView & loop through the rows & cells. I have tried the dataview but this doesn’t seem to...
  4. Help with iterating through cells in datagrid

    I need help on a program I am currently creating as all I am trying to do is read all the cells in the datagrid to see if there are any null values and then display a message. I have racked my head...
  5. Replies
    0
    Views
    542

    C# Updating changes back to SQl database

    Can someone please help me on this problem. I am trying to send the updated changes to the sql database when I remove a row. I use the delete method to delete the numbered row and then use the...
  6. Replies
    1
    Views
    1,387

    C# Accessing dataset from multiple Winforms

    I have a program where am trying to access a dataset in the main form from a 2nd Winfrom. I have created a form 1 ref but when I use this to access the datatable in the dataset it doesnt seem to...
  7. Replies
    7
    Views
    3,454

    Re: Trying to iterate through XML files

    thanks for that, I have now used 'doc.Load(fileName);' in the code to load all the records into the Xml document. Do I now need to loop through all the nodes in the Xml document

    Thanks
  8. Replies
    7
    Views
    3,454

    Re: Trying to iterate through XML files

    Hi again, sorry for the delayed reply, but please find below the code containing the GetFiles() call.

    using System.Windows.Forms;
    using System.Xml;
    using System.IO;
    using System.Xml.Linq;
    ...
  9. Replies
    7
    Views
    3,454

    Re: Trying to iterate through XML files

    Thanks for the reply, I have tried the approach that you specified but it just reads through the one xml file and then that's it. Any futher assistance would be of a great help
  10. Replies
    7
    Views
    3,454

    Trying to iterate through XML files

    I would like ask for some advice please, I am trying to create a program in C# but have the following problem. I am currently trying to loop through a batch of XML files that are stored in a folder. ...
  11. Replies
    2
    Views
    1,213

    Inserting an c# checkbox

    Can someone please help me wih the following problem, please find below the main part of the code that I am using to create and add the checkbox column to the datagrid which is also linked to sql...
  12. Replies
    3
    Views
    833

    Please help with SQL Server Express 5

    Can someone please help me with the following problem. I am trying to create a program in .NEt 2003 which connects to a database table in SQL server Express 5. However, after connecting to the...
  13. Replies
    1
    Views
    827

    finding row to delete

    Can someone please help with the following problem.

    I am trying to locate a row in the datatable to delete but am not sure how to go about this. I have decided to use a for loop to iterate...
  14. Replies
    1
    Views
    839

    delete row in datatable

    I was hoping that someone could assist me in the following.

    I have created a dataset in c# and have bound this to a datagrid and I want to delete a row in the datatable in the dataset.

    I know...
  15. Replies
    0
    Views
    862

    Databinding with XML

    Can someone help me with the following please.

    I am currently doing a project and I have to creat a XML file for the layout of the database. I have created a Windows form with controls. Am...
  16. help with field validation in windows forms

    I really need halp on this one.

    I am trying to display a message box for mandatory fields only. However the message box still appears for the optional fields such as phone, comments and email...
  17. Replies
    3
    Views
    1,270

    Help with Collection ArrayList conversion

    Can someone please give me some advice on the following.

    I am currently doing a project where I have to store students records and I have to retrieve

    these records. This has to be done by...
  18. Replies
    1
    Views
    654

    need help with interval printing

    Can anyone please suggest any help with the following program. I need to create a program that prints an ellipse on the left side of the page every 5 seconds. I have produced the follwing code but...
  19. Replies
    1
    Views
    611

    help with elapsed printing

    Can any one shine some light on this problem that I Have.

    Am currently doing an assignment and I have to create a program that prints an ellipse on the page in 5 second intervals using the...
  20. Thread: c# print prog

    by Markyjj
    Replies
    0
    Views
    558

    c# print prog

    Can any one help me with this problem that I Have.

    Am currently doing an assignment and I have to create a program that prints an ellipse on the page in 5 second intervals using the following...
  21. Replies
    1
    Views
    760

    negative offset

    Could someone please help me with the following code:

    Inout_file.seekp(((long)-1 * sizeof(int)), ios::cur);
    // offset //// mode//

    This code is...
Results 1 to 21 of 22





Click Here to Expand Forum to Full Width

Featured