Thanks for all the replies, Im new in asp.net and uisng C# as my language, can anyone help me to translate the code in c#.
Thanks
User Profile
Collapse
-
create dynamically uploadfile
Hello everybody, please help me to create dynamically upload file. here is my code:
for (int counter = 1; counter <= 4; counter++)
{
FileUpload fu = new FileUpload();
fu = (FileUpload)Fin dControl("FileU pload" + counter.ToStrin g());
this.Controls.A dd(fu);
}
it return error on " this.Controls.A dd(fu);" it said... -
escape character
Hi Everybody,
please help me.I have a select statement
OracleDataAdapt er adOpenFile = new OracleDataAdapt er("SELECT LINK FROM SIXSIGMA_USER.P ROJECT_ATTACHME NT " +" WHERE ITEM_NO = '" + e.CommandArgume nt.ToString() + "' ", Con);
DataSet dsOpenFile = new DataSet();
adOpenFile.Fill (dsOpenFile);
Response.Write( "<script>alert( '" + dsOpenFile.Tabl es[0].Rows[0][0].ToString()... -
bind data to gridview
Hello everybody,
PLease help me to bind the data from datasource to a dridview, here is my command
Code:OracleDataAdapter adTarget = new OracleDataAdapter ("SELECT B.DMAIC_DESC DMAICDESC ,a.TARGET_MONTH MONTH , a.TARGET_YEAR YEAR FROM SIXSIGMA_USER.DMAIC_TARGET A, SIXSIGMA_USER.DMAIC B WHERE a.PROJECT_ID = '" + DropDownListProject.SelectedValue + "' AND A.DMAIC_CODE = B.DMAIC_ID
-
The scenario of this is: John has 2 request and Smith has one request, once the request has been approved, the program will send email notification to the requestor.
in my code:
Do until objRSEmail.eof
tgroup = objRSEmail("tEm ailName")&"@imi phil.com;"&tgro up
objRSEmail.Move Next
Loop
In a tgroup variable, the system will check if there's already John@City.com...Leave a comment:
-
Remove duplicate value
Hello everbody,
Please help me to remove the duplicate value. I have this code
Do until objRSEmail.eof
tgroup = objRSEmail("tEm ailName")&"@cit y.com;"&tgroup
objRSEmail.Move Next
Loop
the output of this is
john@city.com;j ohn@city.com;sm ith@city.com
i want to have output like this(to remove the second occurence... -
show pop up calendar
Hello Everybody,
I already have a javascript for popup calendar, but I dont know how to show the calendar, please help how to insert the code in html..
Thanks -
change filoename of uploaded file
Hello,
PLease help me to change the filename of uploaded file, here is my code...
For Each File In Uploader.Files. Items
'Save the file to Disk
Dim Folder
Folder = "UploadedFi le/"
Dim FileName,Link,S QLUploadedFile
SQLUploadedFile = "Insert into tbl_Uploadedfil e(nvFileName,
nvLink,vcUpload edBy) "&_... -
excel date
Is it possible to query or get date to excel file using asp?
Thanks -
convert excel date to asp date
Please help me to convert excel date to asp date.
Here is my code
objConnEx.open "Provider=Micro soft.Jet.OLEDB. 4.0;Data Source=D:\Netro ot\WebApp\testp rograms\Shuttle _Service\Attach ment\BusRequest .xls;Extended Properties=Exce l 8.0;HDR=Yes;IME X=1;"
set objRS = server.createOb ject("ADODB.rec ordset")
SQL = "SELECT * from [BusRequest$]"
objRS.Open SQL,objConnEx, 1... -
Hello jhardman,
I have this code pattered from this forum
Set objConnEx = Server.CreateOb ject("ADODB.Con nection")
objConnEx.open "Provider=Micro soft.Jet.OLEDB. 4.0;Data Source=D:\Netro ot\WebApp\testp rograms\malen\S huttle_Service\ Attachment\"&Fi leName&;Extende d Properties=Exce l 8.0;HDR=Yes;IME X=1;"
set objRS = server.createOb ject("ADODB.rec ordset")
objRS.open...Leave a comment:
-
-
excel file to SQL
Hello Everybody,
Is it possible to insert excel file to SQL?
THanks -
Thank you very much, I got it.
instead of
for (int x = 0; x < arInfo.Length ; x++)
I used
for (int x = 0; x < arInfo.Length - 1; x++)
ThanksLeave a comment:
-
Thank you very much, it works. I got the output that I want. My question is when I insert it to Database the output is
21 07580
21 15518
21 19558
21
it should be
21 07580
21 15518
21 19558
Here is my Code:
// string seperated by colons ';'
string info = HiddenMembers.V alue.ToString() ;
...Leave a comment:
-
split characters
Hello Everybody
Please help me to split the string, here is my code
HiddenMembers.V alue += selectedItem.Va lue + ";" ;
I want to split the value and pass it to array. PLease help me to split HIddenMembers.v alue into individual value
Thanks -
Upload multiple files
Hello Everbody,
I am new in .Net and I'm using c#. I have problem in uploading multiple files in one time. I have here the code that can upload only one file at a time. Please help me to upload more than one file.
Here is my C# code:
protected void btnUpload_Click (object sender, EventArgs e)
{
string iFileLength = FileUpload1.Pos tedFile.Content Length.ToString ();
... -
I am new in programming and i didn't know that it will affect my program. I've also read that it is possible to split, but I don't know how to, please hep meLeave a comment:
-
SQL split
Hello Everybody,
Please help me on how to split data in SQL. I have varchar data which is vcProcess the value is 1,4,10,15. I want to split these data, so the output should be..
1
4
10
15
ThanksLeave a comment:
-
sql split
Hello everybody,
Please help me on how to split data..In my database I have varchar data(vcProcess) and the value is 1,4,10,15
How can I split these data, so the output will be
1
4
10
15
Thanks
No activity results to display
Show More
Leave a comment: