Recent content by aliweb

  1. A

    Reading printer Spool file using StreamReader

    Never mind I have done it.
  2. A

    Reading printer Spool file using StreamReader

    Sorry I posted it in wrong forum. Please move it to appropriate forum.
  3. A

    Reading printer Spool file using StreamReader

    Hello I have a DOS based program which prints output to printer. It also has the option of sending output to Spool file which is actually used by printer. I am trying to read that Spool file using System.IO.StreamReader in VB.net 2.0 but the problem is it does not read the whole file and stops...
  4. A

    How to update a value in Console Application

    Hmm...that's good! Thanks
  5. A

    DataGrid not sorting and paging

    Ok I changed my code like you told for paging (haven't done sorting part yet) but it is still not working. My datagrid name is dtgMain here is what I did. PrivateSub dtgMain_PageIndexChanged(ByVal source AsObject, ByVal e As System.Web.UI.WebControls.DataGridPageChangedEventArgs) Handles...
  6. A

    DataGrid not sorting and paging

    Hello I am using DataGrid with the following options Allow Sorting - Yes Allow Paging - Yes (default paging) When I run the application it shows that there are 5 pages but when I click on any of them for e.g. 2 , 3, 4, 5 it always displays the first page and not the rest. Plus it doesn't...
  7. A

    HTML table vs ASP.Net table

    I am about to start with datagrid. Does it support paging?
  8. A

    HTML table vs ASP.Net table

    I just noticed I have posted it in wrong forum so please move it to ASP.Net General Discussion.
  9. A

    HTML table vs ASP.Net table

    Hello, If we want to display records in ASP then we simply loop through them and display them as follows <%While not rs.EOF%> <td><%=rs("Record1")%></td> <% rs.MoveNext Wend %> Now what is the best way to do this in ASP.Net? Shall I create an ASP.Net table control? Basically I...
  10. A

    Session problem

    It's working now. Just restarted the system.
  11. A

    Session problem

    I have page named Page1.aspx which contain the following code in Page_Load event. Session("test") = "Hello" There is also a link on that page which when you click goes to Page2.aspx. This second page Page2.aspx contain one web user control named UserControl1.ascx. I have written the...
  12. A

    Connection string in web.config

    Hello, By default this is written in web.config <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" /> My question is how can I use this sqlConnectionString defined...
  13. A

    How to move web user control in a web page?

    Hello, I created a web user control in ASP.Net. Then I added it in the webpage but by default it adds it up at the top of the page. But I want to place this control at the bottom of the page as a footer. I tried everything but couldn't find a way to move it, it is just stuck at the top. What do...
Top Bottom