I am running a query on an Access 2000 database from my C# code. Whenever any part of my results contain a dash (-) then my adapater will not fill and will just show no rows. So what I did was use the Replace function in the Access Query. Of course once I did this then I received an error from ASP, because the Jet engine does not know what to do with Replace.
So my question is how do I get this data to fill my adapater if it sometimes contains a dash, but I can't use the Replace function in the Access query? My current C# code is below.
I'm in the mid of doing an asp.net web project for learning purpose and realize that I always wanted to add additional logic in order to insist on the story board of web pages. For example, after a successful registering, new users are took to the congratulation page. But if any logged in-users can go to that page too if they know the address (and suppose they incline to do so!). I'm tired of checking of which page did they come from, especially pages that allow multiple source pages. Is there a beautiful way to keep the story board? I mean Easy. By the way, consider this code snippet: Number of users online: Why do I still get 1, after I - the only testing user - logged-out? Do it have something to do with session id?
I have to create an online notice board. It should work like this-
Whenever user logon his/her system. There should be a window opened displaying upcoming events, news, birthdays etc. In this there can be data fromm database(sql server).
my goal is to develop a signature generator for board-signatures.
I have my database with a few information about characters in a online-game. A user should get a image-link, and should be able to write it in there board-signature. In the Image should be a link to my page and a few information from my database. Here is an example, which I want to build for another online game: [URL]
I want to include a message board into my website. I am using MySQL database and GridView to populate the Diary and Guestbook pages. I have, for test purposes, included an additional message board column in the database and displayed it with a single column Gridview. However, the adaptability is restrictive and it seems to be over complicated for a simple message board.
i was wondering if this was possible.. any tips or thoughts are welcome!!
i'm trying to put together a "message board" type of section on my intranet site.. right now theres an ajax timer that just ticks and checks for messages.. so basically its "real time" messaging.. however.. the tick events do pose some annoying problems with other portions of the site..
so i was curious.. is it possible to hit a button.. post the message.. and have that trigger IIS.. or something.. to tell all actively connected sessions.. to update.. this would eliminate the need for a timer.. or anything like that
i have a aspx page with two buttons,"close" and "submit" button.when i press the enter key in the keyboard the focus automatically goes to "close" button and closes the page.Instead i want the focus to be focused on the "submit" button on pressing the enter key in the keyboard.