Search

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

Matching Posts

  • Re: Redirect to a page with id from database

    you can use Private Sub GridView1_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles GridView1.ItemCommand { Dim dgi As DataGridItem '' If Button Edit Click If (CType(e.CommandSource, System.Web.UI.Control).ID = "btedit") Then dgi = CType(CType(e.CommandSource, System.Web.UI.Control).NamingContainer, DataGridItem) Response.Redirect(context.Request.ApplicationPath.ToString & URL_ID= your userid ) End If }
    Posted to Data Presentation Controls (Forum) by utardylan on 3/14/2008
  • Loop TextBox to set Value

    Hi, I'm Using VS 2003, Asp.net and Framework 1.1 I got a Web Page got 3 Textbox How to Loop it to set the Value ? Example.. Textbox : Me.txtName1.text (textbox1) : Me.txtName2.text (textbox2) : Me.txtName3.text (textbox3) How to loop to set the value in above 3 textbox ?? Hope can Find answer here, Regards, CSL HENG
    Posted to Web Forms (Forum) by utardylan on 11/5/2007
    Filed under: TextBox
  • Re: how to do sorting in datatable ?

    hi kaushalparik27 I try before it look not work any idea ? Regards, dylan
    Posted to Data Presentation Controls (Forum) by utardylan on 8/23/2007
    Filed under: DataTable
  • how to do sorting in datatable ?

    hi all, I'm using VS.nET 2003 framework 1.1 Howt to do sorting in datatable ? 'Now this datatable contain the 3 row of data as 002,001,003 dtKoubanList.DefaultView.Sort = String.Format("", "BT_KOBAN", "ASC") I wanna sort the record as 001,002,003 But the code look not work . Regards, Dylan
    Posted to Data Presentation Controls (Forum) by utardylan on 8/23/2007
    Filed under: DataTable
  • Re: After Set Viewstate then Got Error

    hi Rex Lin - MSFT, Sorry for late reply, I have solve the problem, It look like viewstate cannot store so many data. The solutions is i just open the new datatable as below dim dtAllData as New datatable dim dtViewstate as new datatable dtAllData = SelectAllData( ) ' it will return datatable For i = 0 To (dtAllData .Rows.Count - 1) Me.txtKonkaiCtrctClsYmd.Text = Convert.ToString(dtAllData .Rows(0).Item("END_YMD")) '契約終了年月日 Me.txtHbsOffice.Text = Convert.ToString(dtAllData .Rows
    Posted to State Management (Forum) by utardylan on 8/20/2007
    Filed under: view state controls
  • 2 question on datatable.Computer ?

    hi all .net user I'm Using vs 2003 framework 1.1. I Need to Sum a Amount fields in Datatable. So , I use 1) First question is When i using the code as below i get this error " Invalid usage of aggregate function Sum() and Type: String." 2) second question is Possible to have so many condition as below code ? Dim iTotalodrAmt As Integer = CType(dtViewState.Compute("SUM(UNITPR)", "EXIST_KBN ='1' AND BLACK_RED_CD <> '3' AND SEL_ARRNG_KBN <> ''
    Posted to Data Presentation Controls (Forum) by utardylan on 8/20/2007
    Filed under: DataTable
  • After Set Viewstate then Got Error

    hi, I'm using vs.net 2003 framework 1.1 I get This error "System.Xml.Schema.XmlSchemaException" "The global element 'NewDataSet' has already been declared. An error occurred at , (60, 4)." When Page Load then I Set a Datatable (contain data inside) to viewstate. After Finish Page load..whatever button i Click the error will show . What is the Problem ? Regards, Dylan CSl
    Posted to State Management (Forum) by utardylan on 8/12/2007
    Filed under: ViewState
  • How to Clear Viewstate when Option Strict On?

    hi I'm Using Vs.Net 2003 framework 1.1 I got Question about how to clear viestate when Option Strict On ? Here is my example code: Dim dtDataView as DataTable ' set the data into a viewstate ViewState("Btkjv350") = dtDataView If I added this code ViewState("Btkjv350").clear() The Error Message " Option Strict On Disallow on Late binding How to solve this ? Is It possible I just set ViewState("Btkjv350") = Nothing Then It will reset the Viewsate to nothing
    Posted to State Management (Forum) by utardylan on 8/7/2007
    Filed under: ViewState
  • Re: How to call body onload function in Serverside Page_Load?

    hi Martin, The method you show me is work, thank you Can I ask you 2nd question ? 1) How to Get the Javascript action when User Click "Yes" or "No" then set in a variable ? Regards, Dylan
    Posted to Web Forms (Forum) by utardylan on 8/3/2007
    Filed under: javascript
  • How to call body onload function in Serverside Page_Load?

    hi, I'm using VS 2003 framework 1.1 1 Private Sub Page_Load( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles MyBase .Load 2 3 If AppLock.HaitaExist = True Then 4 REM ' This Will Register the Javascirpt confirmation() message 5 Page.RegisterClientScriptBlock( "ConfirmUpdHaita" , JScriptUtil.ConfirmUpdHaita) 6 '''' How to make it <body onload="Call the confirmation" 7 Else 8 'do nothing 9 End If 10 11 End Sub function confirmation
    Posted to Web Forms (Forum) by utardylan on 8/3/2007
    Filed under: config error, javascript
Page 1 of 4 (35 items) 1 2 3 4 Next >