Search

You searched for the word(s): userid:613696

Matching Posts

  • Re: Access Dynamic GridView ItemTemplate after postback

    Right! This is what I would like to do as well but it does not find the control by id in the row supplied. It cant access this field in an event fire (separate button). The template column should still be in memory at this point, right? I guess not. So first I find that there is a bug in the templatefield control such that after a certain number of postbacks the silly thing disappears, and now if I dynamically create the column so that it doesnt disappear, I cant get at it. This thing doesn't
    Posted to Web Forms (Forum) by Marnee on 1/20/2008
  • Re: Gridview template field control disappears

    This happens to me but only after 2 post backs. Let's say that in testing I click a button a couple of times, making the same exact event fire in the same exact way, returning the same exact data. After the first two clicks the template field is visible. After the third it disappears. I too am adding and removing columns. I have checked to make sure I never remove the template field column. If I do the same but this time return different dataset with no records in it the EmptyTemplate appears
    Posted to Data Presentation Controls (Forum) by Marnee on 1/19/2008
  • Re: ViewState problem with a dynamically added control (GridView)

    I answered my own question. I do indeed need to "remove the columns or something". That is just what I did. FYI if (GridView1.Columns.Count > 3) { int n = GridView1.Columns.Count -1; while (n > 2) { GridView1.Columns.RemoveAt(n); n--; } PopGridView(GridView1, mySPROC, true, true); }
    Posted to State Management (Forum) by Marnee on 1/19/2008
  • Re: ViewState problem with a dynamically added control (GridView)

    "If you add your new dynamic gridviews after page_load and databind them, they should be unaffected by the viewstate data from the previous gridview control." Are you sure about this? I have tried databinding to null then rebinding to my dataset in the Page_LoadComplete event on postback. I have also tried this on a button event and it still just appends the new dataset to the old dataset so that I have repeating columns. I am dynamically adding these columns to an existing GridView. Do
    Posted to State Management (Forum) by Marnee on 1/19/2008
  • Re: SQL Sever 2000 and 2005 on same machine

    For fun I tried disabling the VIA protocol just to see what would happen and I can connect now. So the previous post may or may not mean anything. FYI I am specifying an IP address and a port number in the connection string.
  • Re: SQL Sever 2000 and 2005 on same machine

    Hi, thank you for your help. I ended up having to enable the Virtual Interface Adapter. Here is what the help documentation says: When two or more instances of Microsoft SQL Server are installed on the same computer, VIA connections can be ambiguous. When enabled, the VIA protocol attempts to use the TCP/IP settings, and listens on port 0:1433. For VIA drivers that do not allow configuration of the port, both instances of SQL Server will be listening on the same port. Incoming client connections
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by Marnee on 11/28/2006
    Filed under: sql server 2005 tcp/ip remote connections
  • Re: SQL Sever 2000 and 2005 on same machine

    More Information: I am trying to connect from a Win XP machine that does not have any SQL 2005 tools installed -- no Management Studio or SQL Server Browser. On a machine that does have these installed (Win 2k3), I can specify the SQL Server named instance, aliased to the IP address and port number, and connect over TCP/IP -- using the Management Studio. For testing purposes, from my XP Machine I have tried creating an ODBC connection. I can select the SQL 2005 named instance (Ex: Hardy\SQL5) from
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by Marnee on 11/22/2006
    Filed under: sql server 2005 tcp/ip remote connections
  • Re: SQL Sever 2000 and 2005 on same machine

    Hi, More discoveries here. On a remote machine, I connected, via Management Studio, using TCP/IP, an alias name for the server instance that specifies the IP address and port of the SQL 2005 server, and the user name from my original connection string. It connected correctly. I verified this using a query on the sys.dm_exec_connections object. It connects to both the correct port and ip address and the data's all intact, etc. So the only thing I can think of is the port forwarding/router is misconfigured
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by Marnee on 11/22/2006
    Filed under: sql server 2005 tcp/ip remote connections
  • Re: SQL Sever 2000 and 2005 on same machine

    Hi, Yes to all three points. I can connect to the server via the Management Studio from the local machine and other machines and I can connect, again with Management Studio, using the user name and password specified in my (ASP) connection string. I have tried several configuration changes but not success. I disabled Listen All, enabled my new IP address, made sure it was active as well, and set it to listen on a different IP address and port. Restarted the SQL Server I changed the default port number
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by Marnee on 11/22/2006
    Filed under: sql server 2005 tcp/ip remote connections
  • Re: SQL Sever 2000 and 2005 on same machine

    The error message (ASP.Net): Cannot open database requested in login 'Database'. Login fails. Login failed for user 'user'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: Cannot open database requested in login ''Database. Login fails. Login failed for user 'user'.
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by Marnee on 11/22/2006
    Filed under: sql server 2005 tcp/ip remote connections
Page 1 of 8 (76 items) 1 2 3 4 5 Next > ... Last »