some of the diff b/w .net1.1 and 2.0 are
good no of controls with extended functionality
navigational layout, site map, integration of main page and content page, grid view, and its functionality,...so many things i found developer can reduce his time by using 2.o
Can anyone suggest an approach on how to work seamlessly with typed DataSets and TableAdapters when preparing a DAL for use with both PostGres and MS SQL servers, if there is such a way? I'm in a situation where support for both postgres and MS SQL is needed, but i don't want to give up the beauty of typed datasets.
I have problem regarding updating DataTable.
First let me explain, what i'm actually doing. i have datatable with several columns like rownumber, date etc. I need to sort table by latest date first.
table is having 1001 records, and i'm using following code.
after using this code i see all the rows with same data. when i debugged it, i observed somehow tempRow array data is changing, but i'm not updating tempRow array at all.
Can some one go through this code and help me where i'm doing wrong.
Here is the code i'm using.
// Reading sorted data to array
DataRow tempRow = resultsTable.Select("", "proc_date DESC"); resultsTable.ColumnChanged += new DataColumnChangeEventHandler(resultsTable_ColumnChanged);
int cnt = resultsTable.Rows.Count;
for (int k = 0; k < resultsTable.Rows.Count; k++)
dr = resultsTable.Rows[k];
for (int j = 0; j < resultsTable.Columns.Count; j++)
if (j == 0)
dr = cnt; // Updating Row Number column
dr[j] = tempRow[k].ItemArray[j];
// updating other columns of resultstable, by tempRow array data
void resultsTable_ColumnChanged(object sender, DataColumnChangeEventArgs e)
if (e.ProposedValue == null)
//throw new Exception("The method or operation is not implemented.");
ive got a asp.net 2.0 treeview and when i click on any node, the font size of the text of the nodes gets one size larger - but after first time it does not change again any further.
any idea what the hell is going on?
i am not changing the size in C# CODE anywhere, all i did was changed node font from times to verdana in the property grid of the treeview. with times new roman this wasn't happening.
I need some help regarding ASP.NET. Ok i'm actually developing an asp.net page to be accessed by a pocket pc IE. In my page I actually wanna allow the user of the pocket pc to download a file from the server.
What i did was to include a command button and this in the code behind file:
Dim file As System.IO.FileInfo = New System.IO.FileInfo(URL)<br />
Response.AddHeader("Content-Disposition", "attachment; filename=" & file.Name)<br />
Response.AddHeader("Content-Length", file.Length.ToString())<br />
Response.ContentType = "application/octet-stream"<br />
I managed to get pIE to download my file. However the file i downloaded, no matter what the size and file format only creates a 520 kb file with the same name and file format as the downloaded file. Is there any solution to this problem?
My second problem relates to the activex windows media player embedded object on the asp.net page. I understand that we need wmp10 mobile to allow activex support for pIE to embed wmp10 mobile on our page. I've downloaded wmp10 mobile for that purpose. But i can't seem to find any code to allow my page to embed wmp10 mobile on my asp.net page. Can anyone please help!
Iam using Visual Studio 2003.I dont know how to make a beautiful Web Page using ready to use page templates or FrontPage program for that reason my Web page looks ugly as you can see from the following link:
First i have to commend you on that pretty ugly page. but you've done a good Job to convince me u need help
To use a ready template, you can copy it's html very carefully and insert it into an asp.net web page(html secttion). If The web template comes with other dependencies such as css files, remember to copy those files into your applications local path so it becomes accessible.
I'll also like to give you a link to some pretty wild templates^. Hope You enjoy them.;)
http://www.templatemonster.com/[^] this site contains some pretty good samples. For a small price you can buy those and use them in your site. I usually look there to get some inspiration for the general look for a site.
Greetings all. Just joined and this is my first post. Sorry if this is the incorrect forum
I am currently working on a project where certain actions must happen within a given date range, if this date passes then my web app needs to do things.
For instance a customer purchases an item. The item gets marked with Purchase made on DATE, the seller then has 14 days to ship. If 14 days pass then I need the application to end the transaction and return the money to the buyer like a refund.
This isn't something that I feel should be triggered by any user action, but instead should be something that is automatically run every evening at Midnight. I am still rather new to ASP.Net but I am looking for a functionality similar to that provided by CRON on Linux/Apache Servers, where I can specify code being run at a set time/date etc...
Any assistance in this would be greatly appreciated. Thanks in advance.
Thanks can you point me in the direction of creating either of these things? Never done either of them before, although the sql server job sounds like it will fit the bill. Know any links to tutorials for it?
Last Visit: 31-Dec-99 18:00 Last Update: 3-Oct-23 8:52