|
haha no it didnt hurt me, just good that someone has the same opionion of these people who just expect us to do all the work.
happy programming!
|
|
|
|
|
when i m doing grid view through wizard in asp.net2.0 there is on advanced option.
in it there is a checkbox--"generate insert update delete statements"
I have checked it ,and set it finish .
But thr is option coming enable editing,deleting, etc.
But no option for insertion.WHY?
How can i do the insertion through wizard?
|
|
|
|
|
Can you not right click on the gridview after in design view and then edit the datasource and set a query doing it that way
|
|
|
|
|
I m using sqlDatasource. will it work for it?
|
|
|
|
|
|
|
are you talking about component designer option?
i m not getting actually where i have to set query
|
|
|
|
|
i written a code in java script in asp.net 2.0
it is working in IE
but it is not working/executing in Mozilla firefox
the code is like this
//this function takes a value (ltext) and transmits that to the left hand frame
function tranRight(ltext)
{
parent.frames("frame1").document.getElementById('Button38').click();
}
and in page load
ClientScript.RegisterStartupScript(Me.GetType(), "MyScript", "tranRight('upload');", True)
it is excuting in IE
but not in Mozilla
if the javascript is dependent on the browser the
how should i convert the above code to work in Mozilla fire fox
plz help me
thanks in advance
vijay
|
|
|
|
|
vijaylumar wrote: if the javascript is dependent on the browser the
Yes, JS is dependent on browser. Install "Firebug" and debug your JS.
|
|
|
|
|
It seems u are using
ClientScript.RegisterStartupScript(Me.GetType(), "MyScript", "tranRight('upload');", True)
method. in this method last parameter represents for A Boolean value indicating whether to add script tags. But u have already add those script tags on your page so pls try this with
ClientScript.RegisterStartupScript(Me.GetType(), "MyScript", "tranRight('upload');", False)
Because most of the time Firefox strictly work with tags and HTML commands but IE not..
cheers !!!
SHAN
|
|
|
|
|
Hi All,
How to Read an character images to character. For example I scan a images in that images contain character and images. I want to read a particular sentenses.
Send Your suggestion in my id also, this is my id linguage_23@yahoo.com
Thanks in Advance,
S.Lingeswararaj
|
|
|
|
|
Posting your ID is stupid. You will just get spam from third parties, and the site emails you when people reply here.
Atalasoft have a good OCR library, that is what you need, to buy or write an OCR library. Writing one is a lot of work.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
Hi All,
I am inserting (copy and paste Chinese language text) in the textbox and try to insert them in the database ,i have used nvarchar(max) column type in the table it gives me ??????? mark in the table value after insertion of text
when i displayed it on the asp.net page it display ??? mark in the grid .
and when i directly copy this text in the table value it show me the chinese
language why ? it not working ? inspite of i have took unicode type
I want to make multi-lingual site can any body help me
|
|
|
|
|
So, you are saying the DB works fine, but your ASP.NET code is broken ? Can we see it ? I assume the insert code is the problem.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
no ,here is one textbox and submit button in asp.net(vb)
when i enter any Chinese language (copy text from MSword and paste it in the textbox) and click submit button on that button i am doing the insert data in the data base but the data which is going to insert is not in the same form which i have entered. Got it ?
it insert ?????? in the table field.
show the code below
<br />
Imports System.Data<br />
Imports System.Data.SqlClient<br />
Imports System.Configuration<br />
Partial Class _Default<br />
Inherits System.Web.UI.Page<br />
<br />
<br />
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />
Dim MyConnection As SqlConnection<br />
Dim cmd As SqlCommand<br />
MyConnection = New SqlConnection()<br />
MyConnection.ConnectionString = ConfigurationManager.ConnectionStrings("Local_DB").ConnectionString<br />
MyConnection.Open()<br />
cmd = New SqlCommand("Select * from empl", MyConnection)<br />
GridView1.DataSource = cmd.ExecuteReader()<br />
GridView1.DataBind()<br />
MyConnection.Close()<br />
End Sub<br />
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click<br />
Dim MyConnection As SqlConnection<br />
Dim cmd As SqlCommand<br />
MyConnection = New SqlConnection()<br />
MyConnection.ConnectionString = ConfigurationManager.ConnectionStrings("Local_DB").ConnectionString<br />
MyConnection.Open()<br />
'Dim MySQL As String = "Insert into NewEmp (fname, LName, Address, City, State, Postalcode, Phone, Email) Values (@Firstname, @LastName, @Address, @City, @State, @Postalcode, @Phone, @Email)"<br />
<br />
Dim MySQL As String = "Insert into empl (name1) Values (@name1)"<br />
cmd = New SqlCommand(MySQL, MyConnection)<br />
cmd.Parameters.Add(New SqlParameter("@name1", SqlDbType.VarChar, 11))<br />
cmd.Parameters("@name1").Value = TextBox1.Text<br />
cmd.ExecuteNonQuery()<br />
MyConnection.Close()<br />
<br />
End Sub<br />
<br />
End Class<br />
<br />
|
|
|
|
|
amistry_petlad wrote: SqlDbType.VarChar
Not NVarChar ?
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
To the person who gave me a 1, if you're the OP, try answering me when I try to help you instead, if you're not, you answer his question if you want to disuade me from trying to help.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
sorry for that i didnt get properly so I have click "no"
"sorry about that " Please help me out
|
|
|
|
|
I am happy to help you either way - I just find I get a lot of 1's when I try to help, and I don't know why.
Did changing it to nvarchar help ?
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
sorry
you are really helpful but due to my foolness you miss the one point how can i help you to reward back this point sir.?
can you provide me one more help?
how can i directly type any language in the web page once i download the font ?
can you help me ?
|
|
|
|
|
Well, the user needs to have thier PC set up to be typing in that language. For testing, you can install more than one language, you can set up the language bar in your menu bar with a right click and choose the option ( I'd check for details, but I am on a mac ). Then you can choose different languages and work out how the keyboard works to enter them when they are selected.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
no , I didn't get you can you briefly elaborate me. so i can get better idea.
|
|
|
|
|
You can't make a user have access to a language, they need to configure their PC for it. I can't give more specific help than I gave b/c I am on a mac, I can't try it to reproduce, but I know on the task bar I have a language menu which lists languages I can pop between.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
thanks this is for u
|
|
|
|
|
hello,
I am uploading images and saving it into the sql sqever databse's image field.Some images are very big size .I have to reduce the size of the images into a fixed size(a small size) before save it into the table.Is there any possibility to reduce the size while uploading or saving with out affect it clarity.
Thank you
|
|
|
|