jamello 158 Posting Whiz in Training

Thanks for your reply john,

What I have in mind is that I want the dates loaded up from current date (todays date) up to a year in a drop down list box.

DateTimePicker1.MinDate = System.DateTime.Today()
'put the above line on load of the form

jamello 158 Posting Whiz in Training

Sorry, Your question is not very clear. Try and simplify it for ease of understanding.

Hi! I have some project to send my boss tomorrow, but I can't solve it by myself. I try to solve it for a long time. but I still can't.

I have a gridview to retrieve some data from database to show user. what job that they don't complete it. and i use a select link to selected on it. but when you choose it. I don't know how to use or how to get data from gridview to system know what are they seleced on it.

I want you help!
thanks.

jamello 158 Posting Whiz in Training

Dave, You did it for me. :cool: Thanks

You're going to have to source the list from somewhere, ideally this would be a web service, but I haven't managed to find one yet :(

edit - drat, beaten to it!

edit again - found this one

http://www.webservicex.net/WS/WSDetails.aspx?WSID=17&CATID=7

jamello 158 Posting Whiz in Training

Yes, I agree, but the challenge is actually knowing and/or remembering all the countries resident on planet earth;) . I had seen the list so many times and they are all identical - if you know what i mean - that I thought maybe there is one central point where everybody goes to get the same list. Thanks for the insight though:cool:

Personnaly I would setup a database of all the countries, than load all the countries out of the database and put them into the dropdown box. Would make the code look neater, as well if you use it on several pages the list of countires would be centralized, than you would not have change several codes to add/remove any countries you may have missed. just add/remove it to the database.

I'm sure there are many pages which will list all of the countries in the world.

There may be an easier way to do this, but that is the approach I would use.

jamello 158 Posting Whiz in Training

Hi there folks,
What do I do if a want a list of all the countries in the world loaded up into a html dropdown listbox.
Thanks for the help in advance

jamello 158 Posting Whiz in Training

Hi there people!
I need some help here. I have a scenario where I'd like users to pick any date from current date (today's date) to any date in the future. The user would not have access or be presented an opportunity to pick yesterday's date. I have some ideas swimming in my head (for instance loading up of dates into a dropdown listbox is one of them and I am actually wondering whether there is a standard control that works like that OR are there better alternatives) but want some input or other ideas from you guys .
I prefer suggestions in vb.net

What I already have is a calendar called from javascript code and unfortunately allows you to pick yesterday's date. thanks

jamello 158 Posting Whiz in Training

What does the error message say?:?:

Dim objNetwork
Dim objExcel
Dim objWorkBook
Set objExcel = CreateObject("EXCEL.APPLICATION")
objExcel.Visible = True
Set objWorkbook = objExcel.Workbooks.Add()
objworkbook.ActiveSheet.Range("A1").value = "DisplayComputername"
Set objNetwork = CreateObject("WScript.NetWork")

Dim strComputer
strComputer = objNetwork.ComputerName
Msg strComputer
Set objNetwork = Nothing

jamello 158 Posting Whiz in Training

Very funny! :icon_wink:

Hey Rashakil my a_rse is itchy why wasn't I notified ? (sorry I couldn't resist that)

HollyBabe, Can I ask you a question, Were you ever a newbie?:?:

jamello 158 Posting Whiz in Training

You need to do several things. This basically a break down of what Hollystyles suggested. Please pay close attention.
edit the html code and edit the Itemcommand property(add a command name)

<P><asp:datagrid id="dgFS" runat="server" Height="132px" Width="436px" CssClass="DefaultDataGridStyle"
        OnItemCommand="Grid_EmpCommand" BorderWidth="0px" CellPadding="0" AutoGenerateColumns="False">
        <AlternatingItemStyle BackColor="#d7dce8"></AlternatingItemStyle>
        <Columns>
         <asp:BoundColumn DataField="empNo" HeaderText="Emp No">
          <HeaderStyle Font-Size="15px" Width="100px" Height="45px" BackColor="#6b83c6"></HeaderStyle>
          <ItemStyle Font-Size="15px" Height="50px"></ItemStyle>
         </asp:BoundColumn>
         <asp:BoundColumn DataField="empname" HeaderText="Emp name">
          <HeaderStyle Font-Size="15px" Width="100px" Height="45px" BackColor="#6b83c6"></HeaderStyle>
          <ItemStyle Font-Size="15px" Height="50px"></ItemStyle>
         </asp:BoundColumn>
         <asp:ButtonColumn DataTextField="empname" ButtonType="LinkButton" HeaderText="empname" CommandName="updateTextBoxes">
          <HeaderStyle Font-Size="15px" Font-Bold="True" Width="100px" Height="50px" BackColor="#6b83c6"></HeaderStyle>
          <ItemStyle Font-Size="15px" Height="50px" BorderStyle="Groove" BorderWidth="9"></ItemStyle>
         </asp:ButtonColumn>
        </Columns>
       </asp:datagrid></

This summarizes what you already have now just add the OnItemCommand="Grid_EmpCommand" to the datagrid and the
CommandName="updateTextBoxes" to the linkbutton. Open the code screen and add the following

Sub Grid_EmpCommand(ByVal sender As Object, ByVal e As DataGridCommandEventArgs)
' e.Item is the table row where the command is raised.
' For bound columns, the value is stored in the Text property of the TableCell.
Dim empNoCell As TableCell = e.Item.Cells(1)
Dim empnameCell As TableCell = e.Item.Cells(2)
 
Dim empNo As String = empNoCell.Text
Dim empName As String = empnameCell.Text
 
'Assign to the text boxes
If CType(e.CommandSource, LinkButton).CommandName = "updateTextBoxes" Then
textbox1.text = sEmpno
textbox2.text = sEmpname

This should work. Please get back to me:cool:


I have a datagrid in my webform with two columns namely empno and empname. The column empname is a hyperlink column. When the page loads both the columns are displaying data from the emp table. There are totally 5 records in the emptable. So …

jamello 158 Posting Whiz in Training

Another question:-/ . What Poster ranks are available. For there seems to be many. A newbie comes in as a "newbie poster" then is promoted to a "light Poster" then to "junior poster in training". What are the criteria required for one to gain "promotion" and move up the ranks:)

jamello 158 Posting Whiz in Training

RgTaylor, If I may ask, you made a side comment about off-shore programmers. Do you have any of those in Afica?:-/

Java is a powerful tool. Not as powerful as a C/C++ tool could be, but MUCH easier to use and faster to develop with. Easier to troubleshoot, etc..

I learned programming long before Java was an option. When Java first became available I was less than interested because of how slow it was. Over the years they have done a good job at improving its performance. PC speeds have largely made the differences in many cases miniscule, and a little known fact is that for some operations Java has actually exceeded the performance of C... I know many people out there will try to argue but scientific tests and evaluation have been done with each new version available and in some areas, as of Java 1.5, Java surpassed C... This is very positive news...

In any case, I learned Java, grudgingly, because even then I could see some of the benefits it could potentially yield. Since I knew C/C++ it was an easy thing to learn Java, but I had to "unlearn" a few things which are habit for C programmers but which don't apply to Java.

I honestly believe that it is the competition between the programming languages that has led all of them, C vs C++ vs Java vs PHP vs ETC. to improve not just their performance but also their usability. Arrays that grow dynamically, …

jamello 158 Posting Whiz in Training

Thanks folks for the info. At least I am now better informed:). But on the arguement of whether newbies are informed and "trained" to give reps, looking at the arguements both for and against, I'll still root for newbies getting informed about how the whole thing works. A newbie is not necessarily an ignoramus or a "yahoo" as it pertains tech. but insomuch as he is able to use the suggested solution(s) to his benefit I think he should be able to give rep as a result.

jamello 158 Posting Whiz in Training

You know your are right:S . I have had people that were of immense benefit to me and I did not give them reps just because I do not know what to do. I suggest a little info pack for newbies that contains this info. The FAQ sectiion couldn't help in this regard.

That is if people bother to give the rep in the first place lol

jamello 158 Posting Whiz in Training

What is the color of a bad rep. (Good one is a green)

benefits: none

implications: post stuff that is helpful to others. The more people like what you post, the more of those little green squares you get. The opposite is true also, you can get bad rep too.

jamello 158 Posting Whiz in Training

thanks The Daddy! It's crystal clear now.
What again, if i may ask, the meaning of the stars "awarded" to some of you guys. And you know what, The queen has 10 of them!:D. What do I do to earn them.

It is a visual guide to your reputation. You get points if someone feels your posting has been helpful enough to them to 'add rep' for you. The more important/powerful (in reputation and/or management terms) the person giving the rep is, the more points you get. So an admin giving you rep would be worth more than a newbie member with no postings to their name.

By the same token, you can also get negative reputation points if someone feels strongly that you are being unhelpful, disruptive or giving bad advice.

So it is really just a way of quickly measuring the reputation of the person providing an answer to a question.

jamello 158 Posting Whiz in Training

Please folks, forgive my ignorance:$ I am just wondering. what is the meaning or import of the "rep power" rating of all the users of daniweb.com. What are its implications and/or benefits if any.

Ancient Dragon commented: here's some to get you going +13
jamello 158 Posting Whiz in Training

OH my,my....:S

what part of "send me the code" don't you understand?
He wants a complete package to turn in as his homework...

jamello 158 Posting Whiz in Training

That was pretty good as usual;) Thanks for the insight:cool:

Originally J2EE was a short acronym for a Java platform variant for each version....

Thus Java 1.2 (Called Java 2) had J2SE and J2EE (Standard Edition and Enterprise Edition) respectively. The EE variant had some additonal tools that were thought to by unique to requirements of an enterprise system (large scale business oriented system)...

Later the J2EE took on a life of its own, developing into more of a framework, and even becoming a standard of "how things worked"... The general idea is that if you are developing a system to meet a small scale need, a small business, a one-off system etc. then you can build it any way you like and typically have total control over the entire envornment; HOWEVER, in an enterprise environment the systems are typically standardized for reuse, resale and/or compatibility with various hardward/OS/Network etc. environments... The promise of Java's write once run anywhere is a key of the J2EE world... If an application is built to follow these standards it should be 99% sure to run on any architecture that is J2EE certified... I say 99% because the ideal has never been truely reached and there is a difference between "compatible" and "compliant"... while compliant means follows the rules 100%, compatible simple means it will work... symantically small difference, actually a large difference... as we see in browsers every day...

Since takingon this nature of a standard many extensions to the J2EE have …

jamello 158 Posting Whiz in Training

Try out this link. I hope it helps:-/ .
http://msdn2.microsoft.com/en-us/asp.net/aa336565.aspx

ASP (Active Server Pages) is the older of the two technologies. ASP uses VBScript or JScript which are interpreted languages.

ASP.NET uses a framework that uses many more langugages (VB, C#, J# ..) and is much more Object Oriented and type safe. and has a cleaner division between client and server code and has built in libraries for some of the latest Internet technlogies such as XML, AJAX and Web Services etc.

I would say ASP and ASP.NET are *very* different in almost every way.

jamello 158 Posting Whiz in Training

Hey! Methinks the use of a character like "#" is the problem.
Do not include this kind of character or any of the following in your table name(*&%$#@!). It should work. Please get back to me.

Visual Basic 2005
I used DataSet Designer to add a column called "Case#" to an existing SQL table.
The table is used by a DataGridView in a VB 2005 program.
I got it working on my development computer in debug mode.
Then, when I installed it, I got an exception "Case# is an invalid column" and none of my data records appeared.

Adding the following statement did not help:
PatientDataSet.Patient.Columns.Add("Case#")

jamello 158 Posting Whiz in Training

Hey!, I believe what the kid wants is a skeletal idea of what it is all about. Maybe what obtains in the industry and the language of choice and/or coding standards to achieve such feats. It might set him in the right frame of mind:-/

banks spend millions to develop those systems, what makes you think you can do it with no experience from your bedroom?

jamello 158 Posting Whiz in Training

Walt, OH, WaltP, I noticed you don't make mistakes indeed;) I sincerely hope you are not as wierd as einstein A. How are your cords :?:

Of course I'm having fun! Anyone that wants someone to write his cord for him is free game for having fun. And no, I never make misteaks.... :D

jamello 158 Posting Whiz in Training

sorry rgTaylor! The last sentence wasn't captured by my computer. I guess I was just typing away and eventually hit the post button:(
What I was about to ask was this: I was wondering what the J2eee meant in the light of your explanations. Thanks once again. You have indeed been most helpful.

WOW! WOW!! WOW!!!
rgTaylor, That was something else:-/ . Thanks a great deal and that was a lot to think about.

What is

jamello 158 Posting Whiz in Training

The error stems from the parameter you are passing. It stems from either of the following: 1)Try casting the text box contents to integer before actual passing and see what the result will be. It is reporting that the contents of the text box is not a valid integer datatype.
(2). Make sure you are not passing an emptiness to the adapter. i.e make sure your text box contains something.

Try this:

Me.InvoiceTableAdapter.FillBy(Me.GreenGrassdatabasemartynDataSet.Invoice, CInt(CustomerIDTextBox.Text))

Please get back to me.:cool:

I have generated some SQL code
SELECT Invoice.InvoiceID, Invoice.CustomerID, Invoice.RouteNumber,
Invoice.TreatmentType, Invoice.Information, Invoice.StreetAddress,
Invoice.Postcode,
Invoice.Invoicecost, Invoice.InvoiceDate
FROM (Invoice INNER JOIN
Customer ON Invoice.CustomerID =
Customer.CustomerID)
WHERE (Customer.CustomerID = '?')

When i test it in the query generator everything works.
However when i add the following code to my vb form in order to populate the table with the correct data. The query will not work:

The system builds with no known errors however it does error when i try to open the page and takes me to a line of code in my form..

Me.InvoiceTableAdapter.FillBy(Me.GreenGrassdatabasemartynDataSet.Invoice, CustomerIDTextBox.Text)

The error is: Conversion from string "" to type 'Integer' is not valid.

I have checked in my database that they are both integers which is
correct.
I have looked through the propperties on the text box to ensure they are
correct and i have found no problems?

Any suggestions?

jamello 158 Posting Whiz in Training

I live in africa!:pretty: Averagely programmers are paid very very far below figures you guys are quoting. Because of the increase in popularity of web based apps, most programmers are "pressured" into knowing web programming and like mkHiga said you have to broaden your knowledge base to be relevant - GUIs, sql, html css etc. this is in return for far less what you guys in Europe and America get .

I for example had been pretty fortunate. I have been involved in software dev. for about 14 years now. wrote COBOL for 7yrs, was into vb4,5,6 asp and now into vb.net, c#, asp.net and moving into java and jsp in the next few months. I am supposed to be in mega bucks in dollars but alas I live in Africa and dollars are pretty hard to come by.

But I am relatively comfortable. So over here in the dark continent you have to literally grind your teeth in code in different forms (web or otherwise) to be reckoned with!;)

jamello 158 Posting Whiz in Training

Yes :) You are absolutely correct. if you check allowzerolenght button then it means you can leave the field blank and means that checking not required.

If I uncheck the AllowZeroLength, wouldn't that have the same effect as checking Required?
Please correct me if I'm wrong. I'm having a hard time differentiating the two.

If a Customer table contains a Phone No. field, and I'm about to add a new customer who doesn't have a phone number, and the AllowZeroLength is UNCHECKED, then that means I have to type something in the Phone No. field, right? But isn't that the same as CHECKING Required? (Required means data entry is required, i think)


Thanks!

jamello 158 Posting Whiz in Training

WaltP:pretty: I am sure you are having fun;) Are you sincerely ignorant of what "cording" is or is mean't to be. It is a simple typo. or don't you make mistakes:S

What's a cording? Anything to do with rope? Or firewood?

jamello 158 Posting Whiz in Training

howdy!
try this and get back to me
c++ / vb equivalent
char /string
short /integer
unsigned short/ integer
unsigned inte /integer
unsigned long /long

I have queries regarding dll create in c/c++ that been use in vb6.
What suitable data type i have to use in vb6 for c/c++ dll function that using char, unsigned char, short, unsigned short, unsigned int and unsigned long for it arguments data type. I encounter error Bad DLL Calling Convention most of the time.

jamello 158 Posting Whiz in Training

howdy there!
The code listing you rendered did not take cognisance of the data type being sent to the sprocs.
See the example below direct from my code and it works and I hope it helps you.

This function takes one string parameter and returns a datatable

Public Function ScheduledFlights(ByVal strFlightDate As String) As DataTable
Dim paramSql As New SqlClient.SqlParameter
dtSchedule = New DataTable
'sets the sproc
commFlights = New SqlClient.SqlCommand("procFlightSchedule")
commFlights.CommandType = CommandType.StoredProcedure
commFlights.Connection = connFlight
paramSql.ParameterName = "@flightDate"
'pay attention to this detail
paramSql.SqlDbType = SqlDbType.Char
paramSql.Size = 10
paramSql.Value = strFlightDate
commFlights.Parameters.Add(paramSql)
'runs the sproc
adpt_Flight2.Fill(dtSchedule)

The datatype being set in your form must be equal to the datatype of the parameter of the sproc. It is fundamental or else it won't work.
Try it and get back to me.

Hi,

I did some reading and I came up with this code that would connect to the SQL stored procedure (SpecialtyInsert) from my VB.Net form, however, it doesn't seem to work. It doesn't give me any errors, it just does not assign the parameters as values for the new record. Could somebody help me locate the problem? Thanks.

Here is the code:

Dim myConnectionString As String = "Data Source=rna040256\sqlexpress;Integrated Security=True"
        Dim myConnection As SqlClient.SqlConnection = New SqlClient.SqlConnection(myConnectionString)
        myConnection.Open()
        Try
            Dim command As SqlClient.SqlCommand = New SqlClient.SqlCommand("SpecialtyInsert", myConnection)
            command.CommandType = CommandType.StoredProcedure
            command.Parameters.AddWithValue("@Skill_ID", TextBox1.Text)
            command.Parameters.AddWithValue("@Skill_Descriptoin", TextBox2.Text)
            command.Parameters.AddWithValue("@Pay_Rate_Per_Hour", TextBox3.Text)
        Finally
            myConnection.Close()
        End Try
jamello 158 Posting Whiz in Training

Sorry my dear:$ , You were right! Forgive me too!

After a month, don't you think we've moved on? :-O Sheesh! Learn to look at the time posted...

jamello 158 Posting Whiz in Training

what database is your hosting scheme bundled with? mysql, oracle or mssql?
you will have to write some server side scripts. do you have any knowlege of asp?

I am relatively new to all of this, but I have a form on my website that emails the results to me. It is using an asp file from my host. I also want to connect to the database hosted by my provider and record the data there. If you want to see the form, it is at http://www.proshuffler.com/survey.html
This site is my first, and I am using dreamweaver 8

Thanks everyone.

jamello 158 Posting Whiz in Training

WOW! WOW!! WOW!!!
rgTaylor, That was something else:-/ . Thanks a great deal and that was a lot to think about.

What is

I use ASP/ASP.Net and VBA at work from time to time... more often than I would like to be honest... What you have to realize is that VB (Visual Basic) was Microsoft's way of reviving the BASIC lanuage and making it available to use for manipulating the visual components on the screen... it was a cheap and easy way for them to add a scripting langauge to Windows which didn't really exist prior.

Prior to that, most scripting in Windows was done with DOS .bat files... but the limitations in the design of DOS and the fact it usually required a DOS window was an issue. Meanwhile Unix and Linux had robust shell scripting which didn't actually require shell windows at all...
Later they adapted VB for a server side scripting langauge creating VBS as a subset of VB... to help differeniate as people became confused by the differences, they relabeled VB into VBA...
Visual Basic for Applications
Visual Basic for Scripting

They released the .Net framework following in the wake of the STL from C/C++ and even the JSTL in Java... thegeneral concept was to create a single function call that would require more parameters at once, but could do the functionality that previously required several function calls... Also by providing this library to be able to interact with various …

jamello 158 Posting Whiz in Training

Please people lets forgive him and lets move on. One hopes that the correction is heard or the light repremand is noted:X
What was the question again:?:

This is a public forum. Anyone is free to post whatever he wants as long as the reply doesn't violate any of the forum rules. If you don't like something, you are free to move on.

jamello 158 Posting Whiz in Training

For more detailed info on the ASP.NET or VB.NET please visit www.microsoft.com.:|

Could you please furnish more information about this VB (ASP.NET) VB ?? example will be great !

jamello 158 Posting Whiz in Training

thanks rgtaylor for your reply. It is pretty much appreciated:)
I am very much involved with microsoft ASP.Net. Do you have any knowledge of this environment. If the answer is yes, can you highlight the asp.net counterpart or parallels of the features you just itemized in jsp. This would aid my "birdseye view" understanding of the subject matter. Thanks alot man!(I presume)

Now, for some programming advice...

using Java & JSP is not so hard...
You can put all the code into the JSP pages, you can separate some or all of your logic into servlets (small independant routines that run on the server) and leave you presentation logic in jsp files... you can use beans to store data between for passingbetween the logic and jsp, or jsp to jsp, and you can create custom tags to do specific logic that is unique to your site...

in the begining jsp did NOT have any way to loop through a code sequence repeatedly... this was a great weakness of JSP and so developers were forced to either
a) limit their output to fixed number of itterations... troublesome at best

b) create custom tags that would cause a loop.... common in professional applications where they wanted to hide the code...

c) use embedded Java (scriptlets) inthe code to control the loop...

This is just one example of why scriptlets were frequently needed.

Beans can also do more than just store information, you can program any logic …

jamello 158 Posting Whiz in Training

Yes, Yes my dear:!:
That is the power of the ActiveX technology.
You can call the activeX dll from c++ like any other dll with the following proviso.

  • you have to register the created ActiveX dll on your machine using regsvr32.exe command
  • you have to reference the dll in your c++ project
  • thereafter make method calls to it like any other dll

comprende?;)

Does anyone know if you can create a non activeX dll, or if an ActiveX dll can be called like a regular dll from a c++ program?

jamello 158 Posting Whiz in Training

This depends on the operating system you are using and I believe there is not much difference across systems. I am using windows 2000 adv. server. The component services can be seen after clicking "administrative tools" icon. Component services is one of the icons that is displayed if you look closely.;)

Hello I am new to this DLL stuff and I am not able to find the "compnent services" that you have mentioned in the control panel ..could you just tell me if the name has been changed or some thing like that?

jamello 158 Posting Whiz in Training

I am currently programming for a touch screen terminal. I use ASP.NET (vb) and the terminal does not care what language I use. Your touch is as good as a click!

So not to worry, I think you should concentrate on delivering the product, touchscreen or no, you would not know the difference - code wise! :!: :mrgreen:

jamello 158 Posting Whiz in Training

Yes this works. Although with not so clean results but at least it works. so what next. Thanks

well this sill work for any hyperlinks anywhere on the page:

a:link
{
    text-decoration: none;
}

lets start with that and see what you get.

jamello 158 Posting Whiz in Training

hi jwenting, I am also new to jsp. what do you suggest.
I am looking at reducing my learning time tremendously. I am ready to work. Already a programmer 12 yrs. Looking at java and jsp but have little know-how. I was already looking at the tutorial before i saw your advice.
Will be glad to hear from you.
I hope this does not qualify as a private message asking for help:)

And that's why you should start small...
Baby steps, not giant leaps.

And do NOT use that linked tutorial. It's about 7 years out of date, and teaches you exactly how you should NOT work.

jamello 158 Posting Whiz in Training

Hi there folks. I am a wannabe in Java. Can you guys help in recommending books (e-books preferably) I can get to jumpstart me. I have got quite an experience in other languages like vb.net and c# so where or how do I start? Thanks for the help!

jamello 158 Posting Whiz in Training

I am pretty thankful for your insights:)
I am still trying to get it right. You have been most helpful. I will definitely get back to you. thanks

jamello 158 Posting Whiz in Training

Yes, U definitely can. And it is very easy. Just open your project as an active X dll project and you are on your way! Of course you have to be certain what you want to do.

jamello 158 Posting Whiz in Training

Thanks for the reply Hollystyles.
I believe you saw the current post. Do I change any variable or parameter in the datagrid code/schema. If no is the answer then your suggestion did not work.:sad:

a.tablecellhyperlinks:link 
{
    text-decoration: none;
}
jamello 158 Posting Whiz in Training

you have to say more details.
Is your webserver configured correctly? are there any errors when displaying the internet explorer for example.
Since you say the app is working well on your dev. machine, it goes to say naturally that your environment (betwixt your dev machine and server) are different. Maybe your web server. but you have to pay attention to your app's behavior on the server and report back any error(s);)

i have used a link button and write some code on click event of this.
the application is working fine on my system but when i deploy it to server the link button click ebent not fired.

can anybody tell me the reason?

jamello 158 Posting Whiz in Training

Thank you f1 fan for your replies.
The suggestion you made is not still working.

I do not know whether the structure of a datagrid control's hyperlink button rendering does qualify as and has the attribute of a valid table. It has no valid "tr" and "td" tags. :confused:

Below is an example of what I'm talking about

<asp:datagrid id="dgLocationLink" runat="server" Width="140px" OnItemDataBound="Grid_ItemClicked"
       BorderWidth="0px" CellPadding="1" AutoGenerateColumns="False" Height="168px" CssClass="DefaultDataGridStyle">
       <AlternatingItemStyle BackColor="#d7dce8"></AlternatingItemStyle>
       <HeaderStyle Font-Size="15px" Font-Bold="True"></HeaderStyle>
       <Columns>
        <asp:HyperLinkColumn ItemStyle-CssClass="tablecellhyperlinks" Target="iA" DataNavigateUrlField="dToYou"
         ItemStyle-BorderStyle="Groove" ItemStyle-BorderWidth="10" DataNavigateUrlFormatString="../alink1.aspx?idm={0}"
         DataTextField="dToYou" HeaderText="You">
         <HeaderStyle Height="40px" BackColor="#6b83c6"></HeaderStyle>
         <ItemStyle Font-Size="20px" Height="40px"></ItemStyle>
        </asp:HyperLinkColumn>
       </Columns>
      </asp:datagrid>

while this is the css

.tablecellhyperlinks1 TD
{
text-decoration: none;
DISPLAY: block;
}
jamello 158 Posting Whiz in Training

I tried it but it doesn't work.
:sad:

if it is in a table you have to have
td .tablecellhyperlinks in your css file.

jamello 158 Posting Whiz in Training

This might be a mozilla stuff. I have used it this way and it works. Did you try what MattEvans suggested?

ya. i have already used the id property to access it, but still it is not working. i am using the Mozilla browser. so the way to access the image is as follow.

document.getElementById("add").disabled = true;

jamello 158 Posting Whiz in Training

Thanks once again Midimagic for your response!
I use vb.net/asp.net. I will keep troubleshooting until I get it!


Those instructions may be for assembly language programming or older compilers or BASIC interpreters.

The driver may automatically do the setup and font selection for you when you start Windows.

Your programming language should automatically send the carriage return and line feed for you when you print successive lines using the language. The driver makes sure the codes are the right ones.

The formfeed is the command your language uses to send the printer to a new page.

The rest will depend on what language you are writing the program in. What language are you using? The commands are different in each programming language.

jamello 158 Posting Whiz in Training

i believe you can. add id property and then try and disable. Pls get back to me.
that is

<img src="[href to image]" id="add" name="add" onclick="sendAdd();">

<script lang=javascript>
document.all.add.disabled = true;
</script>

<img src="[href to image]" name="add" onclick="sendAdd();">

this is the way i am useing the image as a button.
is this possible to disable.....?