Browse by Tags

Related Posts

  • Writing an XML file from contents of GridView \ Table

    Hi. I am trying to find a way to populate an XML file with the contents of a table inside my database. I have looked all over and done a search but not found any way to do this. All i want to do is export a table from my database to its own XML file when the user loads a webpage. Alternatively, as I...
    Posted to XML and XmlDataSource Control (Forum) by swatsi on 04-23-2009, 12:00 AM
    Filed under: VB.net, .NET 3.5, database, XmlTextWriter, Writing XML, GridView
  • Delete row in DataSet

    Hi, I'm trying to delete a row in my DataSet, but I'm getting a "There is no row at position 1" error, here is the DataSet creation code: Protected Sub createDataTableForOrder() Dim currentOrderTable As DataTable = New DataTable("CustomerOrder") Dim column As DataColumn column...
    Posted to Data Presentation Controls (Forum) by G0ggy on 03-10-2009, 12:00 AM
    Filed under: vb.net, ASP.NET, dataset, GridView
  • How to add CheckBox without using Template field

    Hi All, I have a requirement where I need a Checkbox in Header field as well as in rows along with the records, I am binding the grid at runtime with different different Stored Procedure so every time my Gridview design has changes so I can’t use TemplateFiled for adding the Checkbox. And when I add...
    Posted to Data Presentation Controls (Forum) by vikrant.soni on 03-05-2009, 12:00 AM
    Filed under: vb.net, ASP.NET, asp.net 3.5 sp1, ASP.NET Dynamic Data client side scripting, Data DynamicField.HeaderText, DiplayColumn, DisplayColumn, FieldTemplate, GridView
  • Custom Validation of textbox in Gridview

    Hi, I am new to dot net and javascript. I have a gridview with ten rows and five columns inside are textbox for user to input value. I am using custom validation to validate textbox. When the user inputs in first cell it should validate other four cell in the first row with custom validator when button...
    Posted to Data Presentation Controls (Forum) by crazyperson on 03-04-2009, 12:00 AM
    Filed under: Templates, textboxes, vb.net, Visual Web Developer Express, web designer, <profile> gridview, ASP.NET, asp.net 2.0, classic asp jscript javascript syntax highlighting, Custom validator, javascript in asp.net, gridview
  • Custom Validation for textbox in Gridview

    Hi, I am new to dot net and javascript. I have a gridview with ten rows and five columns inside are textbox for user to input value. I am using custom validation to validate textbox. When the user inputs in first cell it should validate other four cell in the first row with custom validator when button...
    Posted to Web Forms (Forum) by crazyperson on 03-04-2009, 12:00 AM
    Filed under: Templates, textboxes, vb.net, Visual Web Developer Express, web designer, <profile> gridview, ASP.NET, asp.net 2.0, classic asp jscript javascript syntax highlighting, Custom validator, javascript in asp.net, gridview
  • Getting checked items from an ItemTemplateField in GridView

    Hi all, This code used to work: 1 Dim x As Integer = 0 2 3 For index As Integer = 0 To gvwStandardFiles.Rows.Count - 1 4 Dim cb As CheckBox = CType (gvwStandardFiles.Rows(index).FindControl( "RowLevelCheckBox" ), CheckBox) 5 6 If cb.Checked Then 7 x = x + 1 8 End If 9 Next 10 11 If x &gt;...
    Posted to Getting Started (Forum) by G0ggy on 02-20-2009, 12:00 AM
    Filed under: vb.net, asp.net, Checkbox, itemTemplate, gridview
  • Re: Limiting access on gridview delete

    See if you can work it out from my example. This was used to stop users changing their own status and locking themselves out of the system. The principle is the same: 1 Protected Sub gvwUsers_RowDataBound( ByVal sender As Object , ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles gvwUsers...
    Posted to Data Presentation Controls (Forum) by G0ggy on 02-09-2009, 12:00 AM
    Filed under: vb.net, GridView
  • Re: Update command failing

    THANK YOU for reporting your success. I had the same problem with vb.net/sql or object datasource/sql db : details view, grid view, form view did not update although no error was reported, no exception existed, so I was going mad. Adding If Not Page.IsPostBack did the trick. I'd been searching the...
    Posted to Access Databases and AccessDataSource Control (Forum) by chickcove on 02-08-2009, 12:00 AM
    Filed under: vb.net, asp.net, Insert into SQL, Gridview Data Sources, .ASPX, GridView, update, .Net 2.0
  • Could you help me why I receive "-1 record inserted" messages?

    Dim insertSQL As String insertSQL = "INSERT INTO Timesheet (" insertSQL &= "Work_Date, UserId, Hours, Job_Number)" insertSQL &= "VALUES (" insertSQL &= "@Work_Date, @UserId, @Hours, @Job_Number)" Dim con2 As New SqlConnection(connectionString) Dim cmd2...
    Posted to Access Databases and AccessDataSource Control (Forum) by hur on 12-08-2008, 12:00 AM
    Filed under: vb.net, ASP.NET 2.0, data access, Insert into SQL, .ASPX, GridView, ConnectionString
  • Gridview in Custom Control

    Hi everyone, I have seen various classes on the internet, that allow me to create a gridview with template fields from a data table. However, I am finding that none of them suit my purpose. I need a gridview that will allow me to select a row, passing a command argument back to the event handler for...
    Posted to Custom Server Controls (Forum) by mickwalker on 11-10-2008, 12:00 AM
    Filed under: row, vb.net, asp.net, c#, custom control, itemtemplate, GridView
Page 1 of 4 (31 items) 1 2 3 4 Next >