Hyperlink clickable on DataGridView - c#

I have a site that has a list of other sites and links, I use Microsoft Visual Studio 2019 and Microsoft SQL Server Management Studio, the connections work fine and I can view the data and update it, but one of the fields I want is a site URL, I didn't know how to create a field in the table that will take the input and store it as a hyperlink (this is possible in Access) but in SQL, so I want at least when used in detailview or gridview on the site for Users will see this file as hyperling so they can click on it instead of copying the url and putting it in explorer to access it.
I hope I'm asking the right way, so please if anyone can help, I really appreciate it.

Related

(Change Datasource) Prompt for Server and SQL Server database within Crystal Reports Viewer, Visual Studio (C#)

I'm using SAP Crystal Reports 2016 with the Visual Studio plugin, along with Visual Studio 2015.
What I've done is created a simple MDI application using C# which contains multiple Crystal Reports Viewer forms which open an embedded report in a child window when the menu item is clicked. This application will sit on our development server and be used to run reports against client databases that get sent to us with problems.
Here's the issue. We've got multiple instances (and versions) of SQL Server running and we are getting multiple test databases daily which of course will be named differently. The reports are looking for a specific database only.
What I would like to do, is either on form load or via a button click, be able to have a box prompt the user for server and database name. For example:
SQLServer\SuperCoolInstance
My_Cool_Database
The report would then connect to that database and display relevant information.
Any idea on how I could accomplish this? Second best scenario would be to have something like an XML file that contains the server and database and the program looks at that when launching. Even though we'd have to edit the XML whenever we wanted to change datasources it would be something! I wouldn't know how to pursue that avenue either though.
I would think that this must be possible because at a previous company that I worked for, they actually sent compiled Crystal Reports (in exe format) to clients to run on THEIR systems and it looked to an already existing XML file.
Thanks very much in advance for any ideas or guidance.
Cheers.
EDIT - I thought I should point out that all the SQL Server databases that this would run on would have identical schema but different data obviously. Not that this probably matters for this particular question, but just in case. :)

BLOB file to display via a GUI

This is more of a, "hey, any ideas on how to go about doing this?", type of question.
So,
I'm working on a READ-ONLY GUI in Visual Studios, that loads data from an Oracle database. -- I am currently stumped on how to go about doing something: Loading an BLOB file from the oracle database and having it display via the GUI, so that the person reading it would be able to download said file by clicking a logo or text field or whatever works really. The person wouldn't be the ones uploading files; they should just be able to download them from what the GUI is pulling from the database.
Keep in mind, this file should not be limited to a single file type, should be able to upload .pdf, .txt, .wordx, .png, etc)... from Oracle, into Visual Studio.
I'm not sure which tool to use, nor the best way to go about this.
Tried looking it up, haven't really found any examples worth-mentioning or ideas pertaining to loading FROM Oracle into displaying for C#.
Any examples or ideas would be much appreciated.
SQL Developer offers this feature - via Java. You asked about tools...

Sharepoint form writing to sql database

I want to build a form that will edit a table on SQL server. I known how to do it in ASP.NET (I need two drop down lists, gridview and button) but I want to make it as a part of SharePoint.
Can someone tell me what is the best technology to do that, I was looking at InfoPath but it seems I can not run it in web browser (only InfoPath filler). I just want to build simple form that is a part of Sharepoint and that is working in web browser. Please help.
Best regards
Daniel
One easy approach to read/write from/to SQL databases in SharePoint is to sync the external data with SharePoint lists. In this way you have the full feature set of lists available with best performance and highest security. Users are just working with a synchronized copy of the external data in the lists. To sync the data you can program by yourself, use PowerShell or 3rd party sync tools like the Layer2 Cloud Connector.
It is not a best practice in SharePoint to directly change the database.
One way you can do is Connecting to SQL Server Using the External Content Type Feature
http://www.dotnetcurry.com/sharepoint/794/sharepoint-2010-connect-sql-server-external-content-type
If you want to change directly , As you already know how to do it in Asp.net , you can go for Visual Webpart with same asp.net gridview and connection string

How to display user submitted data in Back Office of Umbraco 7?

I want to Display the User submitted Data in Umbraco 7 Back office.
I have created a page to fetch some data from User. And now I want to display the submitted items in the admin panel. So that Admin can approve or Delete from the submitted list.
I want to display the submitted data in a Back Office with an Approve or Delete option for each entry.
Can anyone recommend a proper way to do this.
Any Help would be appreciated.
Thank You Chris For the sudden help.
The following links also helped me.
http://our.umbraco.org/forum/developers/extending-umbraco/49324-How-can-I-create-Form-in-Admin(Back-office)-to-take-input-by-admin-and-store-it-to-data-base?p=0#comment176152
http://our.umbraco.org/wiki/reference/files-and-folders/dashboardconfig
If you need to list your contents simply using a plugin Content Search Tool is a perfect option for Umbraco 7
http://our.umbraco.org/projects/backoffice-extensions/content-search-tool
For Umbraco 6.* or lower(based on the documentation) you may use(not tested) Content Maintenance Dashboard Package
link: http://our.umbraco.org/projects/developer-tools/content-maintenance-dashboard-package
Hopes this may help someone
Use the dashboard under /config/dashboard.config
It basically just points to a standard .net user control which allows you to manage data in whichever way you find easy.

Need help creating a aspx page demonstrating opening a SSRS report through a url

first: I am not a web-developer, my experience with asp.net is marginal. That is why I seek help.
I need instructions how to create a simple asp page that will
list a hierarchical view of all reports on a specific location.
These reports must then be transformed into hyperlinks that will open
that report without asking for credentials
On opening the report the page must know which parameters are
necessary in the report, what type they are and whether they should
be shown.
This should be done without using the reportviewer web control
I figured that I could use Listchildren() to get a list of reports.
I know that, when you know name and location of a report, you can open it through a url.
I know that is is possible to iterate through the parameters of a report and show/hide them in your page
But how to do that in a asp.net page?
I can not find any real simple noob level instructions for what should not be so hard....
Can somebody provide me with some examples/hints/easy-to-follow-step-by-step-reporting-and-programming-for-dummies-instructions on a noob-level?
I am using VS2012, SQL 2012 Standard, Windows Server 2012, IIS8

Categories