Topics
-
- 0 replies
- 1.1k views
how can i select some record from dataset and print in on crystal report, i know the concept of {Student.StdCode} in "ST01" to "ST06" in crystal report. but i woule like apply this concept by writing it in vb.net format. so that its able fix by the range enter by user in textbox1 and textbox2. can anyone show me some sample code?? thank
Last reply by bshaen, -
-
- *Experts*
- 2 replies
- 1.4k views
Hi, I just started learning C# and Managed directx 9. Im trying to Set up my project to have a Parent form, and have directx render the child forms. I have a poor attempt at doing this attached below, but it just crashes and throws an exception. I am using .Net 2003 Can someone please explain where I went wrong? Thanks PROJ.zip
Last reply by Mikey0727, -
-
-
- Administrators
- 2 replies
- 1.2k views
Now here is my plan. If I have made an succesful query returning me a dataset, or whatever we call (cross nationality). I want to pack each of a table row data in an object representing the logical definition of the data table. For example a query collecting data from a 'person' table with all person attributes as FirstName, LastName, Address, Sex, Email etc. I want to pack each of the person in an Person object, which I want to 'store' in an array which I want to return as the last thing. Now in my presentation layer I want to 'unpack' this array and present the data. Does anyone have a example of that. I have tried coding a cart example which does not …
Last reply by fasil, -
-
- 0 replies
- 957 views
Hi there I still consider myself a newb, eventhough I have been programming asp for some years. But I still think that I can be much better :) I have been working hard to split my code in layers. #Presentation# #business/logic# #Database# But I still think that my programming style can be a lot better. I dont read or buy so many books, bcuz most of the information is available on the Internet. Therefor there will be some deep questions from me and I am suer that there will be alot of stupid questions too. I hope that I also can use this forum to get my programming evaluated and perspectivated. :) A lot of respect to everybody in here from me. I…
Last reply by fasil, -
- 2 replies
- 2k views
I am creating a web application in ASP.net , which is basically an information gathering application containing many datentry webforms. My problem is the design of the pages :( I just cannot seem to make them attractive enough. Are there any resources where i can find ASP.net web templates that I can use (or atleast try to copy). Thanks
Last reply by Rattlesnake, -
- 3 replies
- 10.3k views
Hello, I need to select distinct rows from a dataset.. I have seen this posting: http://www.xtremedotnettalk.com/showthread.php?t=74539&highlight=distinct+dataview http://support.microsoft.com/default.aspx?scid=kb;EN-US;325684 and Public Function SelectDistinct(ByVal TableName As String, _ ByVal SourceTable As DataTable, _ ByVal FieldName As String) As DataTable Dim dt As New DataTable(TableName) dt.Columns.Add(FieldName, SourceTable.Columns(FieldName).DataType) Dim dr As DataRow, LastValue As Object For Each dr In SourceTable.Select("", FieldName) If LastValue Is Nothing Or…
Last reply by trend, -
- 3 replies
- 1.7k views
I am familiarizing myself with a bunch of different RFCs, and at the moment have a decent DHCP server programmed... One of the things a good server does is send ARP broadcasts to potential addresses to make sure that no other machine uses them. Long story short, VB.NET doesn't naitively support ARP and at the moment I'd rather not use the iphelper API. I've seen you can specify RAW for both the protocol type and the socket type, however, I've never been able to get it to send (or recieve) raw packets (meaning I want the entire header, etc. which is 'under' the IP layer, and thus, apparently inaccessible to .NET's sockets) Is there any way at all to recieve (or sen…
Last reply by Mister E, -
- 4 replies
- 3.7k views
I am learning how to search through a dataset (using find with tables).. and i keep getting an error saying that I do not have a primary key setup on the table i am searching with... Do you'll have any ideas? Here is my screenshot: http://webpages.charter.net/trend/error.GIF thanks! Lee
Last reply by eramgarden, -
- 1 reply
- 1.6k views
--Using [VS C#.NET]-- Given a ComboBox [cb] that is populated by a dataset [ds from an SQL query] using the .DataSource method. cbJob.DataSource = ds.Tables[0]; cbJob.DisplayMember = "ID"; Want I need to do later on is get the ID (integer) value selected by the Combobox. However everytime I try I keep getting back a DataRowView (if I do cb.SelectedItem). Correct me if I am wrong but I assume the solution is to cast the .SelectedItem as a DataRow (or something) and then access the [iD] field? I have tried a few times and can't seem to get it to work, any ideas/help? Thanks
Last reply by barski, -
-
- *Experts*
- 2 replies
- 2.2k views
--Using [VS C#.NET]-- This is really odd, I have a Method that is made to Refresh my GUI (clear my Combobox, re-populated them, and set the indexes back to -1). How I have noticed that after using the combobox.Items.Clear() my .SelectedIndex = -1 doesn't work. Given a Combobox [cb] cb.Items.Clear(); foreach (DataRow dr in ds.Tables[0].Rows) { cb.Items.Add(diInfo); } cb.SelectedIndex = -1; The 1st time my code runs it is perfect, however whenever I refresh (run this section again) the .Clear and .Add work (I have tested that it refreshes) however the cb.SelectedIndex = -1 does not work anymore, the last select item is still in he combobox. Any cl…
Last reply by HJB417, -
-
- 0 replies
- 1.5k views
Hi How to create a .exe file for easy deployment of .dll file. This wd include creation of a file for storing the .dll and then, registering the dll. Also, if possible, may add an entry to start->All Programs. I am using .net 2003 for creation of dll.
Last reply by tuxmann, -
- 1 reply
- 1.4k views
hi all i have a dataTable Called products and i have array of rows called my products i want to add those rows to the datatable but evrey time i do this i get error can anybody help
Last reply by cheewacheewa, -
- 2 replies
- 969 views
Hi All, I am building an e-commerce site on a remote server, which is going quite well. I have about 4 pages of this site that require a more secure connection as this is where credit card details will be given out etc. My webspace company provides SSL as part of the package, which I have just registered and I am awaiting for the permisions to be sorted at their end. In the meantime I was wondering what the heck I need to do to implement this. For example here is a snippet of code I have seen in a book that I am using as a guide: Response.Redirect("https://" & Request.Url.Host & Request.ApplicationPath & "/checkout.aspx") Currently the browser dies…
Last reply by davearia, -
- 8 replies
- 1.2k views
I am wondering what you'll think the best option for this scenaro: I have some software that needs access to the internet to send error reports and some other random stuff. This software accesses a db (right now an access db) to get pricing info and availability (availability is updated upon item purchased) and the db does some other random stuff. I really want this software to be able to use the internet connection to access an xml file on a websierver.. or an mysql server or ms sql server.. but my only problem is I am scared the internet might go down.. and if this happens, and no one can pull up pricing info and availability and there will be some pisses off p…
Last reply by michael_hk, -
- 7 replies
- 1.3k views
I'm having a very hard time getting j2sdk1.4.2 to work. I can write the code for a simple program in Notepad okay and save the file to my folder okay, but when I open up a command window and type the command to invoke the compiler, nope. No way. Does not work. And I've tried typing many different things and changing the path variable but all fails. Actually even though I pretty much a beginner to Java(I have done some console programming with C++) I would prefer to use a tool that will allow me to write my code in the code window, and secondly allow me to compile and run the program from within the IDE. Now my question is will J# allow me to do those two things? And c…
Last reply by 357mag, -
- 7 replies
- 1.1k views
I'm doing a game and there are many variables that need to be shared across many classes (and in some cases across libraries). I do not want to just declare things as global and I don't want to deal with a nightmare of passing an object around as an argument every time something needs to get done. I just fear two different classes updating the object at near the same time and it just hurts my head. How about a shared Class? Or whats it called where you don't even have to instantiate it? Just have a class that everyone can access. I'm not quite up to this step, but I'm going to have to seriously plan for it soon. Any advice?
Last reply by Denaes, -
- 0 replies
- 1.5k views
I have a column of id's, I want to select an id and highlight that column, what code would I use for this (I never use VBA).
Last reply by Diesel, -
-
- Moderators
- 1 reply
- 1.2k views
Looking for a Load system app. for my new Bisness. with source code.
Last reply by Robby, -
-
- 4 replies
- 1.1k views
hi all, i get a list of products and bind it to a datalist and there's a Compare button on the header template and there's a checkbox in every row when the user press compare i want to get the product id which is selected by user i don't have problem in wirting the code in the itemCommand the problem here i don't know how to get the product id this is my code If e.CommandName = "Compare" Then Dim str As String For Each anitem In DataList2.Items isChecked = CType(anitem.FindControl("chk"), CheckBox).Checked If isChecked = True Then i don't know what to write here End If …
Last reply by Tamer_Ahmed, -
- 1 reply
- 853 views
Hello, I am using ASP .Net and VB.NET in one web form. I am testitng it with IE 6 and Netscape 7.1 on Suse Linux 9.1, and I have a problem. The buttons (also textboxes, comboboxes), that are desighned with same length in Visual Studio .NET are displayed with different lengths in Netscape 7.1. In IE everything is OK. The targetschema property of the form displayed does not make any change. How can this problem be solved? Thanks, Alex
Last reply by kahlua001,
-
Who's Online 0 Members, 0 Anonymous, 77 Guests (See full list)
- There are no registered users currently online