Topics
-
- 2 replies
- 3.3k views
How to disable fiew items and enable fiew items based on a fireld value in Listview?
Last reply by AlexCode, -
- 1 reply
- 2k views
Hi, I know that you can call one stored procedure from another by using the command exec "procedure" My question is, how do I pass the parameters to the second procedure if any are needed? Am assuming that if the stored procedure returns a single value then I can declare a variable and set the valariable equals to the procedure Declare @x as int set @x = exec "procedure" Mike55. Mike55.
Last reply by stustarz, -
- 5 replies
- 1.2k views
As a novice programmer, I�ve been getting by O.K. with creating my databases directly in Access and then accessing them with code using .net. Creating a database entirely thru code is another matter. Either I�m too thick or there isn�t any good documentation out there. Does anyone know of any online tutorials that will help me?
Last reply by APaule, -
-
- Administrators
- 1 reply
- 766 views
hello i have two dropdownlists, the first dropdownlist contains all the projects and the second contains the stages for the selected project if i make the following: cache.insert("CacheProjects",datareaderProjects) CacheInsert("CacheAllProjectstages",datareaderAllProjectStages) so the first cache contains all the projects and the second contains all the stages for all the projects ,so how can i load the stages for the selected project in the stages dropdownlist from the CacheAllProjectstages (so i give the CacheAllProjectstages the projectid and it will return the stages for this projectid) so i need a solution thank you for the help and for the time
Last reply by PlausiblyDamp, -
-
- 1 reply
- 1.2k views
hey I am having major trouble figuring out how to fill text boxes with data from tables in an access database..can someone show me how to do it using OleDb Connections ?
Last reply by stustarz, -
- 2 replies
- 951 views
I need help to configure the Datagrid control to: Select the entire row when clicked (not just a cell). Set individual column widths. Make data displayed read only. I've been searching google for a few hours, and couldn't find anything, please help if you can.
Last reply by Kid_Icarus, -
-
- Moderators
- 1 reply
- 761 views
Imagine you have a database with a table in it. Imagine that you wish to represent this table in your code as a class. What is the most efficient (maintenance-wise) way of representing your database table? Currently, I'm trying to decide. I can either go for something like: Public Class MyClass Protected mID as Long Protected mSomeField as String Protected mSomeOtherField as Long .. repeat private member for each database field #Region "Properties" Public Property ID() as Long Get return mID End Get Set (Byval Value as Long) mID = Value End Set End Property (... repeat property for each private member) #End Region P…
Last reply by Robby, -
-
-
- Moderators
- Administrators
- 5 replies
- 2.1k views
hi all i am newbies in asp .net i am trying to connect sql server 2k database and got this error message Non-NULL controlling IUnknown was specified, and either the requested interface was not IUnknown, or the provider does not support COM aggregation. please advice. thanks in advance
Last reply by Robby, -
-
-
- Administrators
- 3 replies
- 1.6k views
I am haveing problems find the right method to read an xml file. I xml file is being send to me as a string and I need to read through it a assign all it attribute to strings that I can use. I have tried using xmlreader along with many other xml class and am having no success. If anyone has any advice it would be greatly appriciated. Thanks
Last reply by pelican, -
-
- 3 replies
- 967 views
How do you tell which language an executable (or dll) was written in. I know that in .Net, you can use a reflector and check that way, but what about C++, Java, etc. Can you also tell what compiler compiled the file?
Last reply by IngisKahn, -
- 1 reply
- 766 views
I have a small asp.net app that loads a login page with two textboxes for username and password and a login button. Each textbox has a RequiredFieldvalidator and I use the Page.IsValid for the OnClick event of the Login button. I also have two hyperlinks on the page so that users can go back to non-login pages. My problem is that the RequiredFieldvalidator events fire when either hyperlink is clicked and keep the hyperlinks from allowing users to navigate off of the page. <script language="VB" runat="server"> 'Code for the login button Sub Login_Click(Src As Object, E As EventArgs) If Page.IsValid Then Dim strUN as string = txtUN.text …
Last reply by lorena, -
-
- Leaders
- 5 replies
- 1.8k views
I am making an app that uses a listview. I add ListViewItems to the ListView.Items collection using ListView.Items.Add. Every time I add an item, an exception is thrown and handled within System.Windows.Forms.dll. This is not breaking my application, however it causes a pause when the first exception is thrown. Is this normal behavior? Or some sort of bug? I am not changing any properties after I instantiate the listview items, so I'm nearly positive that I'm not doing anything wrong. I'm sure that Microsoft does not condone using exceptions as a form of program flow control, however this happens every time I add an item not only causing the pause, but making it nearly…
Last reply by snarfblam, -
-
- 2 replies
- 1.4k views
Greetings, I have a combo box that is loaded via the properties definition. (Items / Collection) What I have been tasked to do is allow the user to add a new value if the value is not found in the list presented. Is there a way to do this ? Or Do I need to load this combo box from a table? I would prefer to load from the Properties/Item/Collection however I can modify the data source if there is not another way. Before you wonder.. I did do a search through the forums for a solution and found quite a few for loading from a table or file but none using the Properties/Item/Collection. Thanks
Last reply by azcegarman, -
- 3 replies
- 821 views
Hello, I'm using this code to put a bitmap up the site, I want to center this bitmap, but the code prerequisites prevent me from doing so. If I don't put the response.clear in the Paint method, then the picture shows up as a bunch of gibber. Any tips on this? BTW: How could I make this script that the circle is placed where the mouse clicks? [CS] private void Page_Load(object sender, System.EventArgs e) { // Put user code to initialize the page here Response.Write(Request.QueryString.Get("Username")); Response.Write("<br><br><center>"); Paint(); Response.Write("Midden</center>End"); } private void Paint() {…
Last reply by Himo, -
- 0 replies
- 802 views
Using reflection you can get the declaring type, using the Activator object you can create an instance of that type, but how can you get the instance of the object that declared a class from within the class? Is it possible?
Last reply by bri189a, -
- 1 reply
- 1.1k views
I'm trying to put values in the a chart legend in excel. I refer to a few websites & found out the method below but it seems like "Value" is not a member of LegendEntries. MSDN only provide samples of chrt.Legend.LegendEntries(i).Font.blah... which clearly are not helpful at all. For i = 1 To chrt.Legend.LegendEntries.Count() chrt.Legend.LegendEntries(i).Value = xws.Range("B" & i + 3).Value Next Please advise. Thank you.
Last reply by herilane, -
- 1 reply
- 1.3k views
I'm trying out the code below: Dim waXml As New Word.Application Dim wdXml As New Word.Document Try wdXml = waXml.Documents.Open(strDocPath) Dim tblXml As Word.Table Dim rowXml As Word.Row Dim cllXml As Word.Cell Dim prXml As Word.Paragraph tblXml = wdXml.Tables.Item(1) For Each cllXml In tblXml.Range.Cells For Each prXml In cllXml.Range.Paragraphs Console.WriteLine(prXml.Range.Text.ToString) Next Next tblXml = wdXml.Tables.Item(2) For Each cllXml In tblXml.Range.Cells For Each …
Last reply by herilane, -
-
- Moderators
- 9 replies
- 1.2k views
Hi, Am selecting a list of groups from my database into a dataset, this dataset is then binded to a dropdown list. What I need to do is to add to the top of the dropdown list a value "Master", any suggestions. I have no problem adding the value to the bottom of the dropdown list. Can anyone make a suggestion. Mike55
Last reply by APaule, -
-
- 2 replies
- 921 views
Hi I have an XM in this format: <?xml version="1.0" encoding="utf-8" ?> <Page> <mj>Value1</mj> <uv>Value2</uv> <pa>Value3</pa> </Page> How can I edit this values? tx in advance. Matej
Last reply by mcerk, -
- 0 replies
- 1.1k views
Hi All I guess this query is network related... I'm stuck for ideas on how to find out if a user (or machine) is a member of a domain group. I've seen code to determine roles, but this is not what I want. Any help appreciated.
Last reply by BaldrickThe4th,
-
Who's Online 0 Members, 0 Anonymous, 125 Guests (See full list)
- There are no registered users currently online