Search

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

Matching Posts

  • Re: Anomalous Behavior of the Button Control when used with FileUpload Control

    Victim of cut and paste And, I hate to tell you how much time I spent looking at this. I did learn something, for some reason I thought they were one and the same! I did not realize tha onclick would setup its own delegate and effectively be a separate event being wired. It understand it but need to read more about it. Anyway, thanks for getting me out of the rut.
    Posted to Web Forms (Forum) by aamador on 6/14/2009
  • Anomalous Behavior of the Button Control when used with FileUpload Control

    Hi guys, I was having trouble uploading a file to an application I am working on. The problem seemed to be that it got posted twice to my database! So I decided to divide and conquer. I created a simple test website where all I was doing was using a FileUpload control and a button. I downloaded the simple code found in the msdn library. You know the sample code that demonstrates how to use the control. This code allows you to select a file from the file system and put in a predetermine directory
    Posted to Web Forms (Forum) by aamador on 6/14/2009
  • Re: Another problem in postback

    C'mon! We know it works I have many examples of this. I believe you need to debug your helper class for the answer. You can give it a try or post your helper class so we can debug it. I have simple example using very simple code that works just fine. I can send you this but we need to address the problem first. Maybe is one of the parameter you are passing. If I am going to help need to see the helper class
    Posted to Data Presentation Controls (Forum) by aamador on 5/17/2008
  • Re: Problems binding a class to a detailsView control

    Very well, Now is time to run under the debugger. I can't see you class but maybe you are failing inside you class either bad connection, bad sql or something else. Have you attempted to debug?
    Posted to Data Presentation Controls (Forum) by aamador on 5/17/2008
  • Re: search with textbox1 and gridview1 :)

    Intriguing that you actually thought of doing this?? Where did you get the idea? However this will work if you want to do in code behind Protected Sub Button1_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles Button1.Click BindGrid() End Sub Private Sub BindGrid() Dim cn As New SqlConnection(ConfigurationManager.ConnectionStrings( "NorthwindConnectionString" ).ToString) cn.Open() Dim Sql As String = " Select * from products where ProductID= '" & Textbox1
    Posted to Data Presentation Controls (Forum) by aamador on 5/17/2008
  • Re: Insert/Bind/Copy foreign key values ?

    The requirements are very vague so I will again have to make a few assumptions. Hope I am close. It sounds like you would want to select an item from say a master list that will take you to a page where you can display the results. I, as usual, will use the Northwind Database to illustrate. I began with the end. Created a page called Orders.aspx <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Orders.aspx.vb" Inherits="GridView_QryStringFrGrid_Orders"
    Posted to Data Presentation Controls (Forum) by aamador on 5/17/2008
  • Re: Problems binding a class to a detailsView control

    AttackingAvatar must be a method or property that implements IEnumerale inteface DataTable DataView DataSet IList Are you doing this?
    Posted to Data Presentation Controls (Forum) by aamador on 5/17/2008
  • Re: GridView and selecting

    Samu, I am very serious when I say this. You do great work keep reasing the bar man.
    Posted to Data Presentation Controls (Forum) by aamador on 5/17/2008
  • Re: Two customised drop down boxes in one gridview

    thing like this sometimes makes me wonder if we're not going down the wrong path. This situations happen way too often just to be a couple of guys or gals having trouble. There is something truly hackish about all this. When I read your post I instally new it was going to be a difficult one. I spent sometime trying to figure out how to do this. This is what I came up with It sounded to me like you wanted cascading Dropdowns embedded in template fields on the grid. So I contrived a situation where
    Posted to Data Presentation Controls (Forum) by aamador on 5/17/2008
  • Re: Problem with post back

    Same thing but using stored procedure using System; using System.Collections; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; public partial class GridView_SortingGrid_SortManuallyCS2 : System.Web.UI.Page { protected void Page_Load( object sender, EventArgs
    Posted to Data Presentation Controls (Forum) by aamador on 5/17/2008
Page 1 of 111 (1106 items) 1 2 3 4 5 Next > ... Last »