Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
B

BillAnton

@BillAnton
About
Posts
10
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Web form user controls
    B BillAnton

    Does anybody know how to pass a parameter from one user control to another user control on the same web form? Please give this some consideration as it does not appear as simple as passing a paramter from a user control to the web form directly. Thanks, Bill

    C# winforms tutorial question

  • a syntax question?
    B BillAnton

    Hi to all, I am trying to change a boolean field in an Access database table. DataRow[] selectRows = dscurr1.Tables["currlist"].Select("curr='true'"); foreach (DataRow myRow in selectRows) { idx = Convert.ToInt32(myRow["notableID"]); } This locates the index to the row that has the only boolean True row in this small table, but now I need to change it to False and realize I need to use an indexer to the DataRow but am lost as to how it should be laid out syntacically. Regards, Bill Antonacchio

    C# database question

  • Retrieve Listbox items
    B BillAnton

    Thank you tried it and that works! Bill

    C# question csharp

  • Retrieve Listbox items
    B BillAnton

    Thank you, I guess. When I try to use this code there are several things that come up in the Build Error list in VS.NET. Doesn't there need to be a condition and an iteratr in the For statement. Also, Property or indexer 'string.this[int]' cannot be assigned to -- it is read only AND Cannot implicitly convert type 'System.Web.UI.WebControls.ListItem' to 'char' appear in the Build Error list. Can you give me a little more detail? This help is very much appreciated.

    C# question csharp

  • Retrieve Listbox items
    B BillAnton

    Hello, Using C# on a web form with a textbox for the user to enter a word and then click on a button to have the word entered into a listbox. After the user has entered as many words as they wish they can then click on another button to have all of the words in the listbox processed. My question is: how do I retreive the words from the listbox? I would think I could loop through the listbox and get each word but I am not finding anything like this in my searches. For (int i = 0; i < Listbox1.Count; i = i+1) { wordlist[i] = Listbox1.?????; //processing code here } Can someone aim me in the right direction? Regards, Bill Antonacchio

    C# question csharp

  • How do I ...
    B BillAnton

    Hi Ryan, Thank you kindly for that. Will try to get this to give me the info needed. I need to rethink the question though. Will this give me the row number that contains the TRUE field? What I need to get is the index number of the row that contains the TRUE field. Regards, Bill Antonacchio

    C# question csharp database

  • How do I ...
    B BillAnton

    Hello to all, I have an Access table with several rows in it and a boolean field (column) that only has one row (record) that is TRUE. Using C# how do I programmatically determine the row that is TRUE and get the index of that row? So far I am at: foreach (DataRow row in ds.Tables["currlist"].Rows I would assume this will go through each row and then find the row that is TRUE in the boolean field. If there is a different, better way please point me in the right direction. Thanks, BIll Antonacchio

    C# question csharp database

  • broken Visual Studio 2003
    B BillAnton

    I have a broken Visual Studio 2003 app. On the start page the modified date for the projects does not update, in a project(solution) the Web Form Designer generated code is throwing an error, when a breakpoint is set on a specific line and then the project is run in debug mode the breakpoint has been shifted to an unrelated line of code. I have a RequiredFieldValidator control on this page that is not even referencing the correct button and preventing me from finishing the debugging of the page's code. I removed the RequiredFieldValidator control and replaced it but it is still not responding correctly. Additionally, yesterday the entire program closed abruptly and completely on its own. After that I "repaired" VS.NET 2003 and at least it is not crashing but all of the other symptoms are still there. I have also downloaded and reinstalled the .Net Framework SDK 1.1 to no avail. Any suggestions, thoughts, ideas would be greatly appreciated. Regards, Bill Antonacchio

    Visual Studio csharp visual-studio debugging dotnet help

  • Get table names in an Access .mdb database
    B BillAnton

    Thanks Mike I will give that a try. Regards, Bill Antonacchio

    C# csharp database dotnet question

  • Get table names in an Access .mdb database
    B BillAnton

    Please take a good look at this and give me some clues!!! I need to list every table in the Access database. This code (which is from the .NET Framework Class Library DataTableCollection Class page on MSDN) appears to get the info that is needed, but what does the dataset coding look like for this to work? private void GetTables(DataSet ds) { // Get Each DataTable in the DataTableCollection and print each row value. foreach (DataTable t in ds.Tables) foreach (DataRow r in t.Rows) foreach (DataColumn c in t.Columns) if (r[c] != null) Console.WriteLine(r[c]); } Regards, Bill Antonacchio

    C# csharp database dotnet question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups