User Profile

Collapse

Profile Sidebar

Collapse
Shrek
Shrek
Last Activity: Nov 12 '08, 09:25 AM
Joined: Feb 7 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Shrek
    started a topic C# DataGridView extensions for drag n drop.
    in .NET

    C# DataGridView extensions for drag n drop.

    I found some code that extends the standard datagrid view to allow rows or columns to be dragged and droped within the grid

    the code can be found at :-http://www.danielsoper .com/programming/DataGridViewDra gDropRowsColumn s.aspx

    Has any one else used/had expereience of using this control?

    I drop the new grid object onto the form and add the DataSource and and DataMember, all works fine. What I can't seem...
    See more | Go to post

  • Shrek
    started a topic Temporary tables

    Temporary tables

    I have a stored sript that works across a number of different databases at the clients sites. In order for this to work the script creates a global temporary table that is calibrated according to the servers/databases regional settings

    Code:
    SET @DatabaseCollation = convert(sysname,DatabasePropertyEx(db_name(),'Collation'))
    SET @SQL = 'CREATE TABLE ##TableStructure (TableName varchar(100) COLLATE ' + @DatabaseCollation +
    ...
    See more | Go to post

  • Shrek
    started a topic Information_schema.columns

    Information_schema.columns

    if I select character_maxim um_length from INFORMATION_SCH EMA.COLUMNS
    if returns -1 on columns that are defined as varchar(max)
    is this normal???
    See more | Go to post

  • Shrek
    started a topic User Controls & calling a method from the parent page
    in .NET

    User Controls & calling a method from the parent page

    I have created a user control to allow a user to select an address from a drop down list. I want to code to pass the selected record referenec to be passed to a method on the parent page.

    In VFP I would just to This.Parent.Met hodName(<Parame ter List>)

    my code currently reads

    protected void SelectedIndexCh anged(object sender, EventArgs e)
    {

    int...
    See more | Go to post
    Last edited by jhardman; Jan 3 '08, 04:34 AM. Reason: move to .NET forum - ASP forum is for "classic" ASP

  • Shrek
    started a topic error_message()

    error_message()

    I have a stored procedure that drops all constraints and indexes then rebuilds them.

    some of if goes something like this...

    WHILE @@fetch_status = 0
    BEGIN
    SET @SQL = 'ALTER TABLE ' + @TableName + ' DROP CONSTRAINT ' + @ObjectName
    BEGIN TRY
    EXEC (@SQL)
    END TRY
    BEGIN CATCH
    INSERT INTO ##NonDropped VALUES('Constra int ' + @ObjectName + ' on table ' + @TableName,...
    See more | Go to post

  • Shrek
    started a topic No message print!

    No message print!

    I'm writing a script that will use INFORMATION_SCH EMA to build a temporary table of the database structure. This works fine but every time a new record is input I get (1 row(s) affected) printed on the screen, repeated for every row in the INFORMATION_SCH EMA.

    Is there a way to turn off these messages?

    All I want the user to see is a message 'Job Started' and then 'Job finished'
    See more | Go to post

  • Shrek
    started a topic onMouseout event not fireing

    onMouseout event not fireing

    I create a <DIV> and <TABLE> from javascript, which drops down when a user clicks a button.

    The div has a onMouseout event that is intended to hide the div when the user moved the mouse away from the table. But the event does not seem to fire. I have moved the event to the table, which does fire, but fires before it even gets focus!

    Any one come across this problem before or have any solutions?
    See more | Go to post

  • Shrek
    replied to <SELECT><OPTION> tags
    Ran the page using Opera, and the cursor changes to the selected cursor, but uner IE it just shows as the default.
    See more | Go to post

    Leave a comment:


  • Shrek
    replied to <SELECT><OPTION> tags
    it has a move as I didn't change it back after checking with a different cursor!

    IE7 & 6
    See more | Go to post

    Leave a comment:


  • Shrek
    replied to <SELECT><OPTION> tags
    <select style="cursor:m ove; color:red" >
    See more | Go to post

    Leave a comment:


  • Shrek
    started a topic <SELECT><OPTION> tags

    <SELECT><OPTION> tags

    I have a drop down on a web page and want to change the cursor from default to pointer, so my style definition has

    style ="cursor: pointer;"

    the drop down though fails to change from the default curor. I've tryed applying the style to the <select> tag and to the <option> tags to no avail.
    See more | Go to post

  • Shrek
    started a topic Javascript alert()

    Javascript alert()

    Does any one now the maxmimum number of characters that can be displayed by an alert?

    var myString = "a very long string......... ... .......xxxx.";
    myString = myString + "even more text........... ............";
    alert(myString) ;
    See more | Go to post

  • Javascript inside a XSLT file and how to handle parameters.

    My xslt file contains a passed parameters

    <xsl;param name="Widths">7 0px,70px,70px,1 00px,100px</xsl;param>

    which I want to use to sets the widths of my table columns .

    when I create my table I make the following call.

    <tr>
    <th valign="bottom" width="{foo:Get Width(0)}">Leng th<br/>(units)</th>
    <th valign="bottom"...
    See more | Go to post
No activity results to display
Show More
Working...