Click here to Skip to main content
15,892,298 members
Everything / TabControl

TabControl

TabControl

Great Reads

by Richard James Moss
This article describes adding design time support for a TabControl-like component which renders the same way the Project Properties in Visual Studio 2012.
by wpfdev
This blog post is re-posted from www.eriklieben.com. Looking at the file tab of Word 2010, I’ve wondered if a WPF tab control could be transformed to this layout. At first, this felt like something that could never be done, without doing a lot of magic or building it from scratch...
by Brian C Hart
This tip shows how to add support for New Horizontal Tab Group and New Vertical Tab Group commands to the Window menu of an application using the DockPanel Suite by Weifen Luo, and some other minor improvements to help decided if at least one of your windows is docked to the side of the main form an
by PIEBALDconsult
A binary search technique to determine which TabPage of a TabControl was clicked

Latest Articles

by Aleh Baradzenka
In this article, you will learn about an adjustable control that has zooming and scrolling tabs, dragging with the mouse, custom drawing and much more.
by Aleh Baradzenka
This control is another kind of tab. Tabs are displayed as horizontal stripes and can be collapsed into buttons. Each tab is assigned its own window, which is shown when you click on the tab.
by siliconvideo
This article present code that implements a tab control with pop out windows
by _Noctis_
Use a project with a TabControl to quickly test theories, questions, problems

All Articles

Sort by Updated

TabControl 

31 Oct 2022 by Michael_Davies
Each tab is a TabPage in a TabControl container and can bee accessed by its name, so if it called TabPage2 because you added but did not give it a proper name then in your code you can set the Enabled property; TabPage2.Enabled = False Or as an...
31 Oct 2022 by teymoorei
hi I have two TabPages. I want the key of one of the tabs, for example TabPage2, to be disabled (the key on the top of the tab), not the elements inside the panel. (turn off header tabpage) Thank you for your advice What I have tried: I did...
21 Oct 2021 by Member 13866664
i have written a program which contain 2 tabs sample tab1 and sample tab 2. i used mytabctrl.h and mytabctrl.cpp to build tabs. Now what i want to do is that when click the ok button in 1st tab i-2 sample tab1 it opens the 2nd tab i-e sample tab2. how to do this need help. What I have tried: ...
21 Oct 2021 by Member 12142105
CTabCtrl* pTabCtrl1; pTabCtrl1->SetCurSel(1); // try change this index on the button m_tab2.ShowWindow(SW_SHOW); m_tab1.ShowWindow(SW_HIDE);
25 Mar 2021 by Aleh Baradzenka
In this article, you will learn about an adjustable control that has zooming and scrolling tabs, dragging with the mouse, custom drawing and much more.
16 Mar 2021 by Aleh Baradzenka
This control is another kind of tab. Tabs are displayed as horizontal stripes and can be collapsed into buttons. Each tab is assigned its own window, which is shown when you click on the tab.
22 Feb 2021 by Member 15080037
I want to be able to get a variable such as the name of the tab when its pressed and then with that information use that variable in a query i want to run. How can i do that? I thought about switch and cases but i was told i couldn´t do it that...
22 Feb 2021 by User 15025775
There are several way to do this. One is implementig tab-change event and use the tab name. Something like: private void tabControl1_Selecting(object sender, TabControlCancelEventArgs e) { string tabName = e.TabPage.Name; // Implement your...
22 Feb 2021 by Chris Copeland
You could subscribe to the Selected[^] event, which triggers when the active tab is changed. From there you have access to the TabControlEventArgs.TabPage property, from which you could get either the index or the tab text. You can then use this...
7 Feb 2021 by RickZeeland
It could be that you changed the ForeColor of the parent Form or Control to White, try changing that to Black first. I had problems with the TabControl a long time ago and wrote a custom control to solve it: namespace Xxx { using System; ...
7 Feb 2021 by The Magical Magikarp
Hi! I'm creating a custom-colored TabControl, and I'm hitting a bit of a road block.. Everything colors fine, except for the TabPage Header border, which still stays white, here's a screenshot: TabPage Header White Border (imgur image)[^] ...
7 Feb 2021 by RickZeeland
If you can't get the first solution working, try this custom TabControl: Beveled Panel with Shadow Effect - Now With Tabs[^]
20 Oct 2020 by lukeer
Hi forum, there's a TabControl in a WPF software I have to make touch-friendly. I would like to increase the height of all the headers to 48 pixels so they fit nicely with the buttons that alre already large enough for fingers to push them. But...
20 Oct 2020 by lukeer
Starting here[^], I came up with this:
19 Oct 2020 by Gerry Schmitz
Just change the Height of one Header:
22 Jul 2020 by CTurcotte
Hi,I have been searching around without finding a fix so here I go.I have a Windows with a center that contain a UserControl that will fill the general area of my application.I have a TabControl with multiple TabItem. In each TabItem I have to show different controls including...
22 Jul 2020 by Faisal Fagihi
I had the same problem and here is my solution: - Move your DataGrids to the tabcontrol resource as tiggers. ...
6 May 2020 by BillWoodruff
There is a rutorial on how to draw a Tab with a close box here: [^] ... also see: [^]
6 May 2020 by The Magical Magikarp
Hello! I encountered problems with the default TabControl, and so I made it OwnerDrawFixed. But, it gave it a Windows XP-kind of look. I saw that you can use VisualStyles to return the flat-look to it, while it is OwnerDrawFixed, but I haven't...
25 Mar 2020 by Dave Kreskowiak
You cannot save the control itself. That doesn't even make sense. You can, however, save the information you used to create that tab. When the app launches again, load the information and recreate the tabs as you did before.
25 Mar 2020 by The Magical Magikarp
I need to save the tabs of my TabControl, so when the user next launches, it will have the original tabs opened. (Like Notepad++, but in C#) If I can, I'd like to write the TabControl to a file and re-load it at next launch. Thanks :) What I...
26 Nov 2019 by Josh_0101
I am working on getting hwnd by using the mouse cursor pointing on button. The problem is I cannot reach the button which is inside a tab dialog. I used Spy++ to get the hierarchy, there are 3 layers to reach the desired button. MainWindow (#32770) - Tab1 (#32770) - Btn1 (Button). It shows that...
26 Nov 2019 by Shao Voon Wong
MFC CButton inherits from CWnd base class. CWnd and its derived class has this GetSafeHwnd() to return a HWND. If you have the CButton object, call its GetSafeHwnd() function. If you want to capture a mouse input, subclass CButton class with your own class to handle WM_MOUSEMOVE message or other...
4 Apr 2019 by Member 11709930
I have a TabControl with 6 pages. Each page has a GroupBox with a DataGridView on it. I need to loop through all 6 DataGridViews as part of a cell validation routine. What I have tried: I've created this code to find all the DGV's so I can loop through them but it does not seem to find any...
4 Apr 2019 by Richard Deeming
Here's a helper method I find useful in this sort of situation: public static class TreeExtensions { public static IEnumerable SelectRecursive(this IEnumerable source, Func> getChildren) { if (source is null) throw new...
2 Apr 2019 by BillWoodruff
You gotta drill-down; I'd use Linq: private List DGViews; private void Form1_Load(object sender, EventArgs e) { DGViews = tabControl1.TabPages .Cast() .SelectMany((TabPage tab) => tab.Controls.OfType()) .ToList(); } Since every...
6 Mar 2019 by siebren beens
the problem is that i only get 1 button in each tab item. and i get a tabitem for each file in the specific folder. instead of only a couple of headers in the directory sounds, there are 5 folders, (set 1-5) these i want as tabitem.header. and within these folders i want buttons linked to the...
6 Mar 2019 by siebren beens
meanwhile i was waiting for help on my code, i altered my code to a working code. now i see that it is not the way programmers usually code. but i works like intended. can you take a look at it and comment it? mainwindow.xaml.cs using System.IO; using System.Windows; using...
5 Mar 2019 by TheRealSteveJudge
The problem is: You do not have any decent data model. Moreover it is not a good idea to assemble the user interface like you are trying to do. Use XAML instead. Let's start with a model for SoundFile: SoundFile.cs namespace DynamicTest.Models { public class SoundFile { public...
24 Sep 2018 by Manish K. Agarwal
Please refer c++ - mfc tab control switch tabs - Stack Overflow[^] Also try withby changing the selected index tabControl.SelectedIndex = 1
26 Jul 2018 by Member 13512111
$scope.openAttachment = function(id) { var w = window.innerWidth; var h = window.innerHeight; $window.open(' ~/Controller/Actionresult?docId='+id, '_blank', 'left=' + w / 5 + ',top=' + h / 5 + ',width=' + (w / 5) * 3 + ',height=' + (h / 4) * 3 +...
26 Jul 2018 by Member 13512111
Here is a code which I'm currently using to open a custom window on click of a button: The problem is how to write the same code in angularJS controller so that I donot have to bind the angular part to id of anchor tag and then pass it in on click as this.id ? If I try to pass directly in...
23 May 2018 by Nishant.Chauhan80
This code copy server-side... protected void Page_Load(object sender, EventArgs e) { Section8.Visible = false; Section9.Visible = false; } protected void but_Submit_Click(object sender, EventArgs e) { Section7.visible = false; Section8.Visible =...
23 May 2018 by Member 12926744
Hi all, I have page with several div as tabs . When the page is loaded only the first tab should be enabled rest should be disabled . After filling the details in first tab and on clicking the submit button it should be redirected to the 2nd tab and so on . How can I do this .Any help will be...
4 May 2018 by siliconvideo
This article present code that implements a tab control with pop out windows
6 Nov 2017 by Member 2796559
Based on the above solution, I tweaked the code so you can pas in a WPF window with tab controls or other containers, and it will loop through all the textbox controls. The TB controls are added to a visual items list and with the returned list you can do whatever you like. Remove the where...
6 Nov 2017 by Derek Kennard
Hello, I have a problem. I need to return data from SQL into a Window to fill in textboxes. If a textbox is empty post return, then turn the background color == red. I got it to work using the code below: private void PlayingWithColors() { foreach (var tb...
13 Sep 2017 by WhatsYourIdea
I have a TabActivity and there are 3 tabs in it. In one of the 3 tabs, there is a Button, and I want the button to do something. But where ever I put the EventListener, it just doesn't work. It gives me a NullPointerException. What I have tried: I have tried to put the EventListener in the ...
3 Apr 2017 by Robin Purbia
I am trying to implement style for TabControl along with TabItem like below Images: https://drive.google.com/open?id=0B2SyA6F_5_cDYUVRaXkzbWY2X1E https://drive.google.com/open?id=0B2SyA6F_5_cDdjVnZmt5YU5PY1k The Style should make below things visible: 1. White Background for TabControl and...
3 Apr 2017 by Graeme_Grant
There are many tutorials and solutions that can be found on Google Search for Drop Shadow: wpf xaml dropshadow[^] Also official documentation: How to: Create a Drop Shadow Visual Effect[^] I think that this is the answer that you are looking for: xaml - WPF TabItem and TabControl templates...
27 Dec 2016 by Ands_
I can't figure out a way to remove this area around the TabPage, I painted it in red so that it is easy to see.(Picture 1)My issue though is when I change it back to the background color, I lose the tab selector(Blue Highlighter) when I have a nested Tabcontrol and it goes under that red...
12 Sep 2016 by Ali Majed HA
Hello I am trying to open my child forms in tabcontrol that I have put it in main (parent) form insted of for example "center screen" as usual.here is my code that I have tried : private void MainForm_Load(object sender, EventArgs e) { ...
12 Sep 2016 by Maciej Los
Follow this: Q537413 - Create tab page from another form | DevExpress Support Center[^]. It contains complete project.For DocumentManager i've found only this: T134798 - How to insert a form inside a tab of XtraTabControl | DevExpress Support Center[^]I'd suggest to post further...
1 Jul 2016 by User 10734264
I have home activity which have tab control and on first tab the main activity is shown. On main tab i have buttons which will redirect to another activity.and cannot redirect to another activity.What I have tried:package mobileofflineapp.gopalchudal.mobileofflineapp;import...
23 Apr 2016 by Member 12475269
l am creating a webbrowser with C# and i used the tab control to manage the tabs of any new page to be added. l want to add a progress bar to show the progress of the webbrowser being controlled in my tab control.can anyone help meWhat I have tried:l tried looking for the event changes...
21 Apr 2016 by ByeByeByeByeBye
I simply want to save a TabControl from System.Windows.Forms in C# with all its tabs (tab key, tab text, tab tooltiptext, tab tag, tab imageindex) included in a file and then later on load it again from a file. Found nothing on this. The tabcontrol has also no ".save" extension function so far I...
19 Apr 2016 by OriginalGriff
First off, no there is no command - "saving" controls of any sort is not a normal behaviour.And second: the "no loops" parts of this is going to make your life difficult - because the only reason for saving something is because the content is going to change - and part of the tab control...
8 Feb 2016 by kranthi1988
Hi John,Thanks for that...now i've called the jqgrid loading function in .aspx file. it's working.
6 Feb 2016 by kranthi1988
Hi,I'm using Ajax tabcontainer with Jqgrid..Net 4.0 VS 2010Ajax Toolkit for Framework 4.0I've totally 5 tabs (have placed JQgrid in Tab4 and Tab5) and successfully created the functionality to navigate with in tabs help of UPdatePanel.Here the problem is, when i'm...
14 Nov 2015 by Krunal Rohit
Remove those gradient colors & shadows as well. Use the flat icons. Use the Segoe UI fonts.Not the exact solution, but you can give it a shot :)-KR
14 Nov 2015 by ry sieł
Like in the topic :)screenHow to do something like this?I think about active, inactive tab + seperators bettwen tabs and remove, add tab button :)Thanks for advance ;)
30 Oct 2015 by VR Karthikeyan
Hi, declare a common class to hold common information which are needed in the lifetime of an application, it is the convenient way to store and access common information. Create a Class named CommonInfo like below, and create a string property named DateTimeInfo to hold DateTime...
30 Oct 2015 by OriginalGriff
Don't.Globals are not only pretty much unnecessary in C#, they break all the advantages of OOPs design.In this case, it would mean that you can't "reuse" the usercontrol in multiple places, or outside the main form or current application.Instead, add a property or method to the control...
30 Oct 2015 by Rencyrence
Hi, i have one Main form, and i have tab control and tab pages, Inside tab pages i used User Control. In Main form I have datetime.Text(Label), and i wanted to call/get value of it to tab page (which is the user control) tell me how to make the datetime.Text global, so that i can get the value...
23 Aug 2015 by Alberto Nuti
for the TabControl use this:TabPage myTabPage = new TabPage(title);myTabPage.Name = "tab" + tabControl1.TabCount;tabControl1.TabPages.Add(new BrowserTab());While inside the BrowserTab class you can use: public class BrowserTab : TabPage { public WebBrowser...
23 Aug 2015 by Ashwin2013
Hello CPs,I have created tabs dynamically inside a TabControl using the following code.string title = "TabPage " + (tabControl1.TabCount + 1).ToString();TabPage myTabPage = new TabPage(title);tabControl1.TabPages.Add(new BrowserTab());where BrowserTab is a class created...
19 Jul 2015 by Mahindra Shambharkar
Issue is with iterating over Visual Tree to find control. If you debug your application you can see that TextBox Control that is present different tabitem than current is not visible and hence not shown in Visual Tree.Just replace FindVisualChildren method with public static...
4 Jul 2015 by Đăng Khoa
Hello everybody, i have a problem with SuperTabControl (Dotnetbar). how to make, when i click add new tab, the tab auto resize, same tab of google chomre.In my project, i have 6 SuperTabItem, when i click ad new tab, i don't see SuperTabItem 7, please help me
11 May 2015 by morris “mason” bonham
I have tried both already. Non of them helped!I just changed its mode to standard tabs. In this mode that bar is white!
10 May 2015 by Real_Criffer
Please see this linkhttp://stackoverflow.com/questions/5338587/set-tabpage-header-color[^]everything explain here Cheer!
10 May 2015 by Santhakumar Munuswamy @ Chennai
Hi,Tryhttp://www.c-sharpcorner.com/uploadfile/mahesh/c-sharp-tabcontrol/[^]
10 May 2015 by morris “mason” bonham
How do I change tab control back color. It is highlighted on image.https://drive.google.com/open?id=0B2RsqtI-JTVxcHJEdnZJUjZpQzQ&authuser=0[^]I have a code for changing tab color, maybe it will help.private void TabControl_DrawItem(object sender, DrawItemEventArgs e) { ...
10 May 2015 by Dave Kreskowiak
Those tab pages are more identical than you know.You're not making a copy of TabPage1 and its contents. You getting a reference to the TabPage and setting each tab page to the SAME TabPage1 and SAME controls on the page!You have to create a New TabPage and New DataGridView for each tab...
10 May 2015 by KukuhSP
I have TabControl with 1 TabPages and contains DataGridView. I create TabPages2 from TabPages1 with code : Dim Frm As New TabFormPage Dim MoreTabs As TabPage = Frm.TabPage1 Dim i As Integer For i = 1 To TabControl1.TabPages.Count MoreTabs.Text = "TabPage" & i + 1 ...
6 May 2015 by ashokruhela
I have a TabContorl and I am adding tabitem dynamically. I have bind datatemplate to some viewmodel and view is loaded as defined in datatemplate. if i use...
25 Dec 2014 by Member 11287295
As title says, either gets printed in black either it doesn't get printed at all.Here's how i'm creating the TabControlRECT client_rect; GetClientRect(hwnd, &client_rect); TabControl = CreateWindowEx(WS_EX_COMPOSITED, WC_TABCONTROL, L"", WS_CHILD | WS_VISIBLE |...
5 Dec 2014 by bling
Owner drawn tabs ...http://msdn.microsoft.com/en-us/library/windows/desktop/bb760550%28v=vs.85%29.aspx[^]Process WM_DRAWITEM messages by painting each tab onto the device context. Use SetTextColor to set the appropriate color before drawing each tab.
5 Dec 2014 by Member 11287295
Here's how I created the tabcontrol and the various associated tabs :RECT client_rect;//inside WM_CREATE: GetClientRect(hwnd, &client_rect); HWND tab_handle = CreateWindowEx(NULL, WC_TABCONTROL, NULL, WS_CHILD | WS_VISIBLE, 10,...
17 Oct 2014 by Member 10351930
Hello there,I have a TabControl, where one of it's items should contain another TabControl.I already read that this was only possible with a workaround in WinForms, but I am using WPF. Nevertheless I have problems to implement that. Here's a scheme of my XAML-Code: ...
13 Oct 2014 by Sinisa Hajnal
Try playing with CSS transitions[^]Here is one sliding tab[^] effect.If this helps, please take time to accept the solution. Thank you.
12 Oct 2014 by oronsultan
hey there!i was looking on google on how to make cool slide effect for the tab control in my program but i couldn't find anything. what i want to make is when i move between tab pages, i want the page to slide from the right (or left, doesn't matter) side to the other side of the tab control...
17 Sep 2014 by thesarath
If you are running a 64 bit Pc, download the source of JacksonSoft.CustomTabControl, open the solution, take properties of project from Solution explorer, take Build tab and change Platform Target to "Any CPU". Now build the project. Add the dll of JacksonSoft.CustomTabControl in your project....
14 Aug 2014 by Sergey Alexandrovich Kryukov
[The answer to a different question, which was deleted, unfairly.]Sorry that I'm answering to the deleted question in this unusual way; I can see that the deleted question was important enough. It was a question when you used Thread.Suspend and Thread.Release.This is my answer:The...
3 Jul 2014 by KarstenK
This sounds quiet amazing article: Win32 SDK C Tab Control Made Easy which should answer your questions.Why arent you do that stuff with resources and the MFC TabCtrl. The MFC is somehow glitchy but it does its job. :-O
2 Jul 2014 by Member 10362802
Hi everybody,Sorry for not stating the problem clearly yesterday.I want to use tabcontrol in my win32 cpp project. Please check the code:-------------------------------------------------------------------------------BOOL OnInitTabControlDialog(HWND hWnd, HWND hWndFocus, LPARAM...
15 Jun 2014 by Manoj B. Kalla
Dear ozthe1337 ,Herewith I am sending solution point by point, check it. .. 1. You want to create tab : General , Shields, Logs, Exclusions IN WINFORM project.2. Drag TAB CONTROL on form 3. Select TAB CONTROL properties, go to TabPages properties and click collection...
15 Jun 2014 by ozthe1337
Hello, I'm wondering how I can make the tabcontrol in visual studio look like this:http://gyazo.com/1fa92dd941386eea487b62f3fcc83712[^]I've already tried to change the appearance to buttons, but it doesn't look the same at all....
9 Jun 2014 by sovit agarwal
Hi,I have a tabControl in which tabPages are created at run-time. Every TabPage contains a TextBox and a DataGridView of the same format.Now i have a save button which should save the content(values in textbox and datagridview) of the current tab in an xml file.But whenever i am saving...
9 Jun 2014 by Suvabrata Roy
Hi,so with in the save event you can get the current tabTabControl.SelectedTab but your challenge would be something different that is how you will find each DataGrid and TextBox because each object name would be different.Solution :foreach(Control Clt in [Your Tab...
4 Jun 2014 by Nivedita_Parihar
Use TabControl.SelectedTab Property to get which is current selected tab
4 Jun 2014 by DamithSL
you can use TabControl.SelectedTab Property[^]for example if you have RichTextBox with name "rtb" in your selected tab, you can check and get the control as below if (tabControl1.SelectedTab.Controls.ContainsKey("rtb")){ RichTextBox selectedRtb =...
4 Jun 2014 by sovit agarwal
Hi,i have a form in which clicking on a "NEW PAGE" button opens a new TabPage. This happens at runtime. So how do i know which tabPage is currently active so that i can retrieve the values of that particular tabPage and display it in a TextBox .Can anyone please help.!!!Thanks:)
2 May 2014 by _Noctis_
Use a project with a TabControl to quickly test theories, questions, problems
28 Apr 2014 by Shai Vashdi
Well it's obvious! You are using the same instance of TabItem in two places!TabItem is a Control, i.e. UI and not logic. The idea of code separation between logic & UI (for example MVVM) can help you here:For each TabItem:1. Crate a View-Model containing his data.2. Every...
23 Apr 2014 by hari111r
I am binding below tab item collection to two tab controls in two different screen when i switch between the screens tab control does not show any tab items can any one help on this.private ObservableCollection _leftContent = new ObservableCollection(); public...
16 Apr 2014 by Emre Ataseven
First of all you need a new listview control cuz current one does not have ItemAdded event, so;public class MyListView : ListView{ public event EventHandler ItemAdded; protected override void WndProc(ref Message m) { base.WndProc(ref m); switch (m.Msg) ...
16 Apr 2014 by Member 10622146
I am using a TabControl with two TabPages.TabPage 1 Text: "Test Data" and has a Test Data UserControl with a listviewTabPage 2 Text: "Real Data" and has a Real Data UserControl with a listviewI am trying to change the text color of TabPage 2 from black to blue when a new item gets...
7 Feb 2014 by Sergey Alexandrovich Kryukov
This is all reduced to the popular question about form collaboration. The most robust solution is implementation of an appropriate interface in form class and passing the interface reference instead of reference to a "whole instance" of a Form. Please see my past solution for more detail: How to...
7 Feb 2014 by OriginalGriff
Set up an event in the form with the menu, and handle it in the other form. The handler can display the correct tab: Transferring information between two forms, Part 2: Child to Parent[^]
7 Feb 2014 by Member 9764132
I am working on windows form application and i have one form Reports with 3 tabs. now when i click a Menu Item on another form, i want form one to be opened with respective tab. private void purchaseToolStripMenuItem_Click(object sender, Event Args e) { Reports report...
5 Feb 2014 by Joan M
Take a look at this article here in :bob: : Hosting .exe applications into a dialog[^]That has been the first result of a Google search...Hope this helps!
5 Feb 2014 by Giuditta
Hello all, I have got the following problem. I have three mfc programs, they all are dialog based and created with visual c++, and now i would like to create a fourth program with tab control. Every tab has to be the "container" for a program. Does anyone know if it is feasible? Every help...
27 Jan 2014 by Member 10525317
Thanks to a kind used at stackoverflow, I was able to get this working.I had the shell subscribing to the MainMenu event which wanted to inject either a TestControlA or TestControlB into the TabRegion region, which was wrong.I removed the subscription from the shell and had the...
24 Jan 2014 by Member 10525317
Hello everybody,I have tried to find an answer for the following scenario but have failed to come up with an answer.This may well be due to me, by my own admission, not yet having fully grasped the whole Prism concept.In my defense, I started looking into Prism only two days ago, so...
30 Dec 2013 by Mambo H
If you are using .net 4.0/4.5, check that you have added AjaxTookitScriptManager (and not ScriptManager usually added in .net 2.0). I ran into the same problem and figured that out from this notes
27 Nov 2013 by CPallini
Did you Google for, yet?[^][update]Quote:Ok, i already know the query to select all tables, but i doesn't know how to read the output of this query in C# to know the names of each table...Then Google better![^][/update]
27 Nov 2013 by Rieth L
I want to take all the names of tables in a database (sql server), and create a tab page for each..public void FillTabControl(TabControl tabControl) { sqlQuery = @"SELECT * FROM SYSOBJECTS WHERE XTYPE='U'"; con = fdc.NewConnection(); ...
24 Oct 2013 by torin86
Good afternoon to all!I have the next trouble in my WPF app.I have a TabControl and with a Converter, I achieve to resize the width of the Tabitems . This Is working fine.Now, in my app, I want have a Button to remove some of these TabItems and at the same time resize the rest of...
24 Oct 2013 by An@nd Rajan10
first you do "clean solution"then run the project it will successfulenjoy
23 Oct 2013 by Singh Gyan
try this.Dim url As String = "~/SomeDirectory/SomePage.aspx"Response.Redirect(url.Replace("~"c, Request.ApplicationPath))or like thisResponse.Redirect("./hello");