No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
16 Posted Topics
I've been through a dozen blogs tonight looking for a solution for this problem. I am populating pages dynamically (shopping cart) and I grab the product name and descriptionfrom SQL Server then use that data to populate the page title, keywords and description meta tags. This is usually simple until …
You could alsways just disable the control when clicked (MyButton.Enabled=false;) or try something like int targetValue = -1; //The value you do not want to exceed. if (targetValue <= a.AdvertOccurrence) { try { //insert advert object into db AdvertManager.InsertAdvertOccurranceByAppRef(a); //rebind the gridview gvAdvertHistory.DataBind(); //reset the advert occurance label lblAdvertOccurrances.Text = …
I see you're using a Master.Page. If you run your app and view the source before the error I believe that you'll find that the master.page has renamed your control from "chkBoxStatus" to "ctl00$chkBoxStatus". In that case the code in your cs should read: (CheckBox)GridViewAdminViewEmplys.SelectedRow.FindControl("ctl00$chkBoxStatus");
A little more information and a code snippet would be useful here but based on what you've provided I would be inclined to recommend databind(). You didn't say what kind of database you're using but 'SELECT ProductId WHERE DealerId = '100'; should get it done.
OK friends, so I need your advice. I'm reprogramming another web app that was originally written in .Net 1.1. The page I am working on looks like simple GridView with select, update and delete enabled. But it isn't so simple. In the code I have 10, yes 10 calls to …
You may want to have a look at your database and make sure that [ViewCustomer] is actually a data table and not a data view. I cannot imagine a database designer creating a table with a name that starts with the word view. That's just dangerous.
Google copying Bing? That is laughable. There is a reason why Google is pushing 70% usage while MS holds a meager 10% of search usage. Bing (msn) STILL returns the worst search results in terms of relevance. The only reason that they have 10% is because of the millions spent …
I'm using C# in VS2010 and I need some help with a web application. I don't have much experience with web services. I was given the url to a webservice containing methods required to build the login part of the application. No documentation. I have the login piece working though. …
You want to look into the File class of the System.IO namespace and here is a link to get you started. [URL="http://msdn.microsoft.com/en-us/library/system.io.file.aspx"]http://msdn.microsoft.com/en-us/library/system.io.file.aspx[/URL] Then in regards to how to get it done, try this. [CODE] string path = @"c:\temp\MyTest.txt"; if (!File.Exists(path)) { try { // Create a file to write to. …
I have a bunch of database methods that I normally copy and paste into my aspx code behind files on every web app I build. That said, I was trying to build my next app by putting all of my connection info and data calls into a class library. Then …
I am so stuck, I lost 2 days trying to figure this out and here I am! I have an online cart selling subscriptions and I want to offer customers the ability to subscribe and choose their own payment schedule by paying monthly, quarterly or annually. Further, I want to …
OK my programming/accountant friends, this is very long but I need your help again with an ad-hoc report! I am having a hard time getting my brain around solving this part of an application I am programming and was hoping to get your point of view. Maybe I'm going about …
So the deeper I get into my first Windows Forms application the more I'm questioning myself. In the VB6 days I would distribute my apps with a password protected MS Access db (not very secure) and hope nobody hacked into it. In this app. I created my MDF in MS …
I'm coding a small test app in C# and I thought it would be real nice to be able to parse the "description" meta tag and also download the favorite icon. I'm not asking for a complete solution but does anyone have any ideas where I should start? Thanks. As …
Hi Folks! I am developing my first Windows Forms app in C# using VS 2008. Back in my VB 6 days I always used Wise Installation System to package my apps into a single .EXE file for distribution. What is the best Installer creation software for Windows Forms applications with …
First off - Don't EVER do this [B]EmployeeNo='" + empno.Text + "'"[/B] look up parameterized queries and stored procedures. In your code behind you are calling [B]bind()[/B] after the connection has been closed. I believe that is your error. In this case you can do what you want to do …
The End.