column

Table column with headers change column width

Hi, here's my table: HTML viewable at jsfiddle.net (it's a lot of code to post here) The method to change the column width escapes me, I'd like the "Produkt" column to be wider. Thanks. ...

MATLAB expression column indexing

I have an expression that gives a matrix and I want to access an element, without creating a temporary variable, something like this cov(M)(1,1). How can I do it? Thanks! ...

VBScript Condition Value from Column

Hi! I am using VBScript in a Manifold GIS Database to verify the distance between two longitude and latitude points using Trig function. The script for finding the distance run without any problems but the script for verifying whether the O-D is valid had syntax error. I really hope any of you could help me with this problem. There were...

How to create column of type password in gridview?

Hi, I am creating an application in which user selects files and provides credentials to open that file. For that i have created three columns in a gridview. User enters password in password column. I want to display '*' in place of characters like we can create a textbox of password type. I have tried this code on 'GridView_CellClick' ...

Deleting columns with rows values from data table

I want to delete specific column from my datable before bounding it to a grid view. I tried with finalTable.Columns.RemoveAt(0); finalTable.Columns.RemoveAt(1); but it does not delete rows values belonging to that column.. How can we delete column with row values?? EDIT: After bounding it to gridview rows are displayed in 3rd colu...

ListView GridView and Grid

Hi, If you have a ListView with its view set as a GridView, which itself contains columns for each month say.....how do I set a template up for the ItemTemplate of the ListView so that each Item will be three rows high, and be inline with the ListView.View's columns? For example different employee recruits over a year.... each month acr...

php & mySQL: Space taken up by a TEXT column

Hi all, I have a column with it's structure as TEXT. I would like to know how much space the 3 rows take up considering the following data in it against the TEXT column. TEXT column ROW1 ROW2 Hi ROW3 ABCDEFGHIJKLMNOPQRSTUVWXYZ... (really long, let's say 1500 characters) We have 3 rows above. Row1 is empty. Row2 has only 2 ...

how to get width of column in charting ColumnSeries. I have not set DataPointStyle. It takes the default

how to get width of column in charting ColumnSeries. I have not DataPointStyle. It takes the default I have set the itemssource to col.ItemsSource = new KeyValuePair[]{ new KeyValuePair(DateTime.Now.AddMonths(1), 100), new KeyValuePair(DateTime.Now.AddMonths(2), 200), new KeyValuePai...

Rename the table Column

Hi all, I am trying to execute the following query. I don't have 'CrewID' column so in that case it will by pass update part of the script. but it gives error Invalid object CrewID'. Can you please tell me why it excute update part even my if condition does not matched. Is there is another way to do the same. I have the requirement where...

Fix Bar Chart Width and Spacing between bars in JFreeChart

I have stacked bar chart in which the number of columns is dynamic, can change from 1 to n columns. I want the spacing between the charts and width of the bar to be consistent. How do I fix it. Please suggest solutions / ideas. ...

Creating a MySQL view with an auto-incrementing id column

I have a MySQL database from which a view is created. Is is possible to add an auto-incrementing id for each row in the view? I tried CREATE ALGORITHM=UNDEFINED DEFINER=`database_name`@`%` SQL SECURITY DEFINER VIEW `MyView` AS set @i = 0; select @i:=@i+1 as `id` ... but that doesn't work in a View. Sorry, my SQL is weak, a...

How to use 2 or more columns with FlowDocumentScrollReader (WPF) ?

Hi, I would like to use at the same time multiple columns and scrollbar with FlowDocument. Is that possible ? Actually, I can only have multiple column in page mode but no scrollbar. Thanks !! ...

Is it possible to remove a duplicate value from a datatable in c#?

I have a datatable with a column MobileNo.... My datatable has 150 rows and each row has MobileNo... Now how to check every MobileNo is unique by parsing all the datarows of the datatable in c#? EDIT: "This datatable is being created by reading a CSV file" ...

C# Find out what column caused the Sql Exception

Hi. I'm getting an exception from SQL Data Reader (MS SQL as datastore) and I'd like to know which column name causes this Exception to be thrown. But I cannot find it in the InnerException.. nowhere. ((System.InvalidOperationException)ex.InnerException).StackTrace: System.Data.SqlClient.SqlDataReader.ReadColumnHeader(Int32 i) System.D...

Center four columns in CSS

Hi everybody, I'm trying to make four columns that are centered on the frontpage. I would like it to look like this example: http://www.clutterpad.com/ My code looks like this: #bottom-container {width:100%;height:250px;position:relative;} #bottom-mid {background-color:white;} #bottom-left, #bottom-mid, #bottom-right {height:250px;} #...

Silverlight Datagrid: Highlight an entire Column?

I have a DataGrid in my Silverlight application, and would like to "highlight" an entire column when any cell in that column is selected. E.g., given this grid (where "[ ]" represents a cell): [ ][ ][ ] [ ][ ][ ] [ ][ ][ ] If I select a cell, like this [ ][ selected ][ ] [ ][ ...

How to sort Grid view on the basis of particular column?

Hi, I want to sort Grid View on the basis of paticular column. For example: Now i want to sort above table in such a way that all Developers should come first. Thanx ...

VB.net Reading from ListViews with Multiple Columns

Alright. So I was able to find out how to read from the first column but I need to read from both of them. I am using full row select which I need on there. Here is the code I am using to get it for the first column. Dim I As Integer For I = 0 To ListView1.SelectedItems.Count - 1 MsgBox(ListView1.SelectedItems(I).Text) Next ...

select only rows if its value in a particular column is less than its value in the other column

Hi folks, I am using R and need to select rows with aged (age of death) less than or equal to laclen (lactation length). I am trying to create a new data frame to only include rows/ids whereby the value of column'aged' is less than its corresponding 'laclength' value. df: id1 id2 laclen aged 9830 64526 26 6 7609 64...

SQL select from last inserted

Hello, in MySQL, I have table. One column has auto-increment. When I insert something mysql_query('INSERT INTO `table` SET `column` = "data";'); Now, what I want is, without further queries, to get the value of the auto-incrementing column, maybe like this: mysql_query('insertion = (INSERT INTO `table` SET `column` = "data"); SELEC...