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...
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...
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...
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...
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...
Select a particular row in gridview .. brings up a formview to display detail for that selected row.
Instead of using the default INSERT and UPDATE links .. I have a funtion that needs the values in the formview textboxes .. to pass to a stored procedure which runs in a transaction.
1. How do...
Passing a dataTable as the datasource to the GridView does not bring up the automatic Paging/Sorting feature ....
does the GridView Automatic Paging/Sorting only work when u pass a Dataset as the datasource ... and then datamember=dataTable ....?
I added a new Ajax Control Toolkit .tab.. to my Toolbox in a sample Ajax project I created ... using the walkthrough tutorial ....
Should this tab be available in the Toolbox .. for other existing projects that I open later .. or do I have to add this tab to the toolbox for all other projects...
I set a customer error page redirect in my web.config ..
<system.web>
<customErrors mode="On" defaultRedirect="ErrorPage.aspx" >
</customErrors>
</system.web>
Then in the global.asax
Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)
' Fires when an error occurs...
Can one master page have several content place holders?
Can 2 or more child pages merge be loaded together at once in say 2 different cin the master at the same time.
i thought the master page had one contentplaceholder to be used by the child page .....
Say I have a VB.NET app that uses a SQLExpress database and ship an installation CD to several clients to install the app.
If say later, there is database updates .. say
1. some new columns have been added to some tables
2. maybe new stored procedures created
Question: How can I send these...
I have FormB say with companies info (Add, Edit, Update buttons ..ect). When I load the form, I want to activate the click event for CmdAddNew button
So say I am in FormA ... and I launch
Load FormB
how do I have FormB then automatically call
...CmdAddNew_Click()
Should I have a Public...
I have a Listview control that when clicked, expands to show all the entries.
However when it expand the textbox and dbcombo controls below the listview control .. obstruct the visibility.
How do I make the listview "send to front" when clicked so that the entries will be visible and the user...
I have a user database .. with address, city, state information. I want to add a "Directions" link (url) on my VB6 form to Mapquest to automatically display directions from my office to the user address selcted from the User database.
I hear Mapquest website has code to do this. I searched and...
I have a user database .. with address, city, state information. I want to add a "Directions" link (url) on my VB6 form to Mapquest to automatically display directions from my office to the user address selcted from the User database.
I hear Mapquest website has code to do this. I searched and...
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.