|
HI THX for reply
My problum is
I want to insert more data in 1 filed
But it is taking 255 char only
How can i do this any idea
THX
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
You can use MEMO datatype to store more than 255 chars in MS Access
Is that datatype working?Please let me know
|
|
|
|
|
You can use MEMO datatype to store more than 255 chars in MS Access
|
|
|
|
|
I got the thing
Thx
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
Hi,
I was displaying data in a datagrid using the dataview as the datasource for the datagrid. Paging worked properly when i used sort property on the dataview, however it failed when i used the rowfilter property on the dataview to filter records.
If anyone has faced this problem before please let me know the solution at the earliest.
Thanks & Regards,
Siddharth P
|
|
|
|
|
Row filter method returns you the collection of filterd rows. You will have to store those filtered rows in a table or Dataview. Than Bind your grid with the filtered rows dataset.
Regards,
Amit Kumar
HDISM, PGDCA, MCP, MCAD, MCSD
amit_chikara2002@hotmail.com
|
|
|
|
|
hi i want to know is ti possible to add the rows of Gridview,Repeater or any other controll through code.i m using asp.net 2.0.
Tasleem Arif
|
|
|
|
|
Hi everybody,
What are the differents between Server.Transfer and Response.Redirect
Regards,
Thomas
|
|
|
|
|
|
hi,
How to send file attachments in asp.net 1.1 with C#
Thanks and Regards,
Uma
|
|
|
|
|
You can use attachment.add function to send the attachments with a mail in asp.net.
Best Regards,
Apurva Kaushal
|
|
|
|
|
use the follwing code:
objMailMessage.Attachments.Add(New MailAttachment(Server.MapPath(filename)))
Thanks & regards,
Suresh Dayma
Everything Is Possible!
|
|
|
|
|
Hi go through this link,
http://www.systemwebmail.com/faq/2.3.aspx
Ram
|
|
|
|
|
hi
im using html file upload control to upload a image to a server.i c't upload a audio,video file to a server using html file control . is there any other control in asp.net or how v upload a audio or vedio file to a server and retive that audio file from a server and paly in our site. i need detail explanation or any sample coding for that. i expert ur mail.
Regards
m.selva
|
|
|
|
|
msmkumar_79 wrote: i c't upload a audio,video file to a server using html file control
Are you trying to say that you can't upload an audio or a video file? Why do you think that? Do you get an error message?
---
b { font-weight: normal; }
|
|
|
|
|
in order to upload files to server folders, you use the FileUpload control from the server side (the asp.net control), its easy to use, but you must to give all the permissions to write over the folders to asp.net user..
keep Learning and you never will be out of date...
|
|
|
|
|
hi all,
Please give the idea for Validation using javascript
i want validate the login page(username and password it shoud match in DB) please help me to give the sample stuff for this question
Thanks and Regards
C.Muru
|
|
|
|
|
Here is an example of validation using Javascript:
guffa.com - Javascript : Validate form[^]
Using Javascript for validation is not suitable if you want to use data from a database, though. There is no safe way to access the database from the Javascript, so you have to do that validation on the server side.
---
b { font-weight: normal; }
|
|
|
|
|
hey all,
Please ..............i need to validate the (username and password) field to check the database the username correct or not ........using javacript validation.................. pls send it the stuff........
Thanks and Regards
C.Muru
|
|
|
|
|
hai2muru wrote: i need to validate the (username and password) field to check the database the username correct or not ........using javacript validation
Why javascript?
Best Regards,
Apurva Kaushal
|
|
|
|
|
hai2muru wrote: i need to validate the (username and password) field to check the database the username correct or not ........using javacript validation
Why do you think that you need that?
---
b { font-weight: normal; }
|
|
|
|
|
Javascript runs at client side, made a server table validation is dangerous, its the reason that you dont find many examples
keep Learning and you never will be out of date...
|
|
|
|
|
Hai 2 Muru,
Try the following code:-
Dim user, pass As String
Try
Dim con As SqlConnection = New SqlConnection("server=.;database=tempdb;user id=sa;password=sa")
Dim cmd As SqlCommand = New SqlCommand("select * from verification where uname=@uname and pwd=@pwd ", con)
cmd.Parameters.Add(New SqlParameter("@uname", SqlDbType.VarChar, 20))
cmd.Parameters("@uname").Value = txtUname.Text
cmd.Parameters.Add(New SqlParameter("@pwd", SqlDbType.VarChar, 20))
cmd.Parameters("@pwd").Value = txtPwd.Text
cmd.Connection.Open()
Dim dr As SqlDataReader
dr = cmd.ExecuteReader()
While dr.Read()
user = dr.GetValue(0).ToString()
pass = dr.GetValue(1).ToString()
End While
cmd.Connection.Close()
Catch ex As Exception
lblexception.Text = ex.Message
End Try
If (user = txtUname.Text And pass = txtPwd.Text) Then
Page.RegisterStartupScript("ss1", "alert(""valid"");")
Else
Page.RegisterStartupScript("ss2", "alert(""Invalid"");</script")
End If
Thanks & regards,
Suresh Dayma
<div class="ForumSig"><font face="mistral" size="5" color="teal">Everything Is Possible!</font></div>
|
|
|
|
|
Hai 2 Muru,
Try the following code:
Dim user, pass As String
Try
Dim con As SqlConnection = New SqlConnection("server=.;database=tempdb;user id=sa;password=sa")
Dim cmd As SqlCommand = New SqlCommand("select * from verification where uname=@uname and pwd=@pwd ", con)
cmd.Parameters.Add(New SqlParameter("@uname", SqlDbType.VarChar, 20))
cmd.Parameters("@uname").Value = txtUname.Text
cmd.Parameters.Add(New SqlParameter("@pwd", SqlDbType.VarChar, 20))
cmd.Parameters("@pwd").Value = txtPwd.Text
cmd.Connection.Open()
Dim dr As SqlDataReader
dr = cmd.ExecuteReader()
While dr.Read()
user = dr.GetValue(0).ToString()
pass = dr.GetValue(1).ToString()
End While
cmd.Connection.Close()
Catch ex As Exception
lblexception.Text = ex.Message
End Try
If (user = txtUname.Text And pass = txtPwd.Text) Then
Page.RegisterStartupScript("ss1", "alert(""valid"");")
Else
Page.RegisterStartupScript("ss2", "alert(""Invalid"");</script")
End If
Thanks & regards,
Suresh Dayma
<div class="ForumSig"><font face="mistral" size="5" color="teal">Everything Is Possible!</font></div>
|
|
|
|
|
I am working in ASP.Net2.0 and Sql server 2005.Using asp button(FormView) I am trying to insert the data from the form into the database and at the same time want to move on to another page indicating the succes of insertion.
My code:
<asp:button id="InsertButton" runat="server" causesvalidation="True" commandname="Insert"
="" text="Submit" postbackurl="~/ClinicDownload.aspx">
It is moving on to another page, but no insertion is taking place. If I don't give the PostBackUrl then I can insert. I want to do both in one click....Hope someone can help me.
Regards
preeshma
|
|
|
|