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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
M

MaruBindiya

@MaruBindiya
About
Posts
11
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Tabindex order lost after async postback.
    M MaruBindiya

    on my page there are 100 controls. when i am click to open model pop up window what it does after closingthat pop up window tab order for page controls lost. i have set tabindex property of all controls on my page. i googled for same issue but didnt find any solution. if anybody has solution help me pls. thanx in advance.

    ASP.NET help

  • Deatils view deleteItem
    M MaruBindiya

    I have templatefield in detailsview and I want to hide a particular templatefield on some condition. You are using DataField property of boundfield that is not possible in case of templatefield, so if you have some idea what to do with templatefield then please help me. Any suggestion is welcome. Thanks.

    ASP.NET help

  • creating html control trough sql query
    M MaruBindiya

    my dear frnd m not intersted to knw what u recommend......

    ASP.NET database html css announcement career

  • creating html control trough sql query
    M MaruBindiya

    this is the 1st way i have for askd 2nd way of doing it

    ASP.NET database html css announcement career

  • creating html control trough sql query
    M MaruBindiya

    mind it i m not tring to be 'clever'. i just wanna know if there is another way of doing the same thing, if u dnt know then no need of any comments...

    ASP.NET database html css announcement career

  • creating html control trough sql query
    M MaruBindiya

    i want somthing like shown below Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not IsPostBack Then Dim con As New SqlConnection("MyConnectionString") Dim cmd As New SqlCommand("select '', * from Table1 ", con) con.Open() GridView1.DataSource = cmd.ExecuteReader GridView1.DataBind() con.Close() End If End Sub this code giving error msg "Incorrect syntax near ' />'." so result should display grid containing one colmn with textbox.

    ASP.NET database html css announcement career

  • creating html control trough sql query
    M MaruBindiya

    i want to creat html textbox control using sql query. u might get surprised n think it is not possible, but i have already used it in my last job but rite now i forgot the sql syntax, it is possible. requirement was as follow there was one grid in that one column containing textbox so that one can enter multiple values at a time an update it. and this was done using sql query means i had written a sql query which was generate one colnm with textbox. mind it there wasn't any templated field. i know it can be done through templatd control but i want that sql syntax. roughly i can give idea og sql syntax. "select ''"

    ASP.NET database html css announcement career

  • gridview calculation
    M MaruBindiya

    in rowdatabound event sum up cells(columns) data watever u wanna add den add one cell containing that sum to the end of current row.... hope it would done try once regards...

    ASP.NET help tutorial

  • Child window
    M MaruBindiya

    You just need to write some javascript into the body tag of the pop-up page after the submit has been processed, like this: If <> Then Response.Write "" Response.Write "" Response.Write "" Else see link http://p2p.wrox.com/topic.asp?TOPIC\_ID=5956 Bindiya

    ASP.NET help wpf wcf

  • GridView Calculation
    M MaruBindiya

    can u give ur exact requrement or code. coz frm ur post m nt getng how many rows r there in ur grid. if three den it would b easy to do so..

    ASP.NET css help

  • nested grid problem
    M MaruBindiya

    i m using nested grid and in child grid i m using EmptyDataTemplate in which i hv one htmlanchor tag which is redirecting to another page when that child grid is empty and i m passing parentgridrow id as query string parameter to that anchor tag. here i m giving u code what i m using. Protected Sub ParentGrid_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles ParentGrid.RowDataBound If e.Row.RowType = DataControlRowType.DataRow Then Dim s As SqlDataSource = CType(e.Row.FindControl("SqlDataSource1"), SqlDataSource) s.SelectParameters(0).DefaultValue = e.Row.Cells(0).Text CType(e.Row.FindControl("ChildGrid"), GridView).DataBind() End If End Sub Protected Sub grdProduct_DataBound(ByVal sender As Object, ByVal e As System.EventArgs) Dim grd As GridView = CType(sender, GridView) Dim grdr As New GridViewRow(-1, -1, DataControlRowType.EmptyDataRow , DataControlRowState.Normal) Dim cell As New TableCell cell.ColumnSpan = 2 cell.Width = Unit.Percentage(100) Response.Write(CType(sender, GridView).Rows.Count) End Sub it is giving output like shown below: 0 7 0 2 0 15 where 7 indicates 7 row of 1st child grid (child grid in 1st row of parent grid) same way 2 and 15 also means in my parent grid there r only 3 row (means there r only 3 child grid would created) then why i m geting other three zeros. can any one explain me the execution flow for nested grid. Thanx in advance,

    ASP.NET css database design help
  • Login

  • Don't have an account? Register

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