|
Hi...
I tried but it is not wkg
|
|
|
|
|
when there is a data like this
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
then the width of the grid is moving large how can i solve this problem
|
|
|
|
|
This is a very funny scenerio. What data exactly are you going to show? Is there any word in your data which contains more than 30 words like Pseudopseudohypoparathyroidism? If it is the case then I would suggest you to truncate letters and show it on a tooltip. Sometimes, software testers are used to test like this (what you have mentioned) when they don't find any bug.
Either you love IT or leave IT...
|
|
|
|
|
|
Anjani Poornima wrote: same in server it's not working.......
The issue is that you know nothing about internet development. Where does your code run ? On the server ? So, where will notepad open ?
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Hey.. You are opening notepad of the server ... not the client.
|
|
|
|
|
Gee - thanks for adding that.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
And after all this, he just deleted the original message ...
|
|
|
|
|
How to get the values from database for checkboxlist in the datalist?
I have tried something but it display only final record? I want to display all items of particular record? How can I do? plz help me
|
|
|
|
|
Perhaps if you posted an example of the data and the code, so we can understand what you mean ?
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Public Function PopulateList() As DataSet
Dim cmd As New SqlCommand("select qt.department as dept, qt.custid as cusid, q.qotranid as qotranid,q.qoid as qoid,q.productid as proid,q.productname as pname,q.description as descr,q.qnty as qnty,q.price as price,q.tax as tax,q.total as total from quotation q ,quotetran qt where q.qotranid='" & ddlqo.SelectedItem.Text & "' and qt.qotranid='" & ddlqo.SelectedItem.Text & "' ", myConnection6)
myConnection6.Open()
Dim myDataReader As SqlDataReader
myDataReader = cmd.ExecuteReader()
While (myDataReader.Read()) = True
pid = myDataReader("proid")
Dim ad As New SqlDataAdapter("SELECT q.productid,s.productid,s.serialno as serialno from stockserialno s,quotation q where q.qotranid='" & Trim(ddlqo.SelectedItem.Text) & "' and q.productid=s.productid and s.status='A' and s.productid='" & productid1.Text & "' ", myConnection3)
ad.Fill(ds1, "stockserialno")
Return ds1
End While
myDataReader.Close()
myConnection6.Close()
End Function
|
|
|
|
|
indian22 wrote: Return ds1
Well, what do you think this will do ? Duh. You return, and the function ends.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
I have tried but it display all the items in every row,but I need to display only those items that coresponding to paricular row
|
|
|
|
|
Hi,
I am trying to encrypt the url by using httputility class,
dim url as string
url=Server.UrlEncode("aspxFirst.aspx") the url is encrypted,
response.redirect(url) then am getting error Resource not found, If any one knows plz respond me...
kannak
|
|
|
|
|
It's like you're really dense or something. You can't do this. you need to write a HTTP handler to rewrite your URLs. Although, in this case, I'd expect that the URL is unchanged, and the issue is that the relative path is not working.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
URLEncode converts characters as follows
1. Spaces ( ) are converted to plus signs (+).
2. Non-alphanumeric characters are escaped to their hexadecimal representation.
Thus <%Response.Write(Server.URLEncode("aspxFirst.aspx")) %>
produces the following output:
aspxFirst%2Easpx
This is not an encryption.
What you do, is to generate an id for every request, and a general handler will be called for every request. Now process the page from that id and return the response from the handler.
|
|
|
|
|
|
pls mail me the answer regarding the subject.
|
|
|
|
|
Manish Sangtani wrote: Forum: ASP.NET
Subject: How to Upload photo in ASP.net 2005
Google Says
Manish Sangtani wrote: pls mail me the answer regarding the subject.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Hi
System.Net.Mail.SmtpException: Mailbox unavailable. The server response was: Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
Can any one help me to fix this problem ?
public static SmtpClient GetSmtpClient()
{
SmtpClient client = new SmtpClient();
client.EnableSsl = Convert.ToBoolean(
ConfigurationManager.AppSettings["Newsletter_SslEnabled"]);
client.Timeout *= 2;
return client;
}
public static void SendUserEmail(string email,Guid guid)
{
try
{
HttpServerUtility server = HttpContext.Current.Server;
MailMessage msg = new MailMessage();
SmtpClient client = Utilities.GetSmtpClient();
string fromEmailAddress = ConfigurationManager.AppSettings["Codesystem_FromEmailAddress"];
string subject = ConfigurationManager.AppSettings["User_ContacSubject"];
msg.From = new MailAddress(fromEmailAddress);
msg.To.Add(new MailAddress(email));
msg.Subject = subject;
msg.Body = GeneralHtml.Generate_User_Enquery_Html(email,guid);
msg.IsBodyHtml = true;
client.Send(msg);
}
catch (HttpException ex)
{
throw ex;
}
}
in web.config
<br />
<system.net><mailsettings><smtp deliverymethod="Network"><br />
<network host="mail.abc.com" port="25" username="info@abc.com" password="123" defaultcredentials="true" /><br />
</smtp></mailsettings></system.net>
|
|
|
|
|
Cross Post !!
You are posting the same questions multiple times.
Post 1
Post 2
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Hi Abhijit
do u have any idea about this issue? if u know how to fix this one?
thanks
|
|
|
|
|
Hi, i have 2 tables which are device / device type. I want to provide the functionality of allowing search by device type... Now with devicetypes, there are 100s of devices. when user enters notebook, 200 records come up... i want to show these on 3 pages(whch ofcourse will require paging technique), but on first page which would have 74 records, i want them arranged in 3 columns with one column filled first and then another column started eg if i have 40 values, page 1 should display as
device1 device21
device2 device22
device3 ...third row starts when first 2nd finishes...
....
device20
my question precisely is
how do i make the table of 2 columns or 3 depending on number of values... is there anyway to increase columns at runtime or do i have to programmatically assign as if rows are greater than 20 make 2 columns if greater than 40 make 3 columns and so on ... but still how would i display it in descending order of column1,then 2 and so on ... wat control do i need to use...
Sorry, if i am being stupid..i think i don't know the control to use... plz provide a little help and then maybe i will do it...
thanx
|
|
|
|
|
I think I answered this already. Probably with a repeater ( so you can style it to the degree you want ), which means you're on your own for paging, too.
The alternative is to modify your data source to have 2 or 3 columns of links.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Thankyou, for ur reply... i appreciate ur response...
Thanx
|
|
|
|