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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: fr2
  • Order by date
  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...
  16. fr2

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

    bigfoot ... not clear on your answer .. what if the date is in the future? say the user picks a date like "9/24/2008" ... i want it to show in the textbox as "9/24/2008 12:00AM" instead .... so I'm not clear on this suggestion .. since I believe Now() shows the current datetime .. not the...
  17. fr2

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

    Am using the Ajax calendar .. and I can select a date and it puts it in the textbox ..ok. However I need it to select DateTime ex. 2/2/2009 12:00AM ..say as default when you select a date. Is there an option on the calendar for datetime .. instead of just date?
  18. fr2

    How do I scroll to bottom of page or set focus to edittemplate - fview

    Hmm it appears to work .. still kinda testing though Thanks
  19. fr2

    How do I scroll to bottom of page or set focus to edittemplate - fview

    I have formview ... with an EDIT link. When I click the edit link the edititem template comes up near the bottom of the page .. but only partially "in sight". I need the whole edit template to be in sight. Since it is at the bottom of the page .. I could perhaps scroll to the bottom of the page...
  20. fr2

    Error converting data type varchar to uniqueidentifier

    There is SQL Server stored procedure with one of the input parameters a uniqueidentifier ... I tested the sp in SQL Server itself and it works fine .. However from ASP.NET code when tring to use the sp .. I get the error Error converting data type varchar to uniqueidentifier How do I pass...

Part and Inventory Search

Back
Top