Jump to content
Xtreme .Net Talk

jccorner

Avatar/Signature
  • Posts

    146
  • Joined

  • Last visited

Everything posted by jccorner

  1. eramgarden, thanks, but that doesn't help me. Also, I have fixed the first issue with the textboxes and labels, how can I set the columns of the datagrid.
  2. darker, I did find that webpage when I googled my problem, but what I'm trying to accomplish is to be able to take in information. I want to be able to list twenty-five textboxes and have a user enter the information and then have the information written into the db. I might be overanalyzing this technique, but if I have the repeater "repeat" one textbox twenty-five times will it automatically name each textbox, textbox1, textbox2, textbox3 ...?? This is still a problem, because I have three columns on the page and will need to know the names of all seventy-five textboxes for coding reasons. I must think someone else has run into this issue of someone filling out rows and rows of the same information on one form and having to spin through the data to enter into a db. Thank you for your help.
  3. Morning, I'm currently working on a web app that utilizes the datagrid data component. So, first I created a table, inserted a few textboxes, labels and one datagrid. I then edited the columns for the datagrid using the propoerties manager. Lastly, I added the following code to bind the data to the datagrid: Private Sub Page_Load connstr = ConfigurationSettings.AppSettings("DBBASE") myConn = New OleDbConnection(connstr) ODA = New OleDbDataAdapter("Select * From LifeTable", myConn) ODA.Fill(ds, "Life Offer") dgQuote.Datasource = ds dgQuote.DataBind() End Sub As you can see dgQuote is my datagrid but I wish to know two things: 1. When the page loads, the datagrid displays but the textboxes and labels are not visible (yes, I've checked their properties). But when I take the dgQuote.DataBind() statement out, the textboxes and labels appear but the datagrid does not appear (I would think because it has no data in it). My first question is why is this happening?? Is there a setting I'm missing?? 2. When the statement dgQuote.DataBind() is left in, the datagrid appears filled with data but the datagrid contains columns for every field in the database table. How can I edit which columns to show and which ones not to, I know in my windows apps I could use the DataGridTableStyle but apparently, it is not available in the web app. Appreciate any help anyone can provide.
  4. Here's the deal: I have a webform with twenty five lines each looking like: Age: <textfield> Gender: <combobox> Status: <textfield> My question is this, can I use a repeater to dynamically reference each text field or combobox ie. <asp:textbox id="Age<%# num %>" runat="server"></asp:textbox> That way it could save me a lot of cutting and pasting and from making various changes. The next question is can I build a link for each row dynamically?? If so, would you have any examples?? Thank you.
  5. But what if I have other textboxes on the screen that I don't want to touch.
  6. I have twenty-five textboxes on an ASP.net web app. Would anyone be familiar about how I would go about making them all invisible with a simple do loop?? For example, if the names were txtField1, txtField2, txtField3... count = 0 i = 1 dowhile count < 25 txtField & "i".visible = True i = i + 1 count = count + 1 enddo Greatly appreciate any assistance.
  7. Here's my problem, I have over three hundred little images tied to a web app. This is quite cumbersome and very slow coding wise. What I would like to do is to just have the image appear according to numbers in a database. I've been researching, and have finally gotten the images to dynamically appear. My problem is now when I perform the page.control.add() statement, the images end up at the very end of the web page. If I want to specify a specific cell of a table where the images are to be displayed, how do I tell the code where to put it?? In other words, is it possible to add the control anywhere on the web page?? I would think so, but have been unable to find out how. Thanks in advance.
  8. What does the name have to do with it?? I'm trying to accomplish this is VB and I have checked for any parameter prompting by the crystal report viewer and don't see such an option. I don't know of any options in the report itself but if anyone does, please let me know so I can set it accordingly.
  9. Does anyone know how to stop a crystal report from prompting for a parameter that I'm already sending to the report??
  10. Has anyone here passed a parameter to crystal reports successfully??
  11. Mocella, You da man. Very, very appreciative, I thought it was a problem in the code, not on each control. Thanks a bunch.
  12. My problem is I created a webform and everytime I tab over to another field, the page refreshes and I lose focus of that field. How can I prevent the page from refreshing??
  13. Are you serious?? No one else had this problem??
  14. Sorry, tried to perform a search but no matches found. So here I am. Problem is I am trying to pass a parameter to the crystal report from a vb.net form. I have set up the code to add a parameterfield to the parameterfieldinfo method of the report. But before the report pops up I get a prompt for the parameter. I've tried Google and Vivisimo and neither had anything I could use, but I know someone out there has had the same problem in the past and knows the solution, I'm just hoping they are a member of this forum as well. I appreciate any help.
  15. ** Suggestion, I saw a lot of questions referring to CR when doing a search, why isn't there a forum for it?? Maybe a suggestion. Anyways, here's my problem, I created three CRs and they run fine, I can get them to show the right data and everything, but when I ran it I noticed something I wanted to change, but when I return to the report, I am unable to make any editable changes to any of the fields. If I drag a field somewhere else on the report it goes right back to its original place. Anyone have an answer why?? I did check to see if the report was marked as read-only and it is not.
  16. That's a no. The compiler would not let me declare frmFirst as frmTheFirst because it is declared as a Friend.
  17. I searched for an answer to this question and found an exact duplicate but the link the replier posted was dead so here I am. Anyway, here's my problem, I have my main form and upon a button click, another form pops up. Now what I want is when I input info into the textbox found on the second form, upon closing the second form, I want the info to show up in an input box in the main form. I have seen where people are using classes but I'm used to VB6 where you can just reference the textfield on the main form and update the info that way. I'm looking to see if there's a different way. If someone could help me I'd greatly appreciate it.
  18. You da man NK2000, thanks.
  19. Every time I do a search this forum comes up so I guess people know what they are talking about here... Well, I had a graphic designer create an image for a splash screen. Now the problem is I can't seem to figure out how to display the image upon application loadup. The image is in jpg form and I looked at the samples and tried to mimic the graphic and image classes but to no avail. I'm trying to attempt this in VB.net so if anyone could help, I'd greatly appreciate it. Again. I'm looking to see how to display an image at the start of the program as in a splash screen.
×
×
  • Create New...