Search:
Type: Posts; User: Ms.Longstocking
Search:
Search took 0.03 seconds.
-
Hey guys,
Any suggestions on how I can resolve this little SNAFU?
Does my potential solution hold water?
@jmcilhinney
I've been contemplating your suggestion:
Are you suggesting a cookie...
-
Firstly, it's been a while and it's good to see that you're still active on this website! I remember you and your input with fondness! You and the rest of the contributors on this site helped me out...
-
Hey guys,
Been years since I posted here.... back in the game.
The title of my post may not accurately reflect what my end goal is, so I'll elaborate as little before the discussion begins.
...
-
Hi gents,
I've got a tough one for ya.
My webapp is geared to send off occasional emails to users on demand.
In an effort to improve the likelihood that these messages reach their destination...
-
I redefined my table and rewrote the related SPROCS.
The TransactionId column is now an IDENTITY column.
Problem solved.
-
I am in a major SNAFU.
I have a table whose primary key is generated via function:
FUNCTION [dbo].[NewTransactionId]()
RETURNS char(16)
AS
BEGIN
-
Hiya,
My attributes for a field in one of my models are:
[Range(1,8)]
[Display(Name = "Max Number of Soda")]
public int? MaxSoda { get; set; }
This model accepts values within 1 to 8...
-
SOLUTION:
http://tech.trailmax.info/2014/06/asp-net-identity-and-cryptographicexception-when-running-your-site-on-microsoft-azure-web-sites/
-
At first, I called it within SqlReader.
I them moved it outside the reader and still got the same error.
I'm starting to suspect more and more that it is the environment that is the culprit.
The...
-
"Thread" may have been a misnomer. :)
Anyway, I solved the issue.
I moved the "await" outside the JsonResult class.
private async Task GetCode(string Id)
{
var code = await...
-
ASP.NET
MVC
C#
SQL Server 2012
At my wit's end, gentlemen.
I'm sure it's happened to the best of you, so you can relate to my situation.
I have supposedly two identical systems.
-
ASP.NET
MVC 5
Target Framework 4.6.1
Throwing a broad net at this topic is necessary seeing that my expertise in this area is basic at best.
My application allows a user to send a message to...
-
Check out this block of code:
private static RotateFlipType GetOrientationToFlipType(int orientationValue)
{
RotateFlipType rotateFlipType =...
-
Excellent.
First hurdle is done.
Now, I can't for the life of me figure out why the image rotation is failing!
Select an image (taken from a mobile device) whose orientation is askew.
The...
-
UPDATE --
I tried clearing the form (multipart/form-data) when the dialog box is recalled, thinking that because it's a multipart form that the images were being queued up.
Did not work.
...
-
If this helps....
https://jsfiddle.net/MsLongstocking/ktt0wLqu/
Instead of adding a link to the library, I pasted it into code window.
jsfiddle was telling me of a potential error.......
-
I'm not that jsfiddle-savvy.
I tried recreating the functionality there but am having problems getting the js to work at all. I can't even get an "alert" to fire.
-
I have a simple file upload control that is designed to upload a single image and am trying to implement some image orientation functionality for images that are taken by mobile devices.
My back...
-
Thanks for the help guys.
I've been awake for too long.
-
I'm sure it's something inane as my SQL skills are weak...
Here what I need to do:
I am passing a structured variable over to my SPROC in Sql Server like so:
...
-
Closing this thread.
I had it right it seems in:
cmd.Parameters.AddWithValue("@TheTable", System.Data.SqlDbType.Structured).Value = dt;
Error on the SQL INSERT side of things.
Will start...
-
I think that I should start from the beginning and provide more detail to my problem.
There seems to be a slight disconnect. :)
Here we go:
-- ASP.NET Web app (MVC 5)
-- Sql Server 2014
I...
-
ADDENDUM
I forgot to add a link to my post.
This is/was the solution that I had attempted and failed:
http://www.c-sharpcorner.com/UploadFile/ff2f08/table-value-parameter-use-with-C-Sharp/
-
--PARAMETERS FOR SINGLE RECORD
@cid varchar(50),
@did varchar(50),
@sid varchar(50),
--PARAMETERS FOR INSERT MULTIPLE RECORDS (from datatable on serverside)
@uid varchar(50),
@sname...
-
I have to start off by saying that SQL Server and all of its associated happyfuntimes is my weakest programming skillset, so I ask that you have some patience with me.
My goal is this:
I would...
-
Hey guys,
The issue I was having was trying to lock down a plugin that would get the selected values of the dropdown for each item in the column and sort alphabetically.
Most failed. However,...
-
I've looked at numerous plugins and have yet to find one that will sort a column of dropdowns (based on selected="selected")
Each dropdown is built like so:
<select id="Select17">
...
-
You hit the nail on the head.
DataPropertyName needed to be filled. See image.
138117
With the DataPropertyName fields populated, the working code is now trimmed down to:
DataTable...
-
I'm clear on everything except #2. There is a complete disconnect for me here.
By default, every column in a DataGridView is of type DataGridViewTextBoxColumn.
You had mentioned, "If the column...
-
After attempting to follow the example outlined in your code bank, I have these questions/snafus:
1) Is it necessary to use a binding source?
2) When I attempt to assign a DisplayMember,...
-
My goal is to display a DataGridView with records from a db[table 1].
The last column of the dgv should display a combobox with a list of items[table2] (Also populated form the db).
I am having...
-
Right you are.
It's a simple INSERT.
It succeeds (No PK violation)
Or it doesn't (PK violation).
Should I keep an eye out for any other error types?
-
I have a simple procedure that inserts a record into a table.
The table has a primary key.
If primary key violation occurs, an exception is thrown.
We're ok up until this point, boys and girls.
...
-
LOL
Ok, I think we can mark this one as resolved!
-
Too vague a question.
Are the list items static? Is the data coming from an XML file? Database?
Will it cascade? Part of a model?
Are hamsters truly the best pets ever?
-
MVC 5
C#
Can someone provide me with a comprehensive reference that outlines the best practices on handling errors for my ASP.NET website?
I've been perusing the net for a couple of hours now...
-
I found the culprit.
Turns out that the syntax of my example is just fine.
The problem is found in my model:
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
...
-
To sum it up, I need to do this:
http://david.gardiner.net.au/2015/04/entity-framework-6-connection-string.html
.... Entering my existing Connection String Name instead of the connection string...
-
Nvmd.
Found the issue. Bizarro.
It had to do with a listbox value.
In my C# code, I had originally had:
string cid = listBox1.SelectedValue.ToString();
My STOREDPROC parsed this correctly and...
-
Hi,
I realize that this is not an SQL forum per se, but perhaps close enough? :)
I have a stored proc that I am sending 2 values(strings) to (C#, windows form, SQL Server).
The first, @cid,...
|
Click Here to Expand Forum to Full Width
|