Search

You searched for the word(s): userid:718914

Matching Posts

  • Re: Forum display, grid style?

    Pygon, This is a very simple and very common task. What you will need to use is the Gridview. DataGrid would be for Windows Forms and lacks some of the design features anyhow. Therefore, if you wanted something like on the site you referenced, you would use multiple GridViews for each subsection in your forum. This would allow for there to be multiple cell indiffernces. Thanks!
    Posted to Getting Started (Forum) by revkev on 5/7/2009
  • Re: GridView

    Might be a good idea to mark answer to the people that assisted you in resolving your problem.. ;) thanks!
    Posted to Data Presentation Controls (Forum) by revkev on 3/4/2009
  • Re: Please help me insert values from a textbox into a SQL database

    Well, a few things are going wrong here... Firstly, you are trying to use OleDB objects with your sql express db. Therefore, you need to change your connect, command to Sql SqlCommand SqlConnection Then to make your connection string proper, you should use: ConfigurationManager.ConnectionStrings["LocalSqlServerNameHere"].ConnectionString Then, as a tip, you should always place your connection.Open() and your execution methos (ExecuteNonQuery) in a try catch finally...
  • Re: keeping checkbox checked when page changes

    Yeah, this is because your ViewState has expired on the page. Therefore, when you load the page, the GridView is rebinding itself. What I would do is build a DataSet and temporarily store the GridView Data in that within a Session Variable. Then you can set a flag to check if the user has been there before by checking to see if the Session is not null. So basically, you need to loop through the GridView when the user goes to the next page and then store the values... then when the user goes back
    Posted to Data Presentation Controls (Forum) by revkev on 2/25/2009
  • Re: Gridview paging without datasource

    You are missing your datasource... Example: grvSchedule.DataSource = SomeDataTable grvSchedule.DataBind() Without a datasource, your GridView has nothing to bind to... where are you creating your DataSet or DataTable?
    Posted to Data Presentation Controls (Forum) by revkev on 2/25/2009
  • Re: passing values from a user control to the 'next page'

    You can just use Session to handle this for you. You will have to use: System.Web.HttpContext.Current. Session ("myvar") = Whatever - VB System.Web.HttpContext.Current. Session[ "myvar"] = Whatever - C#
    Posted to Custom Server Controls (Forum) by revkev on 2/25/2009
  • Re: Alternative to LoginView

    Hello... This can be done by using a panel : < asp : Panel ID = "Panel1" runat = "server" > Your welcome message can go here </ asp : Panel > < asp : Panel ID = "Panel1" runat = "server" > Your standard message can go here </ asp : Panel > Hello...Then you can just make the panel(s) visible or not depending on if you have authenticated.
    Posted to Web Forms (Forum) by revkev on 2/25/2009
  • Re: Multiples Emails using cdoMessage?

    You have a few options. What I would do is make this its own method and then just pass in the parameters needed and call it twice. You can also put this in a for loop X's 2 OR you can just copy/paste the code once again below the original and go from there. If you are wanting to receive the exact same message as the one being sent, you can just add a cc in the 'with' thnx
    Posted to Getting Started (Forum) by revkev on 2/25/2009
  • Re: Search

    This site will help you: http://dotnetslackers.com/articles/aspnet/Implementing-Search-in-ASP-NET-with-Google-Custom-Search.aspx
    Posted to Getting Started (Forum) by revkev on 2/25/2009
  • Re: GridView

    Imports System Imports System.Data Imports System.Configuration Imports System.Web Imports System.Web.Security Imports System.Web.UI Imports System.Web.UI.WebControls Imports System.Web.UI.WebControls.WebParts Imports System.Web.UI.HtmlControls Public Partial Class PageNameHere Inherits System.Web.UI.Page Private dt As DataTable Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) 'if the page is not postback If Not Page.IsPostBack Then 'build the schema for the DataTable
    Posted to Data Presentation Controls (Forum) by revkev on 2/25/2009
Page 1 of 39 (386 items) 1 2 3 4 5 Next > ... Last »