Hello , I am have created Push Button in Ribbon Panel. When this button is clicked it should display data to user which is stored in MS ACCESS / SQL Express. Can anyone please tell me, how will it be ?
pushButton = splitButton.AddPushButton(new PushButtonData(" Datapush", " Data", AddInPath, "Revit.SDK.Samples.Ribbon.CS.Command"));
pushButton.LargeImage = new BitmapImage(new Uri(Path.Combine(ButtonIconsFolder, "image.png"), UriKind.Absolute));
pushButton.Image = new BitmapImage(new Uri(Path.Combine(ButtonIconsFolder, "image.png"), UriKind.Absolute));
Please look for samples on The Building Coder blog. They are legion.
Yes, IExternalCommand.
Please refer to the Revit API getting started material:
http://thebuildingcoder.typepad.com/blog/about-the-author.html#2
Best regards
Jeremy