490 Posted Topics
Re: Have you thought of making the myproj classes into subclasses of the tasklayer class set? Doing something along the lines of: [CODE]public class _C : Tasklayer[/CODE]An example of setting up inheritance can be found at [URL="http://www.techotopia.com/index.php/C_Sharp_Inheritance"]THIS LINK[/URL]. Hope this helps solve your problem :) If it does, please mark thread … | |
Re: For starters I would define your queries as global variables in your code-behind: [CODE] string queryString1 = "default starting string here"; string queryString2 = "default starting string2 here";[/CODE]I would then proceed to call these strings in the required data population procedures. For your link you can go about it in … | |
Re: While I don't believe the example you are attempting is possible (to my knowledge) as you can't determine a button based on it's position within a table (again, to my knowledge)... I think you could probably get away with 1 event handler that assigns different events based on which button … | |
Re: There are a number of decent tutorials at [URL="http://csharp.net-informations.com/excel/csharp-excel-tutorial.htm"]this link[/URL] for manipulation of data both to and from Excel files. As a side note there are likely a number of other tutorials available and this is just one of many examples I found with a quick [URL="http://www.google.ca/#hl=en&source=hp&q=tutorial+"to+excel"+C%23"]Google search[/URL]. :) Hope … | |
Re: Not sure if this is what you're looking for but in the past I've used [URL="http://www.hostnine.com/reseller-hosting/"]Host9[/URL] for their reseller hosting options. The up-side is that once you set up a reseller account you have your primary hosting account which gives you access to subdivide your available space into parcels that … | |
Re: I'm not at all sure if it works or not because I've never needed just one variable width colum in a table... But from looking around I'm seeing the possibility of using:[CODE]<td style="width: auto">[/CODE]Alternately, if you know the pixel value for the width of a standard character in the size … | |
Re: First question, do you already have the connection setup in your C# application to the Access DB? Second Question, are you already passing information to the Access DB from your C# application? If (first == "yes" && second == "yes")... sorry, but um ya if you answered yes to both … | |
I've been building a custom [URL="http://bariby-quance.com/blogged.aspx"]journal application[/URL] for my website which has a reply sub-app where visitors can post responses to my frequent posts. In the response sub-app I want to be able to incorporate formatting buttons (bold, link, colour, etc) that will take selected text within the textbox and … | |
Re: What I might suggest is that you do a [URL="http://www.google.ca/#hl=en&source=hp&q=export+radgrid+to+pdf"]google search[/URL] to find any [URL="http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/pdfexport/defaultcs.aspx"]tutorials related to this topic[/URL] as from what I'm seeing there are several. Hope this helps :) | |
Re: Just a rough approximation here and you'll need to set up your own connection strings and variables and inputs and such but here's how I'd go about achieving what you're asking for:[CODE] protected bool testIt() { string[] parsedData = test.Text.Split(','); blConn connector = new blConn(); string connStr = @connector.cString; SqlConnection … | |
Re: Based on the limited amount of code provided I'm speculating it could be one of two things here: [LIST=1] [*]The code in MasterAdminUsers.aspx is calling a resource it doesn't have permission to call (is the gridview unbound? bound? is there any code associated at all with the MasterAdminUsers.aspx page that … | |
Re: Generally I try to keep my responses as positive and helpful as possible. While I'm not always able to give an actual solution I try to do what I can or I don't normally post at all. However, in the past 24 hours of thread skimming I've come across approximately … | |
Re: I can see the issue you are having with the alignment and I can sympathize. For some reason on my site I have issues where table cells don't maintain their widths outside of FireFox (ie: a 4 cell table where each cell is set to 25% will show as if … | |
Re: Ok, some methods have been given already but here's a couple of tutorials to help with different ways of getting DB info to Excel spreadsheet format. First is a tutorial to do it directly [URL="http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=49926"]from MS SQL Server[/URL] Second is a tutorial on doing it in [URL="http://www.aspsnippets.com/Articles/Export-GridView-To-Word-Excel-PDF-CSV-Formats-in-ASP.Net.aspx"]VB.Net and C#[/URL] which … | |
Re: Ok... here goes... Your connection is established on Page_Load() but never utilized and is left open at that point. The only point where I see the connection being closed is at the end of Button1_Click. If your SQL connection is not needed at Page_Load() to properly manage loading of page … | |
Re: For starters the error "503 This mail server requires authentication when attempting to send to a non-local e-mail address." generally indicates that you need to be using UN/PW authentication to log into the SMTP server to send email outside your own domain. "Your message did not reach some or all … | |
Re: Jesi, Is the menu on the left side within the same frame/container as the other content or separated? If it is separated you might be able to maintain the variables by declaring them outside of both containers and allowing access to them from either container. More or less setting them … | |
Re: Based on the example string you provided I'm not sure why you couldn't just use args.Split(' ') to parse s:\nt\dd.tsv \t s:\nt\dd.out since there is a clear space between the arguments. However... if you're intent on splitting based on string values you might want to look into setting the following … | |
Re: When you say you have access to it through Windows Explorer what sort of access are we talking about? FTP? Browser? Direct File System access? If your company is requiring you to build an ASP.Net application for them their IT team should be providing you full access rights and methods … | |
Re: Please see my detailed response in your [URL="http://www.daniweb.com/forums/thread294003.html"]other (identical) thread[/URL] and mark both as solved if it resolves your issue. :) | |
Re: For starters I'm not sure about the INSERT statement you're using, also where is the information being derived from? Another table? An application? Your use of: [CODE]INSERT INTO [TABLE] (Col1, Col2, Col3, Col4) SELECT '1', '2', '3', '4' ;[/CODE]seems incorrect to my knowledge as I'd always known it as: [CODE]INSERT … | |
Re: Well for starters I believe you'll find hands down that managed code runs a higher overhead on system resources which is, in part, why it hasn't particularly 'taken off' in mainstream usage for software design* yet. Coupled with the fact that (unless you force your memory management which defeats part … | |
Re: What, if any, errors are you getting back when you attempt to run the code? This would definitely help pinpoint the cause of the problem. Alternately, what results are you getting and what results are you expecting? And didn't I just reply to another question about how to take a … | |
Re: Well... what I might suggest is that you ask the friendly folks at [URL="http://www.dotnetnuke.com/"]DotNetNuke[/URL] since it is their application package and you've provided no code for anyone to work with in your post. Generally speaking if you're having a problem with a pre-packaged software solution the best people to ask … | |
Re: Excellent post... Just about anyone could replicate your results by following these steps even if they've never used photoshop before. Great job :) | |
Re: The basic principles of database connection remain the same between ASP.Net and Windows forms based applications. The only difference is that you are connecting to the DB from your local machine instead of from the webserver. That being said, if the SQL Server is being hosted via a DNS you … | |
Re: personally when populating from a dataset to any other type of container I use the following loop to ensure I get all the values. Since you didn't include any code to see what your current binding logic looks like I'll give an example below: [CODE] for (int a = 0; … | |
Re: [CODE]using System.Drawing;[/CODE] should work assuming that you have a properly installed Visual Studio suite. There is the off chance that you may have to [URL="http://msdn.microsoft.com/en-us/library/bb166441.aspx"]install the SDK[/URL] for it (like you used to have to do sometimes for VS 2005 Express). If this is the case you should be able … | |
Re: Per the [URL="http://forums.devshed.com/javascript-development-115/help-focusing-back-the-parent-top-focus-does-not-work-in-678168.html"]discussion in this site[/URL] you might be able to achieve what you're looking for with one of the following: [CODE] top.focus() parent.focus()[/CODE]Apparently, however, this will not work in Internet Explorer. It appears that there are a number of items within the iframe framework that do not work properly … | |
Re: An alternate method would be to do it this way: [CODE] #MenuDiv { position: absolute; top:150px; left: 25px; width: 120px; } #MenuTable { table-layout: width: 120px, padding: 0px, margin: 0px; } .menuTopRow { text-indent: 20px; font-size: 12px; font-weight: bold; } .menuTopRow:hover { background: url(test.png) no-repeat; } .menuSubRow { text-indent: 20px; … | |
Re: I was recently having the exact same problem with a listbox control on my site. The problem, as it turns out, was that the information bindings were being constantly changed every time the page was loaded (postback or otherwise). I believe that if you change it so that the actual … | |
Re: I might try something like the following in your code-behind: [CODE] string[] inTOKOset = inTOKO.Split(','); string selCommand = "SELECT ID, NAMA FROM REF_TOKO WHERE ID='"; if (inTOKOset.Length > 1) { for (int a = 0; a < inTOKOset.Length; a++) { if (a < inTOKOset.Length - 1) { selCommand += inTOKOset[a] … | |
Re: A slightly longer version of converting your data both ways to/from the server would be in the methods I'll list below. Keep in mind that my 'sample' was drawn up without an actual masked textbox (just straight textbox) but the processes should work if my brain hasn't completely stopped working. … | |
Re: Below is a brief example where I've done some (but definitely not all) of your CSS conversion for you. I would recommend that you check into some CSS tutorials to get a better understanding of how they work. First, the CSS code (I've named my file test.css): [CODE]@charset "utf-8"; /* … | |
Re: I could be wrong here but textun.Text would be a text box within the web form itself not a variable to be initialized. The way I'm reading it he's passing the text value of a TextBox named "textun" to a process named "CheckUN" within class "login". Beyond that, as I … | |
Re: This should work... I'm assuming you're working a windows forms app and not a web app based on your use of MessageBox. As long as the first line is in the initial declarations of your code you should be able to access it from any function within. If you need … | |
Re: [URL="http://devcity.net/Articles/163/1/article.aspx"]Here is[/URL] an article dealing with cross compatibility of COM versions. Might have something to do with your scenario if perhaps there's a different version of Access on your laptop than there is on your other 2 test units. [URL="http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/2f4af8d3-c075-4277-b83a-9326352c896f"]This link[/URL] also relates to varying versions of Access and related … | |
Re: While I'm not a fan of linking info from one site to another (kinda like standing in a restaurant shouting "go eat at the one across the street") I believe that this post at the asp.net forums might be of assistance to you. Check the replies by scottim to the … | |
Re: When I go to the 2 pages you indicate for the error I receive the following: [COLOR="Green"]Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, … | |
I'll preface this by giving a bit of an overview of what I'm trying for here. I'm trying to create a quasi-blog. Something that I can "post" journal type entries directly to a page in my website but without all the luggage that comes with the readily available blog engines … |
The End.