Can you think of a way around this? I also compiled a .exe file to do everything. But I can't seem to get it to return the status I want. So I can't check the status of the program. That is working by executing it from a web page.
Any other thoughts?
I have written a web service for so I can start, stop, and get the "running" status of a .exe file. I used the Process class for this. But... I get an error that the web service can't perform the function on the process (basically just creating the process object) because of access denied. So...
Here's my delimma. I have a demo database that needs to have "seeded" data in it that can be manipulated daily during demos. But at night I want to return to the default seeded version.
What I'm doing is:
killing the spids for this db.
detaching the db
moving the 2 files (mdf and ldf) to an...
Don't I need to assign a value to the timers? I'm getting an error when I try to compile "'DefaultNamespace.MainForm.timer1' is never assigned to, and will always have it's default value null" Same for timer2.
Thanks
Oh, and I think I follow your method here. Looks good.
All,
I am working on a project where I need a windows executable that will put a window on the screen that stays on top, and has scrolling text.
This text is retreived from a server, and is updated at a user specified interval. I have figured out how to do this with the exception of the...
Basically, I'll be executing this sproc from within some other function... perhaps another sproc.
And I'll be passing in certain parameters, or creating local parameters within the sproc. Some of these are dynamically build table names. Like this snippet:
FROM eval(@formTableName)
I'm...
I can compile the following sproc, but when I execute it, it fails on eval(). I thought this was a valid function.
Thanks
/* This sproc fixed the master form build table to include a specified missing
base table row for a specified form.
To call this sproc:
EXEC FixMFBForForm 'formname'...
Nope not yet. I'm sure it can be done. But don't know how. It appears that most people use a java or vb "wrapper" to call the HTML into. But I can't do that. If I figure it out, or find the answer, I'll make sure to post it here. Keep your email notification turned on for this thread.
Thanks for the pointer. I'm sorry I didn't check the FAQ first.
But I'm having a little difficulty, with this section:
While @ln<=@mln
Begin
Update #tmp
Set CombinedLine=CombinedLine+CAST(j.Worklog_ID AS varchar)+' '
From #tmp a Join MK_WorklogCategory j ON a.catID =...
Ok, here's a stumper for me... (probably pretty simple to you SQL gurus)
I have a table of entries, single rows with PK of baseID.
I have another table of categories with PK of catID
I have a "join" table entrycatjoin that has those two PKs.
entries are a 1 to many categories...
Ok, here's the answer:
<asp:HyperLink
ImageUrl="icon0.gif"
NavigateUrl='<%# DataBinder.Eval (Container.DataItem,"ID", "no1.aspx?ID1={0}") %>'
Text='<%# DataBinder.Eval (Container.DataItem,"IDtitle", "Some text to show before the db title...
Ok, this works. Back to the basics of HTML. ha. But is there an ASP.net/C# way to do this?
<asp:TemplateColumn>
<ItemTemplate>
<a href='editMovie.aspx?movieID=<%# Convert.ToString(DataBinder.Eval(Container.DataItem,"MovieID")) %>'>
<img...
Ok, I've found this.
For my first column, I use:
<asp:TemplateColumn>
<ItemTemplate>
<asp:HyperLink ImageUrl="images/pencilEdit.gif" Runat="server" ID="editMovie" NAME="editMovie"/>
</ItemTemplate>
</asp:TemplateColumn>
But now I'm trying to...
I'm new to ASP.net, using C#, and I'm doing a pretty good job of figuring things out. Slowly, but getting there. I bought the Programming ASP.Net O'Reilly book. Very good book. But, here's my question.
I'm getting the hang of datagrids, but I want to use my own images for edit, cancel, etc but...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.