Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
G

govindi unal

@govindi unal
About
Posts
11
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to Add the BindingManager to the tool box in asp.net if we can
    G govindi unal

    How to Add the BindingManager to the tool box in asp.net

    modified on Friday, June 12, 2009 7:21 AM

    ASP.NET csharp asp-net tutorial

  • problem with dataset [modified]
    G govindi unal

    Protected Sub btStart_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btStart.Click Session("NoOfRecords") = 0 Try sqlConn.ConnectionString = System.Configuration.ConfigurationManager.AppSettings("Constr") With sqlComm .Connection = sqlConn .CommandText = "OLE_InsertExamDetails" .CommandType = CommandType.StoredProcedure .Parameters.Add("@RollNumber", SqlDbType.Char, 100).Value = Trim(txtrollnumber.Text) .Parameters.Add("@ExamDate", SqlDbType.DateTime).Value = "02-02-2009" .Parameters.Add("@SemesterName", SqlDbType.Char, 20).Value = "One" .Parameters.Add("@Papertype", SqlDbType.Char, 20).Value = RadioButtonList1.SelectedItem.Text End With sqlDataAdap.SelectCommand = sqlComm sqlConn.Open() sqlDataset = New DataSet sqlDataAdap.Fill(sqlDataset) Catch ex As Exception lblmessage.text ="Error in inserting" End Try sqlConn.Close() MsgBox(sqlDataset.Tables.Count) MsgBox(sqlDataset.Tables(0).Rows.Count) End Sub it displays number of tables and corresponding records but when i click on another command button ] for number of tables it displays 0 and for number of rows it generates error cannot find table 0

    ASP.NET help com workspace

  • problem with dataset [modified]
    G govindi unal

    Protected Sub btStart_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btStart.Click Session("NoOfRecords") = 0 Try sqlConn.ConnectionString = System.Configuration.ConfigurationManager.AppSettings("Constr") 'sqlConn.Open() With sqlComm .Connection = sqlConn .CommandText = "OLE_InsertExamDetails" .CommandType = CommandType.StoredProcedure .Parameters.Add("@RollNumber", SqlDbType.Char, 100).Value = Trim(txtrollnumber.Text) .Parameters.Add("@ExamDate", SqlDbType.DateTime).Value = "02-02-2009" .Parameters.Add("@SemesterName", SqlDbType.Char, 20).Value = "One" .Parameters.Add("@Papertype", SqlDbType.Char, 20).Value = RadioButtonList1.SelectedItem.Text End With sqlDataAdap.SelectCommand = sqlComm sqlConn.Open() 'sqlReader = sqlComm.ExecuteReader 'If sqlReader.Read Then ' While sqlReader.Read ' Response.Write("<br>") ' Response.Write(sqlReader(0)) ' End While 'End If sqlDataset = New DataSet sqlDataAdap.Fill(sqlDataset) Catch ex As Exception lblmessage.text = "Error while inserting" End Try sqlConn.Close() 'MsgBox(dt1.Rows.Count) MsgBox(sqlDataset.Tables.Count) MsgBox(sqlDataset.Tables(0).Rows.Count) ' FillDataSet(sqlDataset) 'display() End Sub this click event shows one table and no of records in the table but when i click on another command button on same aspx page Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click ' MsgBox(dt1.TableName) MsgBox(sqlDataset.Tables.Count) MsgBox(sqlDataset.Tables(0).Rows.Count) End Sub this it returns 0 and error cannot find table 0

    ASP.NET help com workspace

  • problem with dataset [modified]
    G govindi unal

    Protected Sub btStart_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btStart.Click Session("NoOfRecords") = 0 Try sqlConn.ConnectionString = System.Configuration.ConfigurationManager.AppSettings("Constr") 'sqlConn.Open() With sqlComm .Connection = sqlConn .CommandText = "OLE_InsertExamDetails" .CommandType = CommandType.StoredProcedure .Parameters.Add("@RollNumber", SqlDbType.Char, 100).Value = Trim(txtrollnumber.Text) .Parameters.Add("@ExamDate", SqlDbType.DateTime).Value = "02-02-2009" .Parameters.Add("@SemesterName", SqlDbType.Char, 20).Value = "One" .Parameters.Add("@Papertype", SqlDbType.Char, 20).Value = RadioButtonList1.SelectedItem.Text End With sqlDataAdap.SelectCommand = sqlComm sqlConn.Open() 'sqlReader = sqlComm.ExecuteReader 'If sqlReader.Read Then ' While sqlReader.Read ' Response.Write("<br>") ' Response.Write(sqlReader(0)) ' End While 'End If sqlDataset = New DataSet sqlDataAdap.Fill(sqlDataset) Catch ex As Exception lblmessage.text = "Error while inserting" End Try sqlConn.Close() 'MsgBox(dt1.Rows.Count) MsgBox(sqlDataset.Tables.Count) MsgBox(sqlDataset.Tables(0).Rows.Count) ' FillDataSet(sqlDataset) 'display() End Sub this click event shows one table and no of records in the table but when i click on another command button on same aspx page Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click ' MsgBox(dt1.TableName) MsgBox(sqlDataset.Tables.Count) MsgBox(sqlDataset.Tables(0).Rows.Count) End Sub this it returns 0 and error cannot find table 0

    modified on Monday, June 8, 2009 6:58 AM

    ASP.NET help com workspace

  • How to navigate Next,Previous ,Last,First
    G govindi unal

    Can anybody help me i am developing an online examination system i want to display Questions one by one how i can use move next,move previous,move last,move first

    ASP.NET help tutorial

  • Replace data in gridview
    G govindi unal

    after binding the datagrid If DataGrid1.Items.Count > 0 Then For i = 0 To DataGrid1.Items.Count - 1 if UCase(DataGrid1.Items(i).Cells(columnumber).Text) ="1" Then DataGrid1.Items(i).Cells(3).Text="Unknown" elseif UCase(DataGrid1.Items(i).Cells(columnumber).Text) ="2" Then DataGrid1.Items(i).Cells(3).Text="yes" elseif UCase(DataGrid1.Items(i).Cells(columnumber).Text) ="3" Then DataGrid1.Items(i).Cells(3).Text="no" End If Next End If

    ASP.NET database architecture question

  • Replace data in gridview
    G govindi unal

    hi after binding the datagrid run a for loop to change text of datagrid

    ASP.NET database architecture question

  • how to open child datagrid
    G govindi unal

    i want to open a child datagrid in the same web form example i have a datagrid with columns semester , paper for a particular course wht actually i want that when i click on hypertext column of base datagrid a child datagrid with related details to be displayed

    modified on Monday, May 18, 2009 7:19 AM

    ASP.NET tutorial learning

  • how to open one datgrid in another datagrid
    G govindi unal

    i have two columns in the datagrid and clicking on the button column of the datagrid i want to open second datagrid

    ASP.NET tutorial

  • how to open one datgrid in another datagrid
    G govindi unal

    no i want to open in the same page

    ASP.NET tutorial

  • how to open one datgrid in another datagrid
    G govindi unal

    i want to open another datagrid on the click button of first datagrid

    ASP.NET tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups