Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by fr2

  1. fr2

    syntax help for setting DBGrid field or column to invisible

    Well .. I need to set the visible property ... Reason being that the form is a base form .. that is inherited by several other forms in different projects and used or modified accordingly. I need the the whole dbgrid .. but to set the visble property to False .. so that the inherited forms can...
  2. fr2

    syntax help for setting DBGrid field or column to invisible

    How do I code for a filed in the grid to have visible set to false? .. Do I code the field or column .... visible=False ... please help with syntax .. I get this error when I compile dgrMYGRID.Fields['dob'].Visible := False; [Error] D_MYGRID.pas(1317): Incompatible types: 'Integer' and...
  3. fr2

    Is event handling in C# totally different from VB.NET

    sorry .. not for the Dataset .... there is no lightning bolt "event" on top of the properties window ... for a button control say .. yes .. there is a lightning bolt .. but not for the dataset. jmeckley .... can u elaborate a bit on where u reference the events .... the event handler i...
  4. fr2

    Is event handling in C# totally different from VB.NET

    I am kinda newbie in C#. ... Done a lot in VB.NET .. I'm working on Winforms development .. and in VB .. when u generate a dataset Customer .. in the IDE ... when u "view code" on the generated dataset .. these events show up to select from ... CustomerDataset events CustomerDataTable events...
  5. fr2

    Does "text" column have to be last column in table?

    I am modifying a SQL Server table which has a "text" column as the last column .... I amm appending about 7 new columns to the end .... Do I have to make the "text" last? .. I kind of recall (maybe wrongly) .. when there was "memo" field types it had to be last .... Or am I just ok to append...
  6. fr2

    what function to Parse a column with comma separted values

    i have a TableA column .... with a comma separating different items ... what function can I use to Parse this column to get each item into an array type object ... like a hashtable or arraylist TableA Column ------ first item, second item, third item, fourth item dim myhash as new Hashtable...
  7. fr2

    Gridview not displaying .. when no row data is from bound datasource

    is there a link for sample code or project .. (VB) for Gridview .. Inserts .. datasource ... that I can explore ... Been seacrhing all over .. keep getting C# .. or kind of incomplete stuff!
  8. fr2

    Gridview not displaying .. when no row data is from bound datasource

    Thanks ..but I think I'm still stuck! .. I know how to get the rowcount from a dataset (table) and insert a row into a dataset table .... but how do I get the rowcount for a datasource ... I have SELECT command in there ... I also have the INSERT command in there .. pls give a hint on how to...
  9. fr2

    Gridview not displaying .. when no row data is from bound datasource

    I have a Gridview bound to a datasource ds1 ... The Gridview is setup for SELECT INSERT UPDATE DELETE .. It works fine as long as teh datasource returns at least one row ... When there is no row .. nothing displays at all ... Well I have an "Add" or "Insert" button available for the user to...
  10. fr2

    Require Field Format to 2 decimal places

    How can you require a field format to 2 decimal places .. I know how to use a Required Field validator to require a field ... Say the user enters .. a value 4 .... how do u change that to 4.00 say when they TAB away from the field ... I guess Java script? how do you check or convert the...
  11. fr2

    Help with code to read XML file and update XML file

    Cant find "FindNode" method on the XMLDocument object ... doc.FindNode ? Also for the resource node there are several file children <resource identifier="RESOURCE1" adlcp:scormtype="sco" type="webcontent" href="scos/v_launch.html?fn=503sv&amp;puwc=off"> <file...
  12. fr2

    Help with code to read XML file and update XML file

    I need help reading and modifying this XMLfile ... I need to modify the resource element and convert it to UPPER case i.e. <file href="scos/SCOFunctions.js"/> .. to ... .... <file href="scos/scoFunctions.js"/> I tried reading it into a dataset but all I got was this manifest_Id identifier...
  13. fr2

    Ajax Calendar: Is there an option for DateTime .. not just Date?

    jmeckley Thanks soo much! Format="M/d/yyyy hh:mm:ss tt"
  14. fr2

    Ajax Calendar: Is there an option for DateTime .. not just Date?

    Thank you bigfoot .. it worked .. Actually I used the format "M/d/yyyy hh:mm:ss" .. which is what I need and it worked great just curious .. is there a way to tweak the format so that it appends "AM" to the selected date .. say 9/24/2008 12:00:00 AM" if not no big deal! .. Thanks again...
  15. fr2

    Ajax Calendar: Is there an option for DateTime .. not just Date?

    bigfoot: Hmm .. this is getting trickier .. and about to throw in the towel! "If you need it at "12:00AM" then you could append that onto the date the control returns" The problem is the calender control and the associated textbox is contained in a formview control .. so the controls are not...

Part and Inventory Search

Back
Top