I've got a problem with updating data from an Access database. I just started (for a couple of weeks now) with working with this kind of databases so I don't know a lot about it.
I've got a program that displays data from a database. That's working perfect. But now I want to modify that data.
In one of the tables (I use 3 total) I created an UPDATE query. That happens in this method:
Hi All... Currently i am doing my banking application using ASP.Net,C#, SQL Server2000... i want some technical solution realated securities from you guys as follow..
i already logged to my application by using username and password.. after login page my home page Home.aspx coming on screen.. i have features all like Balance Inquiry, Mini Statement, Last Transaction, Private Banking, Net Banking in my Home Page in left menu side. All Features are working very well.. For Security Reason i want some technical help from all of you guys...
Problem is After my successful login page If i not touch the Home page or if i not click on any features available in home page for 10 minutes.. Like if i click on Balance Inquiry Link after 10 minutes that time Page Login.aspx want to open instead of BalanceInquiry.aspx... After my successful login by username and password i want to open page BalanceInquiry.aspx (do not want open Home.aspx Page Again)... For that what i have to do in my Application to make more secure... if u have any articles link then please send me..
Please Please Help me if you people have some technical solution... Bcz right now i am on mid way of that project... if u have any articles or articles link please help me out....
I believe Microsoft Press has a book out called Writing Secure Applications. It is a few inches thick and covers the gambit of what you need to do. You may want to investigate this as a resource for securing your application.
The situation you are experiencing is that your login cookie is set to expire after 10 minutes. I suggest doing some googles for stuff like IIS Security TimeOut and Cookie Expiration and stuff like that. It sounds like you may also need to pick up a book on IIS internals to help strengthen that area of knowledge.
The whole fun of coding if figuring out something like this on your own.... so let's look at some common features of a playlist:
First it is a list of songs therefore your UI will be most likely a listbox.
You also need to support the ability to drop a song file on the playlist and have it show up. So you will need to code the Drag-and-Drop functionality (which isn't too difficult) and you need to code the event when an object is held over your list so you want to limit to types of mpg, wma, etc.
Finally is the ability to save the data. Here you can make up your own file format, your own file type, and all you need to determine is what is the minimum data you need. You can use BinaryWriter to Serialize/Deserialize your play list....which means you also get some exposure to implementing ISerializable in your playlist object.
Does anyone know any good librarys or code for creating playlists?
If you're writing this as a school project, then it's expected that you finish the assignment on your own.
As far as creation of playlists goes, I think interopability with other MP3 players would a be great feature. For example, you dont want to serialize your playlist information in binary which will limit only your application to be able to read/write to that file.
You can have a playlist which fits your application/data-model the best, but you should have an option to export it in more standard formats (such as WPL, PLS, M3U). To understand these formats, simply open them in Notepad to analyze the structure and you'll see it's very trivial to create a playlist of songs. Assuming your playlist is in XML, you should create XSLT files (for each format) and apply the XSLT on your source-XML to dynamically generate M3U, PLS, WPL lists. If your data is stored in database, then get the dataset and serialize it in XML and apply XSLT.
Hi i just installed visual studio 2003 in my machine.windows application is working perfect but my ASP.NET Application is working.i unintalled it twice but still not working then i thouhgt it might be IIS so i uninstalled IIS then reinstalled it again but is still giving the same error
It gives me this error."Unable to create web project 'webapplication1'the file path 'c:\inetpub\wwwroot\webApplication1'does not correspond to the URL 'http://localhost/webApplication1.The two need to map to the same server location.HTTP Error 404 not found
please can anybody help me
can anybody tell me how
1)creating a table so that should contain disabled and enabled checkboxes
2)each row should have a special checkbox for unchecking and checking all the enabled checkboxes in that row
3)can also tell me the function for checking and unchecking all the enabled checkboxes in that row
4)it should also contain a label box which shows the selected checkbox name
5)can u also tell me how to place that table in specified position or division
Last time I had to do something like this... thousand of rows in excel files to insert into an Access DataBase...
What I did was.
First, create a typed dataSet with the structure of the Target Tables... ( autogenerate the Insert Command ).
Now the problem is only to fill the DataSet.
First Open the Excel with the COM Object for Excel... and go column by column.... bla bla... and create a row of the DataSet for each row in the Excel file.... and so on..
Second, Export the Excel file to a CSV file and open the txt file from your application and open the file, read line by line and do a split using the ',' the comma, after that do a loop for each line creating a new row of the DataSet...
If there are many lines in the excel files, I recomend you to update every 100 or 200 rows...
I have one GridView and in this gv i have two column one is mark-printer other is model-printer.So i done this column like template but i don't know how to do exchanging of data when i doing edit???I mean if i choos for example "HP" i want to see only models for hp not all how to link both controls pleas help me.
Good bye best regards
I'm have a little problem with my page caching. On my admin side, I have a list of members. Lets say I want to update member Dean Martin, then I would click on his name and it takes me to an update page, I will change his last name to something like Martinn. The message displays that the member has been updated successfully. Then I have a link that goes back to the members listing, then it still displays as Dean Martin. I have to press CTRL + F5, then it will only update to Dean Martinn. I don't want to do this.
Each of my pages extend from a base page, and in the load up of this page is does the following: