Hi there we have an in-house reporting system that I have been tasked to create a report scheduler for, I am thinking of mimicking the interface used in Windows for Scheduled Tasks so will build a GUI in c# where you choose from radio buttons
One time only
then configure the options depending on which first option you chose, configure your report parameters and save. This info will all be saved in the Database in my own schema (yet to define) and will be run via a scheduled sql job that processes all the data and emails out the reports. The report scheduler GUI will be a client side process users will do in our organisation and the sending of reports server side.
I already have all the code for creating the reports with the defined params and emailing out reports via a sql job.
My question is what schema to use for saving the schedule/period data? I have made a start but can be quite complicated and I'm sure someone has done this before or knows how Windows Scheduled Tasks does it. Also is there a code project example of the GUI for this already somewhere? I couldn't find anything.
Something that looks kind of like http://www.recrystallize.com/merchant/crystaldesk/reportscheduler.htm
HI, I need to design a form to INSERT multiple rows into database. I came up with putting textboxes forming a table. That may get the job done but it doesn’t seems to be the right thing to do. I wonder if there is a control that does the opposite of the datagridview. That instead of showing you the info of the database it lets you put information and then manipulate it to send it to a database.
Hi I have just downloaded Visual C# 2008 and I am trying to get a handle on it. I have a bit of programming experience.
I want to implement this code http://www.codeproject.com/KB/cs/TransparentControls.aspx[^]but i have no idea how to implement it.
I can load the demo I just have no idea what is going on. how do you apply the source code to a new project to implement the SkinTooltip control. Can someone either let me know a good place to go and learn or even give me a bit of a walk through. Thanks
Hi I am fairly new to C# too. You can find help in the page in the C# section or just Google C# tutorial. "C# Station" was a big help at the beginning. Maybe you cannot implement the code because most examples and tutorials were written using C# 2005 I recommend you download and use that version at least while you learn the basics. 2008 is not much different but most of the code material was written in 2005 version.
you seem to have two issues here. One is a new language, the other Windows programming.
IMO a language is best learned by studying an introductory book or tutorial on the language;
that way you get all the basic elements presented in a logical order, with examples and rationale.
You can get a good feeling for a language in a matter of say two weeks with a book and some experiments;
this of course depends on your background. Then start reading some articles on sites like this one.
Windows programming is a lot trickier; there sure are books that may help you with that too, but
I am afraid there is a much longer learning period. Tooltips are OK, not quite straightforward though.
Transparency is really tricky. I have been a Windows programmer for 20 years now, but I would
not volunteer explaining how transparency works (also due to the fact that I'm not that interested in it).
I'm in desperate need of help. I'm very new to C# and have only limited exposure to ASP.NET. I'm developing a win form application.
Basically, the user clicks a button and imports a text file into a sorted checkedlistbox. That works so far.
The text file will hold a list of IDs that need to be retrieved from a table in my DB. I have a stored proc in the db that does the same but when I ran that via GetStoredProcCommand, I'm getting 'Array out of Bounds' exceptions.
I've tried GetStoredProcCommandWithSourceColumns, GetStoredProcCommand, ExecuteReader, and AddInParamter, all of which won't work. I know I'm making it harder than it really is since I'm also using VS2008. If stored procs won't work, I will settle for a regular select * from table where user = CheckedlistBox.CheckedItem as well. Once I have the users I need to work with, I have several stored procs that should be run depending on the what control the user clicks. I just don't why it's not working trying to run a simple proc. Thanks in advance for your help.
I've read, read, and researched every place I could before posting here as well.
//code to load/process IDs (from import to checkedlistbox) with a stored proc in a sybase table
private void Importbutton1_Click(object sender, EventArgs e)
OpenFileDialog Open = new OpenFileDialog();
Open.Filter = "Text Document|*.txt|All Files|*.*";
StreamReader Import = new StreamReader(Convert.ToString(Open.FileName));
while (Import.Peek() >= 0)
catch (Exception ex)
for (int x = 0; x < 0; x++)
for (int x = 0; x < this.checkedListBox1.Items.Count; x++)
I've tried databinding directly from the checkedlistbox and it returned all rows in the table - and overwrote what I imported. I only need to return rows from that table that are checked.
I hope this was clear. If not, please be patient with me and I will post whatever is needed.
[rant]There you go using those bloody build in data management thingies, why does MS do this all the time, if you feed a newbie a GetStoredProcedureAndMakeItWork widget how are they expected to learn to actually work with a database.[\rant\
Please do the following. Learn what a Data Access Layer (DAL) is. This will sit between your code and the database (you need to write or snaffle one). This should be the tool you use to manage the data. Most developers will then use an Object Relationship Map ORM (often a table) class to represent your data. Your orm gets the data from the DAL and you can bind the orm to the UI in 2008.
This way YOU manage the data, you understand the ins and outs of the data not some black box in VS.
Never underestimate the power of human stupidity
And you wonder why after 24+ hours you have no helpful supportive answer. Most "developers" will not be able to help with these MS supplied tools, simply because we don't use them. As for a senior dev pointing you in this direction, I would suggest the 5yrs may have been wasted.
The description of a DAL was meant to be helpful not sarcastic. Because of your moniker and the quality of the question I assumed you had no idea. Then again if you iknow what it is why ae you using the MS widgets to do your work!
Never underestimate the power of human stupidity