"(Empty)" text "literally" instead of "" in datacolumn from visual studio - visual-studio-2005

I've always have a problem with big datasets created through the dataset designer in visual studio (2005). When the dataset many tables with many columns, the columns defined like "(Empty)" in the NULL VALUE property starts showing the text "(Empty)" literally.
Is anyone aware of this? or is just me?
Thanks in advance.

Related

How to move column in Precision Design by VisualStudio at RunTime?

I'm doing a modification in Precision Design, I'm using Visual Studio Ultimate 2013.
I have a Tablix I need to move a column, the column already exist, I want to move it in ReportDesign more to the right.
I want to do this work :
I want to move and change the order of the columns at run time.
Thanks!

Visual Studio Report Designer change line size dinamically

I'm creating a report with some TextBox(Expandable) and Lines. What I'm wondering is if that's a way to have the Lines expand based on the length of the text in the TextBox
This is my report with the text on only one row:
This is when my TextBox expand in multiple rows:
Is there a way to have the line on the right to expand?

random blank cell in lower left of report ssdt visual studio 2010

I have a random cell on the bottom row (Total row). I had to add a column to the report in order to sort it. I think the random blank cell is from that... any idea how I can remove it?
apparently I can't post an image until I get 10 reputation. It let me load them and then it tells me this?
r-click cell in design mode. textbox properties. hide.

Format Time in Visual Studio Report Designer

I have a time field in SQL server that I am trying to display on a rdlc report in visual studio. I would like it to be in HH:mm format but it continues to display as HH:mm:ss. The seconds portion is always zero and I don't want it shown. I thought this would be an easy format fix but none of my expressions seem to work.
Format(Fields!my_time.Value,"HH:mm")
Left(Fields!my_time.Value,5).ToString()
Hour(Fields!my_time.Value) + ":" + Minute(Fields!my_time.Value)
I've never used the report features in visual studio before so I'm hoping I'm missing something easy. Is there someplace other than the format property I should be trying these?
Assuming Fields!my_time is a DateTime field, you can do this:
Change the value of the control where this data is displayed to just use Fields!my_time.Value rather than an expression
Right-click the control and select Text Box Properties
Select Number, then Time in the Category list, then the time format you wish to use
This may give you better results than attempting to format through an expression.

How to underline text in Visual Basic (with Visual Studio 2010)

I have a problem with underline text after press a button in Visual Basic. I'm using Visual Studio 2010 and I red in tutorial that in button method I have to use for example:
lbltext.FontUnderline = True
But I don't have variable "FontUnderline". Of course I was trying to find other variable or function to do this but without success. Anyone know how to do this in Visual Studio?
An inline answer looks like this:
Me.lbltext.Font = New Font(lbltext.Font, FontStyle.Underline)
This would save multiple lines of code.
Or the old way of doing it was to instance a new font
Font standardFont = new Font(lblText.Font)
Font underFont = new Font(standardFont,FontStyle.Underline)
Then just set the Font property of the relevant controls to the one you want.
Took the example of #Tony Hopkinson and added some small changes to make this work for VB.NET
So this is the syntax for VB.NET
Dim standardFont As Font = lblExportDate.Font
Dim underFont As New Font(standardFont, FontStyle.Underline)
Me.lblExportDate.Font = underFont
I think you are missing a dot here.
It should be lbltext.Font.Underline = true

Resources