|
nagendrathecoder wrote: "
how is that adding at runtime?
nagendrathecoder wrote: So, on some button click event, how can i know that which checkboxes are checked, i want this for further evaluation.
if you are creating the control at runtime just find the control in the event using FindControl and go from there
|
|
|
|
|
I used your method but not getting control of type CheckBox?????
|
|
|
|
|
actually i have two file upload control at first page .
and i want to upload two image. at one button click .for this i have write a coda:
string filepath = "C:\\Uploads";
HttpFileCollection uploadedFiles = Request.Files;
for (int i = 0; i < uploadedFiles.Count; i++)
{
HttpPostedFile userPostedFile = uploadedFiles[i];
userPostedFile.SaveAs(filepath + "\\" +
System.IO.Path.GetFileName(userPostedFile.FileName));
}
but now i want to retrive the images at page third .so tell me .
what should i do.
thanks in advance .
gaurav
|
|
|
|
|
Get it from the place where you have saved it physically.
Apurva Kaushal
|
|
|
|
|
If you want to display the image on a web page, put HTML 'Image' object on web page and make this a server control. Then assign Image.Src = 'image path'. You'll see the image on the page. Hope this helps.
|
|
|
|
|
Hai to all,
I have already installed sqlserver 2000 in my windowsXP.Now i hae installed vs2003 and vs2005.
Presently working on vs2003 framework1.1 with sqlserver 2000.
I want to upgrade from vs2003 to vs2005 with sqlserver2005.
So is there any problem occrs if i install sqlserver2005 when sqlserver2000 already existed.
Tell me which type precautions i have to take before installation.
I want both versions of .net and sqlserver.
kissy
|
|
|
|
|
Hi
I have created database where i store employees 's pictures and i am able to display this images on a asp.net page where i use "Response.BinaryWrite(dr.Item("Picture"))" so it display it.The problem is i have to display this pictures on a image control which i can't figure it how can i do it.
Mamphekgo
|
|
|
|
|
try this code...................
Dim imageBytes() As Byte
imageBytes = sqlCommand.ExecuteScalar()
Response.Clear()
Response.Charset = ""
Response.Cache.SetCacheability(HttpCacheability.Public)
Response.ContentType = "image/jpeg"
Response.OutputStream.Write(imageBytes, 0, imageBytes.Length)
Image1.ImageUrl = "Image.aspx" 'Your page name in which u have image control
Response.End()
please vote if this post helps u.
|
|
|
|
|
Hi there,
A quick question for you all. does anybody out there know how to do the pop up tooltips that are done on facebook
Michael
|
|
|
|
|
how can i read rss. what is rss? is any company provide rss or you can easily read rss without permission? if read then how i get rss from other sites and work on it?
|
|
|
|
|
Is there any problem in accessing google at your place as answers to these questions you can easily get with google.
Apurva Kaushal
|
|
|
|
|
http://weblogs.asp.net/scottgu/archive/2006/02/22/Awesome-ASP.NET-2.0-RSS-Tool_2D00_Kit-Released.aspx
|
|
|
|
|
in my project i just want to search any user based on their skills from resume. resume is one of the database column.It is just like searching process in jobportal.Which technology i have to use.please provide me some information regarding this...
|
|
|
|
|
How do u save the resume in a column?
U mean u have it all as text with some format?
Best Regards
3ala2
|
|
|
|
|
Hi,
in my asp.net website i have two folders:
- bmw
- benz
i need login page for each of them, so create login.aspx in each folder and add to web.config something like that:
<location path="~/bmw">
<system.web>
<authentication mode="Forms">
<forms loginUrl="~/bmw/Default.aspx" protection="All" path=""></forms>
</authentication>
</system.web>
</location>
<location path="~/benz">
<system.web>
<authentication mode="Forms">
<forms loginUrl="~/benz/Default.aspx" protection="All" path=""></forms>
</authentication>
</system.web>
</location>
but this dont work. ny idea how can i do this?
|
|
|
|
|
I think you can only have one login control for an application
|
|
|
|
|
Hi
I need to highlight a row in a gridview depending on whether the checkbox in it is checked.
At the moment if the checkbox is checked it highlights every other row.
How can I get it to highlight the correct row which has a checkbox ticked?
|
|
|
|
|
.netman wrote: I need to highlight a row in a gridview depending on whether the checkbox in it is checked.
On RowDataBound event, find out checkbox object and check it is checked or not and set style to current row.
for example
if(chk.Checked)
{
e.Row.Style.Add(HtmlTextWriterStyle.BackgroundColor, "#FF0000");
}
regard
khan
please don't forget to vote on the post that helped you.
|
|
|
|
|
|
my project is just like a job portal.I just want to save perticular persons information along with resume in data base .how can i save my resumes in data base.
|
|
|
|
|
Why dont you save the file location of the resume in the database.
Then you can just pull it out using a query.
Would save bloating your database
|
|
|
|
|
There are two aproach:
1. You can physically store your resumes which are doc,pdf file in some server location. In database you can store the path of those document only.
2. Store doc, pdf files into DB. For this you have to take a BLOB column like column of VARBINARY.
You have to convert those doc or pdf file into stream(bytes array) and can store into VARBINARY column.
Upto you which one you are going to use per your need!!!
Thanks,
Arindam D Tewary
|
|
|
|
|
|
|
Hello all,
I'm trying to write a custom server control with sqlDataSource embed (the sqldatasource will be a child control of this server control), with this control, I can play around with the property grid in design view and config the connectionstring, select command ... and no need to add an SQLDatasource on page.
For a control that dont need data filtering (like a list of category) I can retrieve data just fine. But I've got problem with a control that need input parameters, everytime I try to get the parameterValue (I use ParameterCollection for this purpose), it's always return nothing.
Could somebody please tell me how to create a custom server control with SQLDataSource embed, so I can retrieve and filter the data without adding a SQLDatasource on page.
Any help would be appreciated.
Spidervn
|
|
|
|