Search

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

Matching Posts

  • Re: Problem with dropdowlist

    You have to do initialize dropdwonlist 1 and 3 in the page load like this: IF Not Page.IsPostBack then initialize dropdownlist1 and 3 End If Now set the autopostback property to true of both dropdownlist1 and 3 in the selected index changed event of the two dropdownlist initialize the nex two drops 2 and 4 HTH Kiddu
    Posted to Web Forms (Forum) by kiddu1 on 9/18/2004
  • Re: DataSet column values

    after you fill the dataset you must declare a datarow dim dr as new datarow dr = dataset.tables(0).rows(0) and after that you use it like this: label1.text = dr("column_name1").ToString() label2.text = dr("column_name2").ToString() .... and here you are. HTH Kiddu
    Posted to Web Forms (Forum) by kiddu1 on 9/7/2004
  • datagrid paging

    Hi, Does anyone has an working example of datagrid with paging? I want to implement the paging on a datagrid and it doesn't seem to work. The code for my page is: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load With DataGrid1 .AllowPaging = True .PagerStyle.Mode = PagerMode.NumericPages .PageSize = 5 End With SqlDataAdapter1.Fill(DataSet11) If Not Page.IsPostBack Then DataGrid1.DataBind() End If End Sub Public Sub DataGrid1_PageIndexChanged(ByVal
    Posted to Data Presentation Controls (Forum) by kiddu1 on 6/9/2004
  • Re: creating web user control

    It's working like a charm. Thank you!! kiddu
    Posted to Web Forms (Forum) by kiddu1 on 6/9/2004
  • Re: creating web user control

    jimmym: i have used "<@Register ...>" I also used the property for the value but still no luck. I think the problem is the declaration of the control in code behind file Protected ctrl as webusercontrol1 the error page is saying that the reference not set to an instance of an object. if i'm declaring the control like this Protected ctrl as new webusercontrol1 i get no error, but the values are not passed to the control ... and so I can't use the control. It does not initialize the
    Posted to Web Forms (Forum) by kiddu1 on 6/9/2004
  • creating web user control

    Hi, I want to create a web user control. so far so good. the problem appears when i'm trying to use it. I get an error saying this: System.NullReferenceException: Object reference not set to an instance of an object. the code for the control is fairly simple: Public MustInherit Class WebUserControl1 Inherits System.Web.UI.UserControl Protected WithEvents Label1 As System.Web.UI.WebControls.Label Public value As String Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs
    Posted to Web Forms (Forum) by kiddu1 on 6/8/2004
Page 1 of 1 (6 items)