|
Thank for all
I created additional dictionary to collect URL, becouse it seems to me that WebBrowswer has URL property resolved after "web paged displayed", But I can't create additional thread to wait while it will be finised
-- modified at 8:29 Thursday 1st November, 2007
|
|
|
|
|
probably because it has no url set?
fafafa, ringakta icke sådant som bringa ack så naggande högönsklig välmåga å baronens ära.
|
|
|
|
|
HI,
i've got a DataGridView to which i load data from a file.
i like to know how can i change the color of a cell (or the text)
the idea is :
when i load the data i check a certain cell an if it's Value <0 then i like
to see the (Value in a Red Color)
i'm using this kind of insert to the datagridview :
<br />
for(....)<br />
{<br />
string cColumn1 = value;<br />
string cColumn2 = value;<br />
.<br />
.<br />
.<br />
<br />
Object [] rRow = { cColumn1 ,cColumn1 };<br />
dataGridView1.Rows.Add(rRow);<br />
}<br />
THNKS in Advance
Have Fun
Never forget it
|
|
|
|
|
|
Please don't cross post. It's not very polite.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi, I am using VS 2005.
I need to display an image in my web form.
i am giving the Image URL as a .aspx file(say Image.aspx)
In Image.aspx, i am creating & saving an image & writing the code to save as Response.OutputStream.
In local server, its working fine but after diployment its giving an error as Cannot convert type 'ASP.templates_image_aspx' to 'System.Web.UI.WebControls.Image'
What shall i do.. Please help me..
Regards,
JaiShankar
|
|
|
|
|
jaishankar2704 wrote: local server, its working fine but after diployment its giving an error
Is the deployment machine configured the same as the local machine?
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
Hi All,
I have datagridview populated from a database thru a datasource.
I have an integer col status with values (1,2,3)
I want to Fill grid with values for status ex 1 is Active,2 is Inactive and 3 is default
How shud i do this.
I am using Visual Studio C# 2005 express edition.
Regards,
Ahmad
|
|
|
|
|
use the itemdatabound to change the value.
|
|
|
|
|
hi,
In my appication i'm using Oracle as a back end. In that when i'm using ExecuteReader() it shows an exception. Can any one of help me to solve this issue.
<br />
oleDBConnection = new OleDbConnection(connectString); <br />
string query = "SELECT V_FIRST_NAME,V_LAST_NAME,V_PHONE_NUMBER,V_EMAIL,V_FAX_NUMBER,V_ADDRESS,V_TITLE,V_POSTAL_CODE,V_COUNTRY from UserDetails where (V_USER_ID = ?) AND (V_PASSWORD = ?)";<br />
<br />
OleDbCommand oledbCmd = new OleDbCommand(query, oleDBConnection);<br />
oledbCmd.CommandText = query;<br />
<br />
oledbCmd.CommandType = CommandType.Text;<br />
<br />
OleDbParameter par = oledbCmd.Parameters.Add("UserName", OleDbType.VarWChar, 50);<br />
OleDbParameter parm = oledbCmd.Parameters.Add("password", OleDbType.VarWChar, 50);<br />
<br />
oledbCmd.Parameters["UserName"].Value = userName;<br />
oledbCmd.Parameters["password"].Value = password;<br />
<br />
oledbCmd.Connection = oleDBConnection;<br />
<br />
oleDBConnection.Open();<br />
<br />
OleDbDataReader dr ;<br />
dr = oledbCmd.ExecuteReader();<br />
It threw an exception when executing the last line. The exception states that Unspecified error.Oracle error occured,but error message could not retrieved from Oracle.Data Type is not supported.
Thanks in advance
Babu
|
|
|
|
|
babutkchn wrote: string query = "SELECT V_FIRST_NAME,V_LAST_NAME,V_PHONE_NUMBER,V_EMAIL,V_FAX_NUMBER,V_ADDRESS,V_TITLE,V_POSTAL_CODE,V_COUNTRY from UserDetails where (V_USER_ID = ?) AND (V_PASSWORD = ?)";
You add parameters to the query, but you don't specify anywhere these parameters. Try this
string query = "SELECT V_FIRST_NAME,V_LAST_NAME,V_PHONE_NUMBER,V_EMAIL,V_FAX_NUMBER,V_ADDRESS,V_TITLE,V_POSTAL_CODE,V_COUNTRY from UserDetails where (V_USER_ID = @UserName) AND (V_PASSWORD = @password)";
OleDbCommand oledbCmd = new OleDbCommand(query, oleDBConnection);
oledbCmd.CommandText = query;
oledbCmd.CommandType = CommandType.Text;
OleDbParameter par = oledbCmd.Parameters.Add("@UserName", OleDbType.VarWChar, 50);
OleDbParameter parm = oledbCmd.Parameters.Add("@password", OleDbType.VarWChar, 50);
Hope it helps.
There are 10 kinds of people: those who understand binary and those who don't
|
|
|
|
|
we are using oracle not sql server('@symbol is not supported in Oracle').
give me the solution
|
|
|
|
|
Ok, my bad. But still, you have to find a way to specify the parameters in the query. I think that that's your problem.
There are 10 kinds of people: those who understand binary and those who don't
|
|
|
|
|
how to pass link through gridview using linkbutton..i dont want to delete it.just pass a link.
alok2171
|
|
|
|
|
Here Code For the Delete Link In grid view
<asp:GridView DataKeyNames="CategoryID" ID="GridView1"
runat="server" AutoGenerateColumns="False"
OnRowCommand="GridView1_RowCommand"
OnRowDataBound="GridView1_RowDataBound"
OnRowDeleted="GridView1_RowDeleted" OnRowDeleting="GridView1_RowDeleting">
<Columns>
<asp:TemplateField HeaderText="Select">
<ItemTemplate>
<asp:LinkButton ID="LinkButton1"
CommandArgument='<%# Eval("CategoryID") %>'
CommandName="Delete" runat="server">
Delete</asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
:-
|
|
|
|
|
HI,
i'm using VS 2005 Express.
i like to know how to get the Logical Drive Info, like :
Size, Used Size, Free Size
THNKS in Advance
Have Fun
Never forget it
|
|
|
|
|
|
THANKS
i did not saw it becaude i was missing th IO
THNKS
Have Fun
Never forget it
|
|
|
|
|
Glad to help you
|
|
|
|
|
there is a wonderful artical about digit recognition at:
http://www.codeproject.com/library/NeuralNetRecognition.asp
in vc++6 language.
I want to use this wonderful program as a dll or ocx in c#.
can anyone help me?
has anyone done this work before?
and can anyone give me this dll or ocx?
(i'm not familiar with nor understand difficult vc++6 programs)
very thanks in advance.
|
|
|
|
|
Hi,
I am writing a Windows Forms application.
Is there any method of finding the toolbar button currently under the mouse cursor? It seems that the button objects are not Control (class) derived...
"la dolce ossessione degli ultimi suoi giorni tristi,
Venezia, la vende ai turisti" rechi
|
|
|
|
|
OK - I've got it now. You're trolling. Congratulations, you had me fooled for a moment.
If this is a joke, get a life. If it's not, then I am at a loss.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Seems like i missed something
My current favourite word is: Waffle
Cheese is still good though.
|
|
|
|
|
I told you this was rude and inappropriate and you decided that must mean you should post it to some other forums as well ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hello
i want to display a datagrid control horizontally, that is i want the rows to be columns and the columns to be rows... i need this with the datagrid coz i want users to give feedback in it... so there is no reason why i shud use a listview, by the way, can a list view be used to enter data...
The scenerio i have is
color1 red
color2 ---
color3 blue
and i want it as
color1 color2 color3
red --- blue
and the user is able to change color 2 to somethin else , if he desires...
Please help,
Thanx
haseeb
|
|
|
|