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...
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...
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...
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...
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...
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...
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!
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...
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...
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...
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&puwc=off">
<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...
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...
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...
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...
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?
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.