|
Well, it sounds like your code to remove the old filename is broken. You can remove it with string mashing, but you'd do better to fix the initial code.
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 )
|
|
|
|
|
hi !
I have one datalist control and there is itemtemplete of textbox. there is one check box on the form , when i click that checkbox that time all the textbox should be disable by javascript
|
|
|
|
|
use document.getElementById to find the textbox, then set it's disabled property to true.
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 )
|
|
|
|
|
thanx for sugestion but textbox is in datalist itemtemplet so how can i that texbox id ?
|
|
|
|
|
You'll have to handle the row data bound event, and get the Id and store it somewhere.
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 )
|
|
|
|
|
for this (format([StartDateTime],"hh mm ss") As StartTime) we get time in Ms Access but it not return AM/PM. what i do for AM/PM please help
Piyush Vardhan Singh
|
|
|
|
|
Piyush Vardhan Singh wrote: or this (format([StartDateTime],"hh mm ss") As StartTime) we get time in Ms Access but it not return AM/PM.
you willl get it by using "h:mm:ss tt"
bEst rEgard
pAthan
please don't forget to vote on the post that helped you.
|
|
|
|
|
thanks for reply it working in vb.net but its not working in MS access SqL query
Piyush Vardhan Singh
|
|
|
|
|
Piyush Vardhan Singh wrote: (format([StartDateTime],"hh mm ss") As StartTime
if you use HH mm ss it will return the time in 24hr format when u write it as h mm ss tt it will return in 12 hr format with AM/PM option
regards
sunilwise;);)
|
|
|
|
|
i want to retrieve the data from the database to treeview.if table contains the colums name ,id, sal .then the treeview should contain tha child nodes as name ,id,sal.
|
|
|
|
|
Hi,
u can try this
foreach(DataRow dr in ds.Tables[0].Rows)<br />
{<br />
TreeNode tn = new TreeNode();<br />
tn.Text = dr["name"].ToString();<br />
dataTRV.Nodes.Add(tn);<br />
TreeNode ctn = new TreeNode();<br />
ctn.Text = dr["id"].ToString();<br />
tn.ChildNodes.Add(ctn);<br />
TreeNode ctn1 = new TreeNode();<br />
ctn1.Text = dr["sal"].ToString();<br />
ctn.ChildNodes.Add(ctn1);<br />
}
Thanks,
Sun Rays
|
|
|
|
|
i want to dispaly the contents of xml in iframes without the tags <titie></title> etc....
|
|
|
|
|
Why are you still asking this, what's wrong with the advice you were given before ?
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 )
|
|
|
|
|
Hi "Sherin" please delete your post or modify.
I thing you used table structure in your post thats why the code project is changed. or just check the check box for "Ignore HTML tags in this message (good for code snippets)"
|
|
|
|
|
Pl delete that mess..
Thanks,
Sun Rays
|
|
|
|
|
Imran Khan Pathan wrote: Hi "Sherin" please delete your post or modify.
His signature is making problem. It crashed entire forum,
|
|
|
|
|
hi friends i want to generate bar code using asp.net please tell how to generate
thanks and reg
nanthakumar
|
|
|
|
|
Hi. You will find solutions here.
http://www.codeproject.com/cs/webservices/wsbarcode.asp
Bye.
Thanks
|
|
|
|
|
very very thanks....
reg
nantha
|
|
|
|
|
hi friend i am using Now.ToString("yyyy/MM/dd,hh:mm:ss:ms") For date time in millisecond. now i want to add am,pm in string.then what i add in this string( "yyyy/MM/dd,hh:mm:ss:ms") for am,pm
Piyush Vardhan Singh
|
|
|
|
|
hi
i had got crystal report i want to add frameset to this can anybody guide me in this
Regards
padma
padma
|
|
|
|
|
why code project changed....
thx in advance....
yogesh
|
|
|
|
|
even i also don't know why it is change . plz to clarify by chris.
Devjit Das.
|
|
|
|
|
Please help me.....
I have a Gridview. I have to set column width at runtime in the codebehind. I am using C#.
I had a plan to set width in RowDataBound(). But I don't know how to implement this....
Pls help me... urgent
Sunil Nair
|
|
|
|
|
Hi,
u can set width at any stage. In page load also when binding grid.
gvRaised.Columns[2].ItemStyle.Width = 200;
Thanks,
Sun Rays
|
|
|
|