I used to have a program running in the background. I used threading and just made the thread sleep for 24 hours. I'm not sure if this is the most efficient way of doing it, but, at any rate, the task scheduler must be doing something very similar.
I am trying to make a wrapper so I can export data from asp.net to excel. I know I am supposed to use the tlbimp.exe tool, but I don't seem to have it! I searched my entire c: and nothing came up. I don't have visual studio.net but shouldn't this be included in the .net sdk? I'd highly...
Perhaps the best option would be to use a datalist. Using a dataset, a row is emitted for every row in the datasource. Inside this row you could put your own table with colspans, rowspans galore. Perhaps you could put a div/panel around this nested table and turn visibility on/off for the...
I want to be able to print reports with ASP.net. I've seen Crystal Reports a few time doing searches. I've also seen Active Reports.
What is my best option for printing reports generated by asp.net? Exporting to .pdf/.xls would be useful too, but not essential. Of course, if I can do a...
Here's an abstract and a link.
Notice the Page_Load Event Handler!
Notice that the Page_Load event handler for the editable DataGrid only calls the BindData() subroutine when the page is first visited. That is, it is not called on subsequent postbacks. This is vital! If you change the...
Unfortunately, I don't have the answer to your problem. However, I might still have a nugget for you.
"Because of the formatting of the Table, I cannot use a Repeater or DataGrid, also because not all cells in the table are DataBound."
I don't this this can be true. The repeater...
You're exactly right. As it happens, I figured out the answer after a couple days. Too bad you didn't show up sooner! You still earn A StAr!!!!
Thanks
I'm a little hyper.
How do I set how many rows appear in a drop down list when a user expands it? The default looks to be somewhere around 10 but I want to make it about 20.
Thanks.
I'd say if your program is large enough to warrant two people working on it, it's probably too big to be in one class. Even if technically you aren't breaking any OO rules, for all practical purposes you are because the code is too bulky and unmanageable!
Also, breaking code into different...
Ok, I think I see your problem. In your update function, you databind without having a datasource:
DataGrid1.EditItemIndex = -1;
//DataGrid1.DataSource = some source
DataGrid1.DataBind();
As to databinding in (!Page.IsPostBack), generally it's a good idea. Databinding should be related to...
If you must know about LATE...
Very few people take good pictures. I happen to be one of the masses. When my friends and I received our yearbooks last year, we naturally found each others pictures as grounds for ridicule. I looked like a Colombian drug lord in my picture. Now usually I'm...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.