首页 新闻 论坛 群组 Blog 文档 下载 读书 Tag 网摘 搜索 .NET Java 游戏 视频 人才 外包 数据库 第二书店 程序员

Tag/ 


共396个网摘 [ 1  2  3  4  5  6  7 ... 14 ]  上一页 | 下一页  |  

trouble witch using struct from C dll - DotNet

dbforum147收录,使用标签:.net, .NET技术>C#, .net应用, ajax, ASP, asp.net, Book, C#, C++, Collect, CSDN, CSS, C语言问题, Delphi, DNS, download, facebook, Flash, format, ftp, google, Hibernate, idea, J2ee, java, Javascript, JAVA基础, JS, jsp, Leo, Linux, memcached, MYSQL, Oracle, PHP, Python, Server, SOCKET, Spring, SQL, SQLSERVER, Struts, tcp/ip, to, Tomcat, T-SQL, VC, Web, WebDesign, WEB开发, Windows, seen, this, ASP.NET, tutorial, Creating, a, data, access, layer, It, worked, prefectly, well, in, asp.net, and, vb.net, 2005, Now, i, want, to, do, the, same, with,时间:2008-8-1 0:09:09 | 相关网摘我也收藏

.net .NET技术>C# .net应用 ajax ASP asp.net Book C# C++ Collect CSDN CSS C语言问题 Delphi DNS download facebook Flash format ftp google Hibernate idea J2ee java Javascript JAVA基础 JS jsp Leo Linux memcached MYSQL Oracle PHP Python Server SOCKET Spring SQL SQLSERVER Struts tcp/ip to Tomcat T-SQL VC Web WebDesign WEB开发 Windows seen this ASP.NET tutorial Creating a data access layer It worked prefectly well in asp.net and vb.net 2005 Now, i want to do the same with
VB 2005 Express Edition, but connected to an Oracle Database Help creating a Dialog Application


Is there anything in .NET v1.1 for reading/writing my own INI files? - DotNet

dbforum147收录,使用标签:.net, .NET技术>C#, .net应用, ajax, ASP, asp.net, Book, C#, C++, Collect, CSDN, CSS, C语言问题, Delphi, DNS, download, facebook, Flash, format, ftp, google, Hibernate, idea, J2ee, java, Javascript, JAVA基础, JS, jsp, Leo, Linux, memcached, MYSQL, Oracle, PHP, Python, Server, SOCKET, Spring, SQL, SQLSERVER, Struts, tcp/ip, to, Tomcat, T-SQL, VC, Web, WebDesign, WEB开发, Windows, seen, this, ASP.NET, tutorial, Creating, a, data, access, layer, It, worked, prefectly, well, in, asp.net, and, vb.net, 2005, Now, i, want, to, do, the, same, with,时间:2008-8-1 0:08:47 | 相关网摘我也收藏

use my own application INI files that do NOT reside in the registry.

GetPrivateProfileString("Options"..."MyFile.INI")
WritePrivateProfileString ("Options"..."MyFile.INI")

I'm trying to remained "managed" and was looking at
Microsoft.Win32.Registry, but that isn't flexible enough to deal with user
defined INI files. Is there any other managed option?


Help creating a Dialog Application - DotNet

dbforum147收录,使用标签:.net, .NET技术>C#, .net应用, ajax, ASP, asp.net, Book, C#, C++, Collect, CSDN, CSS, C语言问题, Delphi, DNS, download, facebook, Flash, format, ftp, google, Hibernate, idea, J2ee, java, Javascript, JAVA基础, JS, jsp, Leo, Linux, memcached, MYSQL, Oracle, PHP, Python, Server, SOCKET, Spring, SQL, SQLSERVER, Struts, tcp/ip, to, Tomcat, T-SQL, VC, Web, WebDesign, WEB开发, Windows, seen, this, ASP.NET, tutorial, Creating, a, data, access, layer, It, worked, prefectly, well, in, asp.net, and, vb.net, 2005, Now, i, want, to, do, the, same, with,时间:2008-8-1 0:00:38 | 相关网摘我也收藏

I just start learning Visual Studio 2002. I use C++ and I want to create a
dialog application.
For this I select File->New Project->Win32 Project and in the Application
Settings I chose Windows application.
Now, when I run the solution, I get a form with a menu and a dialog form.
All I want to get is a simple dialog form. How can I do this?

Regards,
Nicolae


best way to display categories on a .aspx page - DotNet

dbforum147收录,使用标签:.net, .NET技术>C#, .net应用, ajax, ASP, asp.net, Book, C#, C++, Collect, CSDN, CSS, C语言问题, Delphi, DNS, download, facebook, Flash, format, ftp, google, Hibernate, idea, J2ee, java, Javascript, JAVA基础, JS, jsp, Leo, Linux, memcached, MYSQL, Oracle, PHP, Python, Server, SOCKET, Spring, SQL, SQLSERVER, Struts, tcp/ip, to, Tomcat, T-SQL, VC, Web, WebDesign, WEB开发, Windows, seen, this, ASP.NET, tutorial, Creating, a, data, access, layer, It, worked, prefectly, well, in, asp.net, and, vb.net, 2005, Now, i, want, to, do, the, same, with,时间:2008-8-1 0:00:06 | 相关网摘我也收藏

I need to display a list of categories on the left side of a page, and
I am confused how I would do this using a List Control (as appose to
weaving my own HTML on the server side).

My HTML should look like:



Category

Sub Category 1
Sub Category 2


Category2

Sub Category 1



In asynchronous model, IAsyncResult.AsyncWaitHandle signaled first, or AsyncCallback invoked first? - DotNet

dbforum147收录,使用标签:.net, .NET技术>C#, .net应用, ajax, ASP, asp.net, Book, C#, C++, Collect, CSDN, CSS, C语言问题, Delphi, DNS, download, facebook, Flash, format, ftp, google, Hibernate, idea, J2ee, java, Javascript, JAVA基础, JS, jsp, Leo, Linux, memcached, MYSQL, Oracle, PHP, Python, Server, SOCKET, Spring, SQL, SQLSERVER, Struts, tcp/ip, to, Tomcat, T-SQL, VC, Web, WebDesign, WEB开发, Windows, seen, this, ASP.NET, tutorial, Creating, a, data, access, layer, It, worked, prefectly, well, in, asp.net, and, vb.net, 2005, Now, i, want, to, do, the, same, with,时间:2008-7-31 23:59:00 | 相关网摘我也收藏

In asynchronous model, BeginXXX method returns a IAsnycResult-derived
object. IAsyncResult.AsyncWaitHandle will be signaled when the
asynchronous job is complete; and BeginXXX method has a argument as
AsyncCallback to be invoked when the job is complete.

I am wondering. When the asynchronous is complete, is
IAsyncResult.AsyncWaitHandle be signaled first, or AsyncCallback be
invoked first?
-


Passing complex data structure to non-COM DLL function. - DotNet

dbforum147收录,使用标签:.net, .NET技术>C#, .net应用, ajax, ASP, asp.net, Book, C#, C++, Collect, CSDN, CSS, C语言问题, Delphi, DNS, download, facebook, Flash, format, ftp, google, Hibernate, idea, J2ee, java, Javascript, JAVA基础, JS, jsp, Leo, Linux, memcached, MYSQL, Oracle, PHP, Python, Server, SOCKET, Spring, SQL, SQLSERVER, Struts, tcp/ip, to, Tomcat, T-SQL, VC, Web, WebDesign, WEB开发, Windows, seen, this, ASP.NET, tutorial, Creating, a, data, access, layer, It, worked, prefectly, well, in, asp.net, and, vb.net, 2005, Now, i, want, to, do, the, same, with,时间:2008-7-31 23:58:40 | 相关网摘我也收藏

I am having trouble getting a complex data type to get passed to a non-COM
dll's function by ref and return back data from that object. Simple data
types work fine but when I try the complex data types, with the class it
simply initializes but returns nothing. The struct I have tried several
different ways all of them either erros or the app simply closes out
(usually when I try to pass the struct with the ref keyword). Any help would
be appreciated.


Handling of a ConstraintException - DotNet

dbforum147收录,使用标签:.net, .NET技术>C#, .net应用, ajax, ASP, asp.net, Book, C#, C++, Collect, CSDN, CSS, C语言问题, Delphi, DNS, download, facebook, Flash, format, ftp, google, Hibernate, idea, J2ee, java, Javascript, JAVA基础, JS, jsp, Leo, Linux, memcached, MYSQL, Oracle, PHP, Python, Server, SOCKET, Spring, SQL, SQLSERVER, Struts, tcp/ip, to, Tomcat, T-SQL, VC, Web, WebDesign, WEB开发, Windows, seen, this, ASP.NET, tutorial, Creating, a, data, access, layer, It, worked, prefectly, well, in, asp.net, and, vb.net, 2005, Now, i, want, to, do, the, same, with,时间:2008-7-31 23:58:20 | 相关网摘我也收藏

Hi.

I got so much help out of the dotnet Groups, so I thought I'd share a little
wisdom I found out.
Forgive me if the solution I present is already well known (honestly, it is
stupid simple) - But I found only questions like mine asked in the header,
and no answers.


Brief description of the problem:
You load your tables using a dataadapter into your dataset. Tables are
master/child, the dataset enforces the relation.
Somehow, one of the masters got deleted - and the children are stranded.
When enforcing the constraint, you get the exception.

You want to find out, which child rows cause the trouble. The exception does
not deliver this data in one of it's properties.


Brief description of my solution:
The data has been loaded fine already, so you can do the following (in the
catch ex as ConstraintException-block):

For each dr as DataRow in ChildTable
if dr.GetParent is Nothing then dr.delete
Next
DataAdapter.Update(ChildTable)
Dataset.EnforceConstraint = True

Now the rows causing the trouble are gone, and the changes are put back to
the database. In my solution, deleting the rows was the best idea - you
might need to do something else, but once you know the rows, you can handle
them as you like!
After Enforcing the constraint yourself, your Dataset is ready to go, as if
nothing ever happened to it!

Bye, Ralf
-


persisting viewstate for disabled webcontrols - DotNet

dbforum147收录,使用标签:.net, .NET技术>C#, .net应用, ajax, ASP, asp.net, Book, C#, C++, Collect, CSDN, CSS, C语言问题, Delphi, DNS, download, facebook, Flash, format, ftp, google, Hibernate, idea, J2ee, java, Javascript, JAVA基础, JS, jsp, Leo, Linux, memcached, MYSQL, Oracle, PHP, Python, Server, SOCKET, Spring, SQL, SQLSERVER, Struts, tcp/ip, to, Tomcat, T-SQL, VC, Web, WebDesign, WEB开发, Windows, seen, this, ASP.NET, tutorial, Creating, a, data, access, layer, It, worked, prefectly, well, in, asp.net, and, vb.net, 2005, Now, i, want, to, do, the, same, with,时间:2008-7-31 23:58:00 | 相关网摘我也收藏

I'm having trouble persisting viewstate information for webcontrols I've
disabled via javascript. I have a group of textboxes that I enable/disable
via a checkbox control that invokes a javascript method in its onclick
attribute. When the page does a postsback, the textboxes that are enabled
have their viewstate persisted; however, the ones that are disabled (but
still have text in them) do not have their viewstate persisted. I have
perused Scott Mitchell's articles about viewstate in asp .net pages, and
according to him, controls that are disabled should have a persistant
viewstate (as long as they're not in a disabled div tag). Long story short,
I've tried many things to get this to work including trying to use the
readonly property instead of enabled/disabled, but I can't get it to work
with javascript. I'm trying to minimize the number of postbacks this webapp
will make, so using javascript is essential.


Resource Cost Changes - DotNet

dbforum147收录,使用标签:.net, .NET技术>C#, .net应用, ajax, ASP, asp.net, Book, C#, C++, Collect, CSDN, CSS, C语言问题, Delphi, DNS, download, facebook, Flash, format, ftp, google, Hibernate, idea, J2ee, java, Javascript, JAVA基础, JS, jsp, Leo, Linux, memcached, MYSQL, Oracle, PHP, Python, Server, SOCKET, Spring, SQL, SQLSERVER, Struts, tcp/ip, to, Tomcat, T-SQL, VC, Web, WebDesign, WEB开发, Windows, seen, this, ASP.NET, tutorial, Creating, a, data, access, layer, It, worked, prefectly, well, in, asp.net, and, vb.net, 2005, Now, i, want, to, do, the, same, with,时间:2008-7-31 23:57:39 | 相关网摘我也收藏

there a quick way to modify resource cost rates in an enterprise
environment so that different rates can be set for different groups of
resources?

The only way I now is to open each resource's cost table and manually
entering them. this process can be very tedious and subject to errors that
may be difficult to track.

Also, is there a way to do the same for the other cost tables (i.e., B, C,
D, or E)?

A second question around the same topic is can we use cost rates different
than those in the enterprise environment for specific projects?

--


Special Day in a project - DotNet

dbforum147收录,使用标签:.net, .NET技术>C#, .net应用, ajax, ASP, asp.net, Book, C#, C++, Collect, CSDN, CSS, C语言问题, Delphi, DNS, download, facebook, Flash, format, ftp, google, Hibernate, idea, J2ee, java, Javascript, JAVA基础, JS, jsp, Leo, Linux, memcached, MYSQL, Oracle, PHP, Python, Server, SOCKET, Spring, SQL, SQLSERVER, Struts, tcp/ip, to, Tomcat, T-SQL, VC, Web, WebDesign, WEB开发, Windows, seen, this, ASP.NET, tutorial, Creating, a, data, access, layer, It, worked, prefectly, well, in, asp.net, and, vb.net, 2005, Now, i, want, to, do, the, same, with,时间:2008-7-31 23:57:20 | 相关网摘我也收藏

have the following situation: The preparation of a project leads up
to ONE special day, where a bunch of resources need to be at a special
place and need to stay for a certain amount of time. (Think of it as a
large meeting where resources are used and everybody works like crazy)

Splitting up the preparation has been easy. But the actual day cannot
be planned in terms of work hours or assignments. I would like to add
all the personnel involved and the material used for the calculation of
the cost for that particular day (or event)

Is there an easy way to do this?

thanks for any help