Jump to content
Xtreme .Net Talk

Twister

Members
  • Posts

    6
  • Joined

  • Last visited

Twister's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Yes, there is a reason. I use this class in many pages and with this method, i need to add code to each page. Now I want to change something in the SetLabelTextFromClass Sub and I have to do this in all pages... I hoped there would be an easy solution doing this only in the class....
  2. Hello cyclonebri, thanks for your answer. I thought about a solution like this, but was not able to do it alone, but is there also a possibility to do this without the need to add code to default.aspx? I recently found out, that I can access the session, request, response...etc. object by using httpcontext.current.session in a class. I'm looking for something similiar, like currentpage.findcontrol('Label1').Text = "abc" ?! Thanks, Twister
  3. Hello, I've got a little Prob.: Default.aspx - includes a Label (let's say Label1) CustomClass.vb Now i do Dim CC as new CustomClass CC.test() In CustomClass, in Function test I want access to the Label which is in Default.aspx. How can I do this? I do not want to do something like CC.test(Label1).. Any ideas? Thanks in advance! :)
  4. Hello, I'm working with VB.net 2005 and I'm using Datagridview. What I would like to do is to add a complete column (not only the header!). I know its possible to do the following: Dim row0 As String() = {"6/30/1992", "3", "Dress", "P J Harvey", "Dry"} With Me.dataGridView1.Rows .Add(row0) End With (Found this in Documentation) But can I do this with Colums too? Sorry if this is a stupid question... Thanks in Advance, Twister
  5. Mhmm... I thought it would save some time if i could get the information w/o connecting to mysql. another thing i'm doing is something like a ranking list: 2 - Max 4 - Peter 5 - Susann 1 - Thorsten And then i would like to sort this, but at the same time i would like to store informations to each of the persons. And I thought some sort of a class would be helpful in this case. Thanks in advances, Twister
  6. Hello, i've got a little Problem. I would like to get some Information from a MySQL Database and store these information in a class/function so i have quick access. The information i would like to store are customer information and i would like to get information by using "customers("nameofcustomer").phone" (to get the phone number) or "customers("name").delete" for deleting a customer. Is this possible to do? I don't want to store thousands of customers but using mysql is too slow. Any other Solution would be great too :). Thanks in advance, Twister
×
×
  • Create New...