User Profile

Collapse

Profile Sidebar

Collapse
nguyenlh
nguyenlh
Last Activity: Jan 8 '08, 03:24 AM
Joined: Mar 5 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • nguyenlh
    started a topic gridlevel tag - ASP.NET
    in .NET

    gridlevel tag - ASP.NET

    I have a page code following:
    Code:
    <CA:Grid id="Grid1" runat="server" 
    	AutoCallBackOnDelete="true" 
    	ClientSideOnDelete="onDelete" 
    	ClientSideOnCallbackError="onCallbackError" 
    	>
    	<Levels>
    		<CA:GridLevel DataKeyField="SectionID" >
    			<Columns>
    			
    				<CA:GridColumn DataField="ApplicationKey"
    ...
    See more | Go to post
    Last edited by jhardman; Jan 8 '08, 07:51 PM. Reason: put code in code tags, fixed title, moved to .NET forum

  • nguyenlh
    replied to problem with insert statement in asp.net
    in .NET
    I think that !!
    you Open Sql and try query - with your query
    if you can run in SQL - after you run in C#
    See more | Go to post

    Leave a comment:


  • nguyenlh
    replied to Crystal Reports
    in .NET
    if you use vs.net2005
    in C:\Program Files\Microsoft Visual Studio 8\Crystal Reports\Samples \en\Code
    has more example
    or you can read MSdn
    See more | Go to post

    Leave a comment:


  • nguyenlh
    replied to grid view control
    in .NET
    can you post code ? or you to Project.com that more example

    i think you should use code after
    [CODE=vbnet]protected void GridView1_RowDa taBound(object sender, GridViewRowEven tArgs e)
    {
    if (e.Row.RowType == DataControlRowT ype.DataRow)
    {
    LinkButton l = (LinkButton)e.R ow.FindControl( "LinkButton 1");

    l.Attributes.Ad d("onclick",...
    See more | Go to post
    Last edited by Shashi Sadasivan; Nov 29 '07, 10:14 PM. Reason: adding code tags

    Leave a comment:


  • nguyenlh
    replied to connection string
    in .NET
    You have to know you need connect with which database ?
    and you have to read books >> more ......
    See more | Go to post

    Leave a comment:


  • nguyenlh
    replied to The different - In Gridview -Updating row
    in .NET
    When i click Update
    it can't update
    i try debug is add a function Update with 2 parameter
    id and name :
    protected void GridView1_RowUp dating(object sender,
    GridViewUpdateE ventArgs e)
    {int id = int.Parse(GridV iew1.Rows[e.RowIndex].Cells[1].Text);
    TextBox txtName =
    GridView1.Rows[e.RowIndex].Cells[2].FindControl("t xtName") as TextBox;...
    See more | Go to post

    Leave a comment:


  • nguyenlh
    started a topic The different - In Gridview -Updating row
    in .NET

    The different - In Gridview -Updating row

    code: I have read a example :The use girdview without datasource

    Code:
    <asp:GridView AutoGenerateColumns="false" ID="GridView1"
    runat="server" OnRowCancelingEdit="GridView1_RowCancelingEdit"
    OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating">
    <Columns>
    <asp:CommandField ShowEditButton="true" />
    ...
    See more | Go to post

  • nguyenlh
    replied to In Gridview - get ID of row
    in .NET
    I can delete row
    but i can ask you
    I have a textbox and In girdview i make a linkbutton Edit and i want when i click Edit then -- the field appear on textbox ( textbox not into gridview) and i can edit the field and after update it( table only a field ) -
    See more | Go to post

    Leave a comment:


  • nguyenlh
    started a topic In Gridview - get ID of row
    in .NET

    In Gridview - get ID of row

    i make a gridview and i make a code :
    delete row in gridview
    Code:
     public bool Delete(int id, out string Msg) 
    {
    Msg = "";
    try
    {
    SqlServerDb sql = new SqlServerDb();// library connect
    sql.Connect();
     
    string cmdText = "Delete from tbl_Status where Id=@Id";
     
    SqlParameterList paramList = new SqlParameterList();
     
    paramList.Add("@Id", id, SqlDbType.SmallInt);
    ...
    See more | Go to post
    Last edited by DrBunchman; Jun 25 '08, 10:25 AM. Reason: Added code tags - Please use the # button

  • nguyenlh
    started a topic Gridview-help me
    in .NET

    Gridview-help me

    I perform a module in dotnetnuke
    module perform insert , update and delete
    and display on gridview
    I have inserted and delete and update but
    when i tao SqlDatasource give gridview then DotnetNuke - error - connection name 'DotNetNukeConn ectionString2' was not found in the applications configuration or the connection string is empty

    i declare is
    asp:GridView ID="GridView1" runat="server"...
    See more | Go to post

  • nguyenlh
    replied to Help me - asp( i have written code)
    in .NET
    I understand this problems
    Thanks you !!...
    See more | Go to post

    Leave a comment:


  • nguyenlh
    replied to Help me - asp( i have written code)
    in .NET
    Suppose I have a default2.aspx is <%@ Page Language="C#" Debug ="true" AutoEventWireup ="true" CodeFile="Defau lt2.aspx.cs" Inherits="Defau lt2" %>
    You help me
    I can change that but I try ,.,.., but it can't run and error
    You can help me...
    See more | Go to post

    Leave a comment:


  • nguyenlh
    replied to Help me - asp( i have written code)
    in .NET
    but you I thinks code above !1
    It will run
    but I have a error...
    See more | Go to post

    Leave a comment:


  • nguyenlh
    started a topic Help me - asp( i have written code)
    in .NET

    Help me - asp( i have written code)

    I hava ( application web in asp ) fowllowing :
    I want load - Default2.aspx and Default3.aspx - I use a treeview but when
    there is a error - ex: Default2.aspx not inherite System.Web.UI.U serControl;

    using System.Web;
    using System.Web.Secu rity;
    using System.Web.UI;
    using System.Web.UI.W ebControls;
    using System.Web.UI.W ebControls.WebP arts;
    using System.Web.UI.H tmlControls;
    ...
    See more | Go to post

  • nguyenlh
    started a topic in C# - Help me TreeView
    in .NET

    in C# - Help me TreeView

    I have made a treeview
    now i want click on a node then will appearn a panel
    I'm newbie
    Thanks you
    See more | Go to post

  • nguyenlh
    replied to Help me check String -- mail address
    in Java
    i'm sorry evrybody - because i have never used regular expression and the first i do about mail...
    See more | Go to post

    Leave a comment:


  • nguyenlh
    replied to Help me check String -- mail address
    in Java
    i understand that but I can't process email like sadgasdaga@gsad g.
    i use address.length( ) but no - help me again
    See more | Go to post

    Leave a comment:


  • nguyenlh
    replied to Help me check String -- mail address
    in Java
    you can check this code
    public boolean isEmailAddress( String address) {
    int At,Dot,DO;
    At = address.indexOf ("@",0);
    Dot = address.indexOf (".",At+1);
    if(address.leng th() > Dot) DO = 1;
    else = -1;

    if((At == -1) || (Dot == -1) || (Do == -1)) return false;
    return true;
    }...
    See more | Go to post

    Leave a comment:


  • nguyenlh
    replied to Help me check String -- mail address
    in Java
    that code above it can't run true
    it's true when i input 2 dot and 2 @...
    See more | Go to post

    Leave a comment:


  • nguyenlh
    replied to Help me check String -- mail address
    in Java
    help me !! this probelem i think it isn't difficult to you
    thanks
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...