|
Hi,
I have a requirement to produce a grid where the rows are organised as if they were in a FlowLayoutPane set to flow vertically. The grid would been to support editing, colouring, formatting and grouping and all the usual alignment stuff. Full spreadsheet functionality isn't important, but the ability to display ~1000 rows efficiently is.
I'd write the thing myself, except that time is tight and I don't have the inclination to re-invent the wheel .
Does anyone know of anything commercial or free/OS, that would do the job?
|
|
|
|
|
PorkyKat wrote: I'd write the thing myself, except that time is tight
Do you have the time to use google?
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
DOH! I never thought of that. Yes, I've tried google. Using 'flow layout' and 'grid' returns a wall of noise about flow layout and grid layout, CSS, but nothing useful to me. Neither did variations on those search terms. I'm happy to admit I may have missed something, but google was my first port of call.
What puzzles me is that you must have tried the search and found something easily, and didn't mention it. After all, you wouldn't have posted that reply to my question *without* doing a google search would you?
|
|
|
|
|
i have 2 windows: mainwindow and feedbackwindow.
there is a button in mainwindow that is supposed to pass the system(is that the right term?) to the feedbackwindow and open it.
but i can't and I'm not sure how.
sorry. I'm a beginner with csharp and i'm not sure if i'm doing something wrong.
i was trying to access another xaml file within the project using the button handler. that's possible right?
public void GenerateForm(...){
FeedbackFormWindow ffw = new FeedbackFormWindow();
ffw.Show();
}
is this wrong?
please help. thank you.
|
|
|
|
|
Are you working with winforms or WPF?
My signature "sucks" today
|
|
|
|
|
|
Hi,
I finished developing the .net windows application.problem is in date format.the application developed with the date format of "MM/dd/yyyy" with this appication working fine.but now i want to change the dateformat to "dd/MM/yyyy" by setting this format im getting the folling error "String was not regcognized as valid date format". i have to change the format in one place so that it gets effect in all over the application.
i have tried withe the below code.but its not working.
CultureInfo culture = (CultureInfo)CultureInfo.CurrentCulture.Clone();
culture.DateTimeFormat.ShortDatePattern = "dd/MM/yyyy";
culture.DateTimeFormat.LongTimePattern = "";
System.Threading.Thread.CurrentThread.CurrentCulture = culture;
Regards
Kanna
|
|
|
|
|
I just wrote a quickie C# WinForms application duplicating your code, and it works fine. Ditto with a console app. Is this an ASP.NET app you are working on?
|
|
|
|
|
No Yaar,that code will convert to desire format.but while inserting the record im geeting the error.string was not recognized as valid datetime. for this what i have to do.
|
|
|
|
|
what sort of database are you using - what is the table/column definition ?
I know Oracle has a function like from_date('18052010', 'ddmmyyyy') type of thing (that may not be exact), that works if the column is defined as date or datetime - ie you can use the 'ddmmyyyy' to tell Oracle how to parse the first argument, in this case 18th 05 (May) in 2010, Non American format
'g'
|
|
|
|
|
Oh, it's a database insert issue. What database are you using? MySQL? If MySQL, try yyyy-MM-dd.
|
|
|
|
|
IM using MS Sql Server 2005 db.
|
|
|
|
|
I think we've established that you're getting an Microsoft SQL Server syntax error on an insert, right? Did you check the actual insert statement string in the debugger?
That date format is valid for MS SQL, and it's fine with a date-only without time for a DATETIME.
At this point without more info (some code), my best guess would be the usual suspects: columns in INSERT statement out of order or a need to quote the fields. Try backquote.
|
|
|
|
|
You need to provide more and accurate information. The error message you have shown is unknown to Google, except for your own message at eggheadcafe; so it must be something your app is generating itself. Check your code for it!
Use whatever means you're accustomed to to determine which line is generating the error; then study that method, maybe show it here (inside PRE tags!!!!!!!!!!!!!!!!!!!).
If a database is involved, tell is which one; and the field format; and the code that reads/writes the field. Are you using SQLParameter?
FWIW: Here[^] us some overall information on datetimes.
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
|
|
|
|
|
yes.i agree. the exact message is "String was not recognized as a valid DateTime"
|
|
|
|
|
I have created solution through in vs2010. Once i go to solution folder i have seen one of the file called sdf extension with solution name. I don't know why its getting created.
How these can be avoide
Regards
Gopal
|
|
|
|
|
AFAIK, this is a SQL Server Database file that can be opened in Visual Studio.
However, I'm not absolutely certain about either of these as I have not used these files myself.
My signature "sucks" today
|
|
|
|
|
.sdf files are created by SQLServerCompact (and possibly othe SQLServer variants - I don't use them so I'm not sure).
If you added a DataSource to the project or selelcted a DB project then it may have been automatically created for you.
DaveIf this helped, please vote & accept answer!
Binging is like googling, it just feels dirtier. (Pete O'Hanlon)
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
|
|
|
|
|
This is a SQL CE file and is created by Visual Studio. It contains information used internally to manage the projects within a solution.
It's time for a new signature.
|
|
|
|
|
Your question sparked my interest some more, and I just found this information[^].
It's time for a new signature.
|
|
|
|
|
how to compare two diffrent arrays to search the same values. we have to check the inde of two arrays that which position contain the same values
|
|
|
|
|
|
Hi,
Can any one tell me, How to combine byte array with sql command in c#?
i have written code in c# like
bytes[] byteData
Update table1 SET col1="'" + byteData + "'" where colid=1
But this command convert in formate like
Update table1 SET col1='System.Bytes' where colid=1.
|
|
|
|
|
If you are trying to save an image to a database, you can take a look at this article here.
My signature "sucks" today
|
|
|
|
|
Thankx for help, but i alrady familiar with this example as you shown to me.
but i want to append the bytes array with sql command. Do you have any other example which can be help full?
|
|
|
|