|
Hi my dataset having multiple datatable...,
I dont know how many datatables its having...,
Now all the tables i want to bind it in different different excel file how to do that?,
Plz help me
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
modified on Tuesday, July 15, 2008 8:33 AM
|
|
|
|
|
Hi,
In one of the tasks, we are using sqlbulkcopy class of .net with three parameters - source db info, destination db info, query to be used to transfer data.
We are trying to see if we can get a count of the number of rows that are actually transmitted by the above command. Is there any way to do that? sqlbulkcopy class does not seem to have any attribute that would give this information. Is there any direct or indirect way?
Thanks in advance
sb
|
|
|
|
|
|
Hello Friends,
I am developing an application in ASP.Net with VB.
I am adding some checkboxes at runtime like this:
<input type=checkbox id=" + SomeRandomString + "/>"
So, on some button click event, how can i know that which checkboxes are checked, i want this for further evaluation.
Please somebody help me.
Thanks and Regards,
Nagendra.
|
|
|
|
|
You need to loop through all the controls on the web page and if you find the control is of type 'checkbox', then check for its Checkbox.Checked property.
Hope this helps.
|
|
|
|
|
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.
|
|
|
|