Jump to content
Xtreme .Net Talk

wondery

Avatar/Signature
  • Posts

    44
  • Joined

  • Last visited

wondery's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. <%@ Control Language="c#" AutoEventWireup="false" Codebehind="logo.ascx.cs" Inherits="car.logo" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%> <asp:Repeater id="repeater1" runat="server"> <ItemTemplate> <table> <tr> <td><a href=list.aspx?BrandName='<%#DataBinder.Eval(Container.DataItem, "BrandName")%>'><img src='logo/<%#DataBinder.Eval(Container.DataItem, "Logo")%>' border="0"></a> </td> <td><a href=list.aspx?BrandName='<%#DataBinder.Eval(Container.DataItem, "BrandName")%>'><img src='logo/<%#DataBinder.Eval(Container.DataItem, "Logo")%>' border="0"></a> </td> <td><a href=list.aspx?BrandName='<%#DataBinder.Eval(Container.DataItem, "BrandName")%>'><img src='logo/<%#DataBinder.Eval(Container.DataItem, "Logo")%>' border="0"></a> </td> <td><a href=list.aspx?BrandName='<%#DataBinder.Eval(Container.DataItem, "BrandName")%>'><img src='logo/<%#DataBinder.Eval(Container.DataItem, "Logo")%>' border="0"></a> </td> <td><a href=list.aspx?BrandName='<%#DataBinder.Eval(Container.DataItem, "BrandName")%>'><img src='logo/<%#DataBinder.Eval(Container.DataItem, "Logo")%>' border="0"></a> </td> <td><a href=list.aspx?BrandName='<%#DataBinder.Eval(Container.DataItem, "BrandName")%>'><img src='logo/<%#DataBinder.Eval(Container.DataItem, "Logo")%>' border="0"></a> </td> <td><a href=list.aspx?BrandName='<%#DataBinder.Eval(Container.DataItem, "BrandName")%>'><img src='logo/<%#DataBinder.Eval(Container.DataItem, "Logo")%>' border="0"></a> </td> <td><a href=list.aspx?BrandName='<%#DataBinder.Eval(Container.DataItem, "BrandName")%>'><img src='logo/<%#DataBinder.Eval(Container.DataItem, "Logo")%>' border="0"></a> </td> <td><a href=list.aspx?BrandName='<%#DataBinder.Eval(Container.DataItem, "BrandName")%>'><img src='logo/<%#DataBinder.Eval(Container.DataItem, "Logo")%>' border="0"></a> </td> <td><a href=list.aspx?BrandName='<%#DataBinder.Eval(Container.DataItem, "BrandName")%>'><img src='logo/<%#DataBinder.Eval(Container.DataItem, "Logo")%>' border="0"></a> </td> </tr> <tr> <td class=smallfont><%#DataBinder.Eval(Container.DataItem, "BrandName")%> </td> <td class=smallfont><%#DataBinder.Eval(Container.DataItem, "BrandName")%> </td> <td class=smallfont><%#DataBinder.Eval(Container.DataItem, "BrandName")%> </td> <td class=smallfont><%#DataBinder.Eval(Container.DataItem, "BrandName")%> </td> <td class=smallfont><%#DataBinder.Eval(Container.DataItem, "BrandName")%> </td> <td class=smallfont><%#DataBinder.Eval(Container.DataItem, "BrandName")%> </td> <td class=smallfont><%#DataBinder.Eval(Container.DataItem, "BrandName")%> </td> <td class=smallfont><%#DataBinder.Eval(Container.DataItem, "BrandName")%> </td> <td class=smallfont><%#DataBinder.Eval(Container.DataItem, "BrandName")%> </td> <td class=smallfont><%#DataBinder.Eval(Container.DataItem, "BrandName")%> </td> </tr></table> </ItemTemplate> </asp:Repeater> almost but some prob ... it dont movenext how to ?
  2. how to ? table that contain 10 cols and begin to new row ...
  3. sorry i miss but it error when i call class from signout inventory.deletecookies DelCok = new deletecookies(); DelCok.DelCookies();
  4. this is class that i using for del cookies and i want to using it again in signout but it do nothing what i miss ? here is signout.cs.aspx namespace inventory { public class deletecookies : System.Web.UI.Page { private void Page_Load(object sender, System.EventArgs e) { DelCookies(); } public void DelCookies() { Session["User"] = null; Session["PrintAble"] = null; Session["SearchAble"] = null; Session["Sales"] = null; Session["Dye"] = null; Session["Package"] = null; Session["Delivery"] = null; HttpCookieCollection cookieCols = Request.Cookies; cookieCols = Request.Cookies; if (Request.Cookies["cookieCols"]!=null) { for(int n=0;n<cookieCols.Count;n++) { string UID = Request.Cookies["UID"].Value; string PASS = Request.Cookies["PASS"].Value; } } HttpCookie cookie = new HttpCookie("UID"); cookie.Expires = DateTime.Now; Response.Cookies.Add(cookie); cookie = new HttpCookie("PASS"); cookie.Expires = DateTime.Now; Response.Cookies.Add(cookie); string sScript = ""; sScript += "<script language=javascript>"; sScript += " window.open('index.aspx','_parent');"; sScript += "</script>"; Response.Write(sScript); } } } here is signout.cs.aspx namespace inventory { public class signout : System.Web.UI.Page { private void Page_Load(object sender, System.EventArgs e) { if (!Page.IsPostBack) { deletecookies mc = new deletecookies(); } } } }
  5. i using command datetime.now and it return 17/11/2546 but in window system and sqlServer accept in 11/17/2003 so it get out of range problem in my computer using same customer's computer setting in reginal setting ... my computer is fine and normal working but in customer's computer get this problem how slove ? in c# command datetime.now get date value from reginal setting, right ? thanx
  6. all textbox in table and i use table in webform now i use this code it not go into loop what i'm wrong foreach(Control t in this.Controls) { if (t is Table) ((Table) t).Visible = false; }
  7. how to ? more explain please
  8. D:\My Documents\inventory\customerlist.aspx.cs(183): 'System.Web.UI.WebControls.TextBox' does not contain a definition for 'Name' it show this ...
  9. i cant find compile command where is it ? i want to make my windows form (c#) to exe
  10. i want to get feild name in table and it will greater if can get table name from database too...
  11. i want to using 3 label only i cant use 7 label i do letter that have 3 paragraph
  12. i bind database into label it shold be 1.Trademark 2.Application No 3.Date of Filing 4.Registration No. 5.Class No. 6.List of Goods 7.Registrant but it be 1.Trademark 2.Application No 3.Date of Filing 4.Registration No. 5.Class No. 6.List of Goods 7.Registrant i guess it shoud use replace but i dont know how to replace... or else can slove this ?
  13. i want to create address label and if i create 1 record in 1 row it loose many white paper in right side so i try to create in next column but i dont want to using loop in table like asp so i want to do in grid if it can but i dont know how to do ! T__T
×
×
  • Create New...