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...
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...
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...
If we want to display records in ASP then we simply loop through them and display them as follows
<%While not rs.EOF%>
Now what is the best way to do this in ASP.Net? Shall I create an ASP.Net table control?
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...
By default this is written in web.config
My question is how can I use this sqlConnectionString defined...
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...