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

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!

Related

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.

Intellij IDEA: renaming like in Visual Studio / C#

Is there such a feature in IDEA, that after renaming certain declared variable or field, I can apply to rename all occurrences of it? Like in VS after renaming something, appears some red, small triangle at bottom right of the word, that pushing it, VS updates all occurrences.
You can use Shift + F6 for an in-place rename.
Yes, you can do it. Set cursor on your variable and then select in menu Refactor -> Rename...
Idea will automaticly detect if it is needed to rename other occurrences.

Using up arrow in Visual Studio IntelliSense to select the last item

Anyone knows if this is possible? I tried it in vs 2005 and 2008 and it doesn't do that. IMO this would be a very useful feature when I know I want to select the last item or an item that's closer to the end of the IntelliSense list.
It's not possible. I hit Page Down repeatedly to get to the last item if absolutely needed. Normally I just hit the first letter of what I need next, then select it.

How do you use selected vertical blocks in Visual Studio 2008 and 2010?

I get that you can select a vertical block in Visual Studio 2008 (alt-drag), but I don't understand how you use it once it's selected.
How do you:
Move the selection point inside the block and have the text you're typing get inserted on every line simultaneously?
Move the block one space to the right/left
Or can you just copy/delete the selection? I assumed when I saw the ability to select that it was something like TextMate's vertical blocks, but maybe it's just not as advanced as that.
New behavior (as of VS2010 RC - added 13 Feb 2010):
You can now type in the selection and have the same thing show up on every line.
Tab moves the selected block
The first thing I can think of is when I have a group of UI controls and a database - e.g. - this pattern in the PageLoad():
Field1.Text = xxx;
Field2.Text = xxx;
Field3.Text = xxx;
Field4.Text = xxx;
Field5.Text = xxx;
And some place that I need to paste them. For example, in a Button handler where I want to save the values.
DBCommand.AddWithValue("", );
DBCommand.AddWithValue("", );
DBCommand.AddWithValue("", );
DBCommand.AddWithValue("", );
DBCommand.AddWithValue("", );
I'd use a block copy to pull the fields into the target (here I'd be pasting to the value).
When you copy-paste code from the Internet, the code often has line numbers or '>' or some other HTML prefixed to every line of the code which can be a pain while compiling. That's one area to use it.
Disclaimer: No, I am not giving you ideas on my coding skills ;-)
I think it's pretty much just for copy/cut/delete. If I'm wrong, and it has more functionality, I'd be glad to hear about it.

Resources