|
Thanks!
Just one Q: what do you mean by "Maintain the session"??
|
|
|
|
|
As said, you want to dispaly the page one by one on each refres so how come to know which one was last displayed.
Parwej Ahamad
|
|
|
|
|
Hi, I have 3 .resx file, its using for language. For PrecompiledWeb;
I convert "Resource.en.resx" to "Resource.en.resources" using with ResGen.exe.
I convert "Resource.en.resources" to "App_GlobalResources.resources.dll" using with al.exe.
I do this operation for turkish and russian languages. So I have 3 App_GlobalResources.resources.dll for each language.
I paste this dll file in relevant directory. For example; ....\bin\en-US
But I browse the web site it's not work. May be I merge this file using with aspnet_merge.exe and I get App_GlobalResources.dll but how I don't know.
How do solve my problem?
Not: I check "Allow this precompiled site to be updatable" when publish web site.
Best Regards...
modified on Thursday, April 23, 2009 12:19 PM
|
|
|
|
|
My datalist has two textboxes, one dropdown and one checkbox. There is also a button "Add" on the page. Every time the "Add" button is clicked, a new row should be added to the datalist, with all the controls on the row.
Kindly help.
Thanks in advance, for the solution.
|
|
|
|
|
You have to use templates. One of the templates is named new item or something like that.
|
|
|
|
|
Is your datalist bound to a list? if so, just add an item to the list and rebind, it should add a new item to the datalist
Alexei Rodriguez
|
|
|
|
|
Hi,
I need help.
How can I get binary data from flash and save image?
I don't know byte variable binding streaming data.
byte[] flashdata = getByte(); <<< ??
string filename = Guid.NewGuid().ToString();
FileStream s = new FileStream("C:\\" + filename + ".jpg", FileMode.CreateNew);
BinaryWriter b = new BinaryWriter(s);
b.Write(flashdata);
b.Close();
s.Close();
Can you help me?
|
|
|
|
|
try using
byte[] b = System.IO.File.ReadAllBytes(fileLocation);
System.IO.File.WriteAllBytes(fileLocation, binaryArray);
I didn't get any requirements for the signature
|
|
|
|
|
I started to use c# recently.
I'm not very competant for c#.
Can you please try for me.
a.htm is flash file. It sends binary data(jpg file) to default.aspx
and .aspx file saves it as jpg from captured data.
Link to my files is as follows.
Please download and try http://www.altcizgiyazilim.com/temp/creatjpg.rar[^]
Thank you in advance.
|
|
|
|
|
I'm not really sure how flash works, sorry.
I didn't get any requirements for the signature
|
|
|
|
|
Good Afternoon All
I have a Gridview that looks like this
http://www.vuyiswamaseko.tiyaneproperties.co.za/images/Problem_Grid.JPG[^]
As you can see in the Description Field there are Duplicates but with Different Cycle Template Field. I want my grid to look like this
DESCR |CYCLE TEMPLATE
-------------------------------
Campbell Nancy |"6 10" |
-------------------------------
Salhab W MR |"9" |
-------------------------------
If it Finds a Duplicate it must Add the Cyle Template and Diplay it as a String and if there is no Duplicate , it must be Left with that String like Salhab W MR is "9"
Thank you
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
I do not know if the way I am telling is a correct way. But I solved this problem for me like this.
1) Fetch the data from the database into datatable.
2) Create another datatable and add new row to it.
3) Get the "Description" Column and add it as a column to the new table. Get the corresponsing Cycle Template solumn and add to table.
4) Loop throught the table with table.Select() to get all the rows having same description.
5) For each such row, get the cycle template and add it to the same column (Cycle Template which you added previously)
In short, create a dynamic table this way and bind it to grid.
Thanks,
Nyoti
|
|
|
|
|
Can you please Give me an T-SQl example ?
Thank you
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
With T-SQL you will return an input from select query, which will look something like this.
Description Cost Template
description1 9
description2 10
description1 29
description3 8
description3 4
Get this into a datatable. You can do it either using adaptor.Fill (Dataset)
and then dataset.Tables[0]
Let me know if I understood your question correctly.
Thanks.
|
|
|
|
|
I wanted to do this in one side , if it can be done in SQl, then The SP should return a Complete data that does not need any manipulation from the C# side, if this can be done from C# side , then the Data can come in Duplicate manner and can be manupilated from C# side only.
Thank you,
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
I think manipulation on C# side is better than looping at the stored procedure level. (Writing cursur,fetching the data and manipulate eaither into a string or temp table is I think expensive)
Thanks,
Nyoti
|
|
|
|
|
I can post the code may be by EOD today for this.
Thanks,
Nyoti
|
|
|
|
|
Thanks
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
can any one guide me how can i getrid of this problem??
using following code..
on button click
Frame userControl = (Frame)Page.LoadControl("~/Frame.ascx");
userControl.ID = "myframe";
userControl.SetSource = TextBox1.Text; --->set the usercontrol iframe src attributes property
WebPart mywebpart = WebPartManager2.CreateWebPart(userControl);
WebPartManager2.AddWebPart(mywebpart, WebPartZone3, 33); ---> when this function is called src property of usercontrol is lost
how can i stop losting it??
Government Dyal Singh College Lahore.
|
|
|
|
|
Hi, I want to ,
How to add a master page after the webpages are added to the Project?
|
|
|
|
|
Right click on the project -> Add new Item -> Select Master Page -> Click Add.
I'm guessing your problem is more how do you change each existing page to use the new master page? After adding the master page, go into each existing page and add MasterPageFile="~/Site1.Master" into the Page declaration at the top. After that, remove you , , tags etc from the page, add the relevant <asp:content xmlns:asp="#unknown"> tags and move the required code into each content area.
|
|
|
|
|
Thanx,
But when i did that, it again showed err, in the Line :
"f the page,
wat should i do?
|
|
|
|
|
What line errors are what is the exception?
|
|
|
|
|
Hello,
I have placed a table of 2 columns 5 rows and 4 dropdown lists and 2 textboxes in its columns. Out of these 4 dropdown lists, i have enabled autopostback property; but when i run the page and changes/select the options of this dropdown list; this control's postback do'nt fire immediately; it takes so many minutes and/or seems like hang the page. It is not on a specific item; sometime it works fast and sometime i select the items it again seems like hand / not postbacked.
Why this is like so; and how to resolve it.
Thanks & Regards
Girish Sharma
|
|
|
|
|
It may cause of very heavy viewstate text in your page. Check your page view source if yes then
google for "save viewstate in database"
Gaurav Kumar Singh
Consultant (Asp.net)
|
|
|
|