|
Hi,
U can refresh your page using meta element between head element like
Santosh Kumar
|
|
|
|
|
hi all
iam having an aspx page in which iam having an image at the top(starting of the page).that is the small image(like the code project text and image in the top of this page) which i dont want to get enlarged when i increase the width.can anyone tell me how to make the image into fixed size without gets altered when width or height is increased.
pintoo
|
|
|
|
|
chithra.r wrote: which i dont want to get enlarged when i increase the width.
Which controls width you are increasing ?
|
|
|
|
|
You should set the width and height of image control or img explicitly.
|
|
|
|
|
hello
i have one problem
i have code --
objClsDllSql.sqlCon.Open();
objVarInit.sqlDA = new SqlDataAdapter("select tU.UserID,tU.FirstName,tU.LastName,tU.LastName+''+ tU.FirstName'UserId',tA.AnalystAssignHistoryCode,tA.SecurityCode,tA.ISIN,tA.StockName,tA.UserID,tA.IsDummyEnabled,convert(varchar(10),getdate(), 101)AnalystAssignDate,tA.StatusCode,tA.CreatedBy,convert(varchar(10),getdate(), 101)CreateDate,tA.UpdatedBy,convert(varchar(10),getdate(), 101)UpdateDate from tAnalystAssignHistory tA, tUser tU where tA.UserId = tU.UserId and tA.SecurityCode = ('" + txtSecurityCode.Text + "')", objClsDllSql.sqlCon);
objVarInit.sqlDA.Fill(objVarInit.sqlDS, "tAnalystAssignHistory");
in this code objVarInit.sqlDA = query . i.e in my project in one line.
but its not looking good and not comfort. so i want that query in multi line . then what syntax i will use
pls help me.
gayatri
Gayatri
|
|
|
|
|
why you r not rely me.
Gayatri
|
|
|
|
|
niki_nilu wrote: why you r not rely me.
Because we don't understand what you are asking. Take a look at my reply.[^]
|
|
|
|
|
niki_nilu wrote: why you r not rely me.
Because no one understands what you are saying. Also, give people time to reply.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
niki_nilu wrote: objVarInit.sqlDA = query
query is the variable? or the query string that you put in SqlDataAdapter? then, you can use StringBuilder to append the string.
|
|
|
|
|
hello
i am using asp.net with c#.
objVarInit.sqlDA = new SqlDataAdapter("select tU.UserID,tU.FirstName,tU.LastName,tU.LastName+''+ tU.FirstName'UserId',tA.AnalystAssignHistoryCode,tA.SecurityCode,tA.ISIN,tA.StockName,tA.UserID,tA.IsDummyEnabled,convert(varchar(10),getdate(), 101)AnalystAssignDate,tA.StatusCode,tA.CreatedBy,convert(varchar(10),getdate(), 101)CreateDate,tA.UpdatedBy,convert(varchar(10),getdate(), 101)UpdateDate from tAnalystAssignHistory tA, tUser tU where tA.UserId = tU.UserId and tA.SecurityCode = ('" + txtSecurityCode.Text + "')", objClsDllSql.sqlCon);
In my project above code having in one line.
But i want above code in multiline, for comfortable otherwise i want to move horizontal scroll bar.
if i enter after some code then error.
so i want how to join multiline code.
Gayatri
|
|
|
|
|
|
pls give me one line example.
because i used it last of line. but error is comming.
Gayatri
|
|
|
|
|
StringBuilder sBdr = new StringBuilder();<br />
sBdr.Append("SELECT ");<br />
sBdr.Append("FieldName1, FieldName2 ");<br />
sBdr.Append("FROM YourTable");<br />
<br />
|
|
|
|
|
in my project i have long line.
i want to divide it in multiple line.
then which syntax will use.
i hope you will send me a write syntax.
thanks
Gayatri
|
|
|
|
|
Hi,
I need to display a image in grid view. the image will vary for every record (i.e) if the data in the row is of less priority then the image will be in red color and if it is in high priority, then of some other color. and Probably the image will be stored in the database
Can somebody suggest some mechanism for this.
Thanks in advance
|
|
|
|
|
Hi,
in the dataRowBound event of gridview you can write code for the same.
You have to add one column in that you can bind data for priority,
then in another column add template field and add image in that,now in dataRowBound event check for priority column and accordingly bind image.
Hope it will help you.
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
|
Thanks for all your reply..
I have a dropdownlist and i select one value and saves it in database and bind it into a grid..If i select the grid row i want to dispaly the saved dropdownlist data in the dropdown that it is been selected.how is it possible..Plz help me sending the code for rebind the grid data into dropdown..
|
|
|
|
|
Hi,
All what u have to do is, on RowDataBound, u must search for the dropdown box on that row and then make the database value as selected value for that drop down. this is the only solution
Hello Forum
Always be in touch to help about the topic ASP.NET
|
|
|
|
|
Hi,
I want to convert a particular integer value into indian currency format.
I am using this particular code, but it is resulting in dollars. I want the output in rupees format.
int price = String.Format("{0:C}",1234567);
Thank you
|
|
|
|
|
I think you should set the culture as hindi (or your culture) before calling this line.
|
|
|
|
|
But Hindi or india is not available in regional settings
Any code from aspx page to do that.?
|
|
|
|
|
|
Before I get into SIlverlight, I could use getting ASP.NET up and running.
I am trying to write my very first ASP.NET program.
I wrote a simple "Hello World" program and when I clicked on the button to run the code I got
[IMG]http://i67.photobucket.com/albums/h292/Athono/debugenabled.png[/IMG]
But I figured that would be ok. I selected to "Add New Web.config file" and I clicked OK.
But then I got this error message:
[IMG]http://i67.photobucket.com/albums/h292/Athono/debugenabled2.png[/IMG]
Can anyone offer any suggestions?
|
|
|
|
|
Maybe the IIS is not set up to run asp.net ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|