|
Seriously, if you want to give it a go I can see if I can come up with a spec and some files. Or you can first off design some database and flesh out a specification based on my previous description and follow that through.
|
|
|
|
|
Harold,
I've found an older version (WinForms only version). I can send it to you if you wish. Just use the email link on this message to get in touch and I'll send it over.
Regards,
Colin.
|
|
|
|
|
Thanks for the offer but I think you've told me enough, I was mostly just curious about what kind of thing I could expect
I have a feeling that I could pull it off, but it's the holidays for me and I'm afraid laziness wins today (I'm a student, need I say more? )
|
|
|
|
|
Sounds a really good candidate for an article mate.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
i am the beginer for .net, i need to bind records into gridview using data reader,
please help me, how to do this..
|
|
|
|
|
this is very easy, first declare data reader and provide obj for data reader and read each and every row using for loop and bind the gridview columns.
|
|
|
|
|
Quite easy, first declare some list with type of your data wrapper, then read db via reader and populate one warper object with data from reader for each row and add it to declared list. Lastly you need to set gridview data source property to your declared list and call bind on gridview that's it.
|
|
|
|
|
Check out
http://www.dotnetspider.com/resources/21557-Code-bind-gridview-with-data-reader.aspx
|
|
|
|
|
I have a report that needs printing, it's over 6000 pages (A4) from a dataset built in memory. I'm using the "normal" reportviewer control, and the generation of the report to the viewer seems fine, however when the report is sent to the printer it crashes after about 2000 pages, sometimes throwing an exception in GDI, sometimes (I'm not sure why) silently (ie stops sending pages to the printer). Having watched the memory usage on the machine that this is running on I discovered that it's not running out of memory (as I first assumed).
Does anyone have A. Any idea what is going on and how to get around it, or B. A reporting tool that's better suited to printing (not saving to file) very large reports.
Thanks
Simon
|
|
|
|
|
Simon Minich wrote: sometimes throwing an exception in GDI,
It seems the printer driver is having problems handling the volume of data. Sorry if I'm stating the obvious, but it seems there's little you can do to work around this other than printing the report in chunks.
/ravi
|
|
|
|
|
I've kind of come to that conclusion and implemented a solution to do that, thanks for the reply.
Simon Minich
|
|
|
|
|
How can i display search results in a windows form similar to the way it's displayed on MSDN library.
Thanks in advance.
|
|
|
|
|
You could format the results in HTML and use a web browser control to display them.
/ravi
|
|
|
|
|
I have data grid view with multiple colums and rows.In the datagrid view
every row there is a single buton.
my question is if user clicks this button of any rows randomly how the value of particular colum of corresponding rows can be picked up ???
i am using window application in c#.
can anyone guide me.
with regards
tarak
|
|
|
|
|
I'm not 100% sure that I fully understand your question, but taking a best guess, something like:
string columnValue = myDataGridView.Rows[myDataGridView.CurrentRow].Cells["nameOfTheColumn"].Value.ToString();
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
I am trying to find bias date in vb.net (not a system date )
is any function or code available plz reply.
|
|
|
|
|
Nitin Hanumant Kunjir wrote: bias date
Biased in what way?
|
|
|
|
|
Windows date/time is a direct reflection of the BIOS date/time. When Windos starts, it gets the date/time from the BIOS. When you change the date/time in Windows, it also updates the date/time in the BIOS.
So, you get the date/time using DateTime.Now() .
|
|
|
|
|
I'm sure this was asked before at least twice in the last week or two...
|
|
|
|
|
Do we have annotations in .net just like we have in java. Like in java we can create an annotation by creating an interface with @ "public @interface MyAnnotation" and then use them in our application.
Salman Sheikh
|
|
|
|
|
We have attributes in .NET. I don't know if these are exactly equivalent to Java annotations but they seem similar.
Kevin
|
|
|
|
|
Thankyou very much, I was just looking for a name I am sure this will halp. On code project, I have never been disappointed
Salman Sheikh
|
|
|
|
|
I have migrated from IIS V5.1(Windows XP) to IIS 6.0 (Windows 2003 with all the metabse & all the site content. After browsing one of the applications i am getting the below mentioned error message...
Error Message::Index was outside the bounds of the array.
Any help would be highly appreciated...
purvas
|
|
|
|
|
It means don't cross post here
only two letters away from being an asset
|
|
|
|
|
hey...
i m struck in a problem and dat is...
i have to feed data to nplot just by selecting data from text box..
my application work as when i select a particular item from the combo box
it fetches me data...now i have to fetch this data to nplot..to draw the graph
'If (ListBox1.SelectedIndex = 0) Then<br />
' ConnString = "server=(local);Trusted_Connection=yes;database=290208ran6"<br />
' sql = "select ORIG_CALL_SETUP_SUCCESS from ran6 where MSC_NAME = '" + ComboBox1.SelectedItem + "' and RCS_ID = '" + ComboBox2.SelectedItem + "' and SECTOR = '" + ComboBox3.SelectedItem + "'"<br />
' connection.ConnectionString = ConnString<br />
' connection.Open()<br />
' command = New SqlCommand(sql, connection)<br />
' dr = command.ExecuteReader()<br />
' MsgBox("connection")<br />
' Dim st As Decimal<br />
' Dim a As Integer<br />
' a = 0<br />
' While dr.Read()<br />
' a = a + 1<br />
' MsgBox(dr(0).ToString())<br />
' End While<br />
' MsgBox(a)<br />
' Dim grid As Grid = New Grid()<br />
' grid.VerticalGridType = grid.GridType.Coarse<br />
' grid.HorizontalGridType = grid.GridType.Coarse<br />
' grid.MajorGridPen = New Pen(Color.LightGray, 1.0F)<br />
<br />
' plotSurfaceBalance.Add(grid)<br />
' Dim stepBalance As LinePlot = New LinePlot()<br />
' stepBalance.Pen = New Pen(Color.Black, 2)<br />
' ' //Create a bar plot instance for the percent chart.<br />
' Dim barPercent As BarPlot = New BarPlot()<br />
' barPercent.FillBrush = NPlot.RectangleBrushes.Solid.Black<br />
<br />
' '//Create the lists from which to pull data.<br />
' Dim balanceAxis As List(Of DateTime) = New List(Of DateTime)<br />
' Dim percentAxis As List(Of DateTime) = New List(Of DateTime)<br />
' Dim balanceAmount As List(Of Decimal) = New List(Of Decimal)()<br />
' Dim percentAmount As List(Of Decimal) = New List(Of Decimal)()<br />
<br />
<br />
' '//The following code populates the lists above with data.<br />
' '//data sources such as a database to populate the lists.<br />
<br />
' Dim startDate As DateTime = New DateTime(2000, 1, 1)<br />
' Dim balanceValues As Decimal() = New Decimal() { _<br />
' st, 99.3, 98.4}<br />
' '
' For i As Integer = 0 To 30<br />
<br />
' balanceAxis.Add(startDate.AddDays(i))<br />
<br />
' Next<br />
<br />
' '//Populate the balanceAmount list.<br />
' For Each value As Decimal In balanceValues<br />
' balanceAmount.Add(value)<br />
' Next<br />
<br />
' Dim top As List(Of Decimal) = New List(Of Decimal)<br />
' Dim bottom As List(Of Decimal) = New List(Of Decimal)<br />
<br />
' '
' stepBalance.AbscissaData = balanceAxis<br />
' stepBalance.DataSource = balanceAmount<br />
<br />
' '
' plotSurfaceBalance.Add(stepBalance)<br />
<br />
' ' //Balance plot general settings.<br />
' plotSurfaceBalance.ShowCoordinates = True<br />
' plotSurfaceBalance.YAxis1.Label = ""<br />
' plotSurfaceBalance.YAxis1.LabelOffsetAbsolute = True<br />
' plotSurfaceBalance.YAxis1.LabelOffset = 30<br />
' plotSurfaceBalance.XAxis1.HideTickText = True<br />
' plotSurfaceBalance.Padding = 2<br />
<br />
' ' //Align percent plot axes.<br />
' Dim ax As DateTimeAxis = New DateTimeAxis(plotSurfaceBalance.XAxis1)<br />
' ax.HideTickText = False<br />
' ' //Refresh surfaces.<br />
' plotSurfaceBalance.Refresh()<br />
' connection.Close()<br />
' MsgBox("connection closed")<br />
this is the code...
sorry i m new to dis ..so i m nt dat gud in explaining
plz help me out in dis..and if u have any confusion in dis code..plz ask me..may b i m going wrong...
yes i m able to get data..in msg box but nt in nplot..
i have to link dat data in nlot..
modified on Saturday, July 11, 2009 7:35 AM
|
|
|
|