www.webdeveloper.com

Search:

Type: Posts; User: lmf232s

Page 1 of 20 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    3
    Views
    1,153

    While e.row.rowtype does not work in your...

    While e.row.rowtype does not work in your instance there is a way once you have got your rows to determine the type of row. Off the to of my head I do not know the exact syntax.

    The problem is...
  2. Replies
    2
    Views
    1,465

    I would also look at creating either a windows...

    I would also look at creating either a windows service or a scheduled task. You can write a simple .vbs file for the scheduled task or you can create an .exe that will handle calling the db (if you...
  3. Replies
    3
    Views
    1,536

    if the code that your going to put in the click...

    if the code that your going to put in the click event needs to be called and executed from other parts of your application or code then I would suggest wrapping the code in the ClickEvent in its own...
  4. Ajax Stuff: http://www.asp.net/AJAX/downloads/ ...

    Ajax Stuff:
    http://www.asp.net/AJAX/downloads/

    I believe this is what your after for the Dynamic Data:
    http://www.asp.net/DynamicData/
  5. Not sure which version of .net your using but if...

    Not sure which version of .net your using but if your on 3 or 3.5 then you can use this example which uses LINQ and will avoid the enumeration issue your having:...
  6. Replies
    3
    Views
    1,153

    the gridview has a rows collection that you can...

    the gridview has a rows collection that you can use to loop through each row. As well there is a property of the gridview that you can set that will hold the 'KeyId' of the row. I believe its DataKey...
  7. Replies
    2
    Views
    1,389

    you can create a connection to the excel sheet...

    you can create a connection to the excel sheet just like you do a database. Once you have your connection you can iterate the rows and columns.
  8. Thread: Membership

    by lmf232s
    Replies
    1
    Views
    1,155

    why cant you save the username to the database?...

    why cant you save the username to the database?
    What problems are you havings?
  9. Thread: sql injection

    by lmf232s
    Replies
    6
    Views
    1,930

    Thats correct, along with other options such as:...

    Thats correct, along with other options such as:
    Using Stored Procedures (like disgracian mentioned)

    Validating your data. If your expecting an integer make sure its an integer or any other data...
  10. Thread: sql injection

    by lmf232s
    Replies
    6
    Views
    1,930

    This is a pretty big subject and russell has a...

    This is a pretty big subject and russell has a good post on this:
    http://www.webdeveloper.com/forum/showthread.php?t=56764

    I think the first link that he posts is a pretty good.

    If you do...
  11. Replies
    4
    Views
    1,158

    Dont understand the question. If your...

    Dont understand the question.

    If your referring to the downloads on the asp.net website then:
    Microsoft AJAX Library 3.5 - control toolkit for .net 3.5 VS2008

    Microsoft ASP.NET 3.5 Extensions...
  12. Replies
    4
    Views
    1,158

    Nate1, Installing the extensions is pretty...

    Nate1,

    Installing the extensions is pretty simple and straight forward. The biggest thing you will have to do is modify your web.config. Other than that you just need to copy the .dll into your...
  13. Replies
    2
    Views
    1,149

    It sounds like this is what your looking for. ...

    It sounds like this is what your looking for.
    http://www.dropthings.com/

    Its written with .net 3.5 and sql server 2008 I believe.

    The source code is available at: CodePlex
  14. Thread: vbscript code.

    by lmf232s
    Replies
    2
    Views
    3,079

    I like to get it by Id rather than name. But for...

    I like to get it by Id rather than name. But for your problem you may want to look at the source code of the page. If you have a master page or anything then its possible that the name of your...
  15. Replies
    8
    Views
    22,328

    I dont quite follow as it your just setting the...

    I dont quite follow as it your just setting the text of a linkbutton to be that of the order number but if it works then it works. Maybe I didn't understand your origianal question and was over...
  16. Replies
    5
    Views
    1,127

    Do need to see some code. Im interested in your...

    Do need to see some code. Im interested in your page load.

    I assume your doing something in your page load like setting the sessions and if so you would need to do something like this so that...
  17. Replies
    8
    Views
    22,328

    I am assigning the value of the row to the button...

    I am assigning the value of the row to the button but for a different reason than you mention. By assigning the row index to the button it allows me to easily get the Id of the column that is...
  18. kweeveen, Your not going to be able to bind...

    kweeveen,

    Your not going to be able to bind data to 3 different controls with 1 call. The only way I can see that hapening is by calling a function passing in the 3 values and then explicitly...
  19. Replies
    3
    Views
    2,163

    Create a variable and set your sql statement to...

    Create a variable and set your sql statement to that. Then you can just do a repsonse.write



    Dim sSQL as String = "SELECT [POSTCODE] from schools_details1 WHERE [REF] = '" & reference & "'"
    ...
  20. Replies
    8
    Views
    22,328

    disgracian, From what I have read I believe...

    disgracian,

    From what I have read I believe there is a better way to accomplish what you want. It seems that your just trying to set the KeyId of the record to the CommandField.

    If this is...
  21. Replies
    2
    Views
    2,484

    I assume your binding your data in the pageload...

    I assume your binding your data in the pageload sub and that your not checking for a post back. If so try this


    If Not Page.IsPostBack then
    'First time the page is loaded
    BindData()...
  22. Replies
    2
    Views
    2,840

    Im typing this out so I might have some typos in...

    Im typing this out so I might have some typos in it but nothing that should be major. Clicking on the link would (In my case) open a outlook window so that I can send an email with the To Field all...
  23. Yes you need to set the runat property to...

    Yes you need to set the runat property to "server" and you must use asp.net controls.

    Example:


    <asp:Image id="imgClose" runat="server" ImageUrl="SomePath"/>

    <asp:Button id="btnSubmit"...
  24. Replies
    2
    Views
    1,538

    Try www.asp.net. They have samples in both C# and...

    Try www.asp.net. They have samples in both C# and VB.

    Here is a link to the quickstarts page:
    http://quickstarts.asp.net/QuickStartv20/aspnet/Default.aspx

    Not sure why your having such...
  25. Thread: nubie

    by lmf232s
    Replies
    2
    Views
    1,452

    View Post

    <asp:DropDownList id="ddlHashTable" runat="server">
    </asp:DropDownList>

    Dim ht As New Hashtable
    ht.Add(1, "My Test 1")
    ht.Add(2, "My Test 2")
    ht.Add(3, "My Test 3")
    ht.Add(4, "My Test 4")
    ...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles